Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.PowerLinearized.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(BuildingSystems.Utilities.Math.Functions.Examples.PowerLinearized,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.PowerLinearized") translateModel(BuildingSystems.Utilities.Math.Functions.Examples.PowerLinearized,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.PowerLinearized") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001747/0.001747, allocations: 109.1 kB / 16.41 MB, free: 6.465 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001939/0.001939, allocations: 189.2 kB / 17.34 MB, free: 5.711 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.4/1.4, allocations: 222.9 MB / 241.1 MB, free: 15.2 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002579/0.002579, allocations: 280.4 kB / 291.5 MB, free: 14.48 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.001/1.001, allocations: 169.3 MB / 0.499 GB, free: 4.418 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002687/0.002687, allocations: 103.8 kB / 0.6822 GB, free: 6.875 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4195/0.4222, allocations: 86.98 MB / 0.7671 GB, free: 3.852 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Functions.Examples.PowerLinearized): time 0.001607/0.4238, allocations: 0.5941 MB / 0.7677 GB, free: 3.262 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.0002921/0.4241, allocations: 83.73 kB / 0.7678 GB, free: 3.18 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.711e-05/0.4241, allocations: 0 / 0.7678 GB, free: 3.18 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 1.163e-05/0.4241, allocations: 0 / 0.7678 GB, free: 3.18 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 4.504e-05/0.4242, allocations: 0 / 0.7678 GB, free: 3.18 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002056/0.4244, allocations: 19.98 kB / 0.7678 GB, free: 3.16 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 5.106e-05/0.4244, allocations: 15.86 kB / 0.7678 GB, free: 3.145 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 3.955e-05/0.4245, allocations: 3.984 kB / 0.7678 GB, free: 3.141 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 1.922e-05/0.4245, allocations: 7.938 kB / 0.7678 GB, free: 3.133 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 6.506e-05/0.4246, allocations: 0 / 0.7678 GB, free: 3.133 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 1.068e-05/0.4246, allocations: 4 kB / 0.7678 GB, free: 3.129 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 5.897e-05/0.4246, allocations: 15.98 kB / 0.7678 GB, free: 3.113 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 1.077e-05/0.4246, allocations: 0 / 0.7678 GB, free: 3.113 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 2.544e-05/0.4247, allocations: 8 kB / 0.7678 GB, free: 3.105 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 8.504e-05/0.4247, allocations: 19.89 kB / 0.7678 GB, free: 3.086 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 3.596e-06/0.4247, allocations: 0 / 0.7678 GB, free: 3.086 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.162e-06/0.4247, allocations: 0 / 0.7678 GB, free: 3.086 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 4.458e-06/0.4248, allocations: 0 / 0.7678 GB, free: 3.086 MB / 0.5294 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.000364/0.4251, allocations: 319.4 kB / 0.7682 GB, free: 2.727 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.538e-05/0.4252, allocations: 8.031 kB / 0.7682 GB, free: 2.719 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001519/0.4253, allocations: 12.92 kB / 0.7682 GB, free: 2.707 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001166/0.4254, allocations: 164.4 kB / 0.7683 GB, free: 2.508 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.08e-05/0.4254, allocations: 8.375 kB / 0.7683 GB, free: 2.5 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.794e-06/0.4254, allocations: 384 / 0.7683 GB, free: 2.5 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001349/0.4256, allocations: 38.25 kB / 0.7684 GB, free: 2.457 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.784e-06/0.4256, allocations: 192 / 0.7684 GB, free: 2.457 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.096e-05/0.4256, allocations: 3.938 kB / 0.7684 GB, free: 2.453 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.119e-06/0.4256, allocations: 7.938 kB / 0.7684 GB, free: 2.445 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.913e-05/0.4257, allocations: 11.98 kB / 0.7684 GB, free: 2.434 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001774/0.4259, allocations: 157.2 kB / 0.7685 GB, free: 2.234 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001731/0.426, allocations: 38.62 kB / 0.7686 GB, free: 2.188 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.738e-05/0.4261, allocations: 16.84 kB / 0.7686 GB, free: 2.168 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 1.053e-05/0.4261, allocations: 0 / 0.7686 GB, free: 2.168 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.437e-05/0.4261, allocations: 34.56 kB / 0.7686 GB, free: 2.125 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=3): time 8.61e-07/0.4261, allocations: 0 / 0.7686 GB, free: 2.125 MB / 0.5294 GB Notification: Performance of matching and sorting (n=3): time 0.0002131/0.4263, allocations: 65.5 kB / 0.7687 GB, free: 2.055 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.716e-05/0.4264, allocations: 51.41 kB / 0.7687 GB, free: 1.992 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.662e-05/0.4264, allocations: 93.86 kB / 0.7688 GB, free: 1.891 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 1.59e-05/0.4264, allocations: 25.7 kB / 0.7689 GB, free: 1.859 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 3.316e-05/0.4265, allocations: 80.14 kB / 0.7689 GB, free: 1.777 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 3.258e-05/0.4265, allocations: 11.95 kB / 0.7689 GB, free: 1.766 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.18e-05/0.4265, allocations: 13.72 kB / 0.769 GB, free: 1.746 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001424/0.4267, allocations: 318.8 kB / 0.7693 GB, free: 1.426 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.95e-05/0.4267, allocations: 4 kB / 0.7693 GB, free: 1.422 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.293e-05/0.4268, allocations: 11.92 kB / 0.7693 GB, free: 1.41 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.919e-05/0.4268, allocations: 20.8 kB / 0.7693 GB, free: 1.387 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.303e-06/0.4268, allocations: 0 / 0.7693 GB, free: 1.387 MB / 0.5294 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001216/0.427, allocations: 57.94 kB / 0.7694 GB, free: 1.324 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.177e-05/0.427, allocations: 4 kB / 0.7694 GB, free: 1.32 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.787e-06/0.427, allocations: 0 / 0.7694 GB, free: 1.32 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.641e-05/0.427, allocations: 7.938 kB / 0.7694 GB, free: 1.312 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000412/0.4274, allocations: 39.94 kB / 0.7694 GB, free: 1.273 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001442/0.4288, allocations: 1.408 MB / 0.7708 GB, free: 15.73 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.433e-05/0.4289, allocations: 8.031 kB / 0.7708 GB, free: 15.72 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.628e-06/0.4289, allocations: 0 / 0.7708 GB, free: 15.72 MB / 0.545 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (3): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 8.566e-05/0.429, allocations: 120.2 kB / 0.7709 GB, free: 15.6 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.158e-05/0.429, allocations: 8.094 kB / 0.7709 GB, free: 15.59 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.53e-05/0.429, allocations: 3.5 kB / 0.7709 GB, free: 15.58 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.223e-06/0.429, allocations: 0 / 0.7709 GB, free: 15.58 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.71e-07/0.429, allocations: 0 / 0.7709 GB, free: 15.58 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.344e-06/0.429, allocations: 0 / 0.7709 GB, free: 15.58 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001272/0.4291, allocations: 161.6 kB / 0.7711 GB, free: 15.37 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.996e-06/0.4291, allocations: 4 kB / 0.7711 GB, free: 15.37 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003995/0.4295, allocations: 47.94 kB / 0.7711 GB, free: 15.32 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.793e-06/0.4295, allocations: 0 / 0.7711 GB, free: 15.32 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.921e-06/0.4295, allocations: 0 / 0.7711 GB, free: 15.32 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00132/0.4309, allocations: 1.404 MB / 0.7725 GB, free: 13.78 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.91e-07/0.4309, allocations: 0 / 0.7725 GB, free: 13.78 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001353/0.431, allocations: 81.03 kB / 0.7726 GB, free: 13.68 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 4.468e-05/0.431, allocations: 77.16 kB / 0.7726 GB, free: 13.59 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.03e-05/0.431, allocations: 11.92 kB / 0.7727 GB, free: 13.58 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.707e-05/0.4311, allocations: 0 / 0.7727 GB, free: 13.58 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.652e-05/0.4311, allocations: 3.984 kB / 0.7727 GB, free: 13.57 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.693e-06/0.4311, allocations: 8.062 kB / 0.7727 GB, free: 13.57 MB / 0.545 GB Notification: Performance of sorting global known variables: time 4.068e-05/0.4311, allocations: 75.28 kB / 0.7727 GB, free: 13.49 MB / 0.545 GB Notification: Performance of sort global known variables: time 7e-08/0.4311, allocations: 0 / 0.7727 GB, free: 13.49 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0001988/0.4313, allocations: 8 kB / 0.7727 GB, free: 13.48 MB / 0.545 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (3): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001168/0.4315, allocations: 95.25 kB / 0.7728 GB, free: 13.38 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0004905/0.4319, allocations: 67.84 kB / 0.7729 GB, free: 13.31 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.963e-06/0.4319, allocations: 3.938 kB / 0.7729 GB, free: 13.31 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0002417/0.4322, allocations: 35.95 kB / 0.7729 GB, free: 13.27 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001269/0.4323, allocations: 2.5 kB / 0.7729 GB, free: 13.27 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002689/0.4326, allocations: 103.3 kB / 0.773 GB, free: 13.15 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002933/0.4329, allocations: 0.6729 MB / 0.7737 GB, free: 12.45 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 2.815e-05/0.4329, allocations: 7.938 kB / 0.7737 GB, free: 12.44 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.265e-05/0.4329, allocations: 7.438 kB / 0.7737 GB, free: 12.43 MB / 0.545 GB Notification: Performance of SimCode: time 3.11e-07/0.4329, allocations: 0 / 0.7737 GB, free: 12.43 MB / 0.545 GB Notification: Performance of Templates: time 0.00255/0.4355, allocations: 418.1 kB / 0.7741 GB, free: 12.03 MB / 0.545 GB make -j1 -f BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.PowerLinearized.makefile (rm -f BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.PowerLinearized.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.PowerLinearized.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.PowerLinearized.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.PowerLinearized.sim & ./BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.PowerLinearized -abortSlowSimulation -alarm=480 -s cvode -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.PowerLinearized.pipe 2>&1)