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.001048/0.001048, allocations: 115.3 kB / 16.42 MB, free: 6.496 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.001077/0.001077, allocations: 186.6 kB / 17.35 MB, free: 5.762 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.25/1.25, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002049/0.002049, allocations: 287.4 kB / 291.5 MB, free: 14.49 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8891/0.8891, allocations: 169.2 MB / 0.499 GB, free: 4.453 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001713/0.001713, allocations: 91.86 kB / 0.6821 GB, free: 6.922 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3522/0.3539, allocations: 86.99 MB / 0.7671 GB, free: 4.043 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Functions.Examples.PowerLinearized): time 0.001472/0.3554, allocations: 0.5825 MB / 0.7677 GB, free: 3.465 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.0002544/0.3557, allocations: 91.72 kB / 0.7678 GB, free: 3.375 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.624e-05/0.3557, allocations: 0 / 0.7678 GB, free: 3.375 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 1.057e-05/0.3557, allocations: 0 / 0.7678 GB, free: 3.375 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 4.04e-05/0.3558, allocations: 3.938 kB / 0.7678 GB, free: 3.371 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001788/0.3559, allocations: 19.98 kB / 0.7678 GB, free: 3.352 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 4.537e-05/0.356, allocations: 11.98 kB / 0.7678 GB, free: 3.34 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 3.38e-05/0.356, allocations: 0 / 0.7678 GB, free: 3.34 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 1.738e-05/0.3561, allocations: 7.938 kB / 0.7678 GB, free: 3.332 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 5.723e-05/0.3561, allocations: 7.922 kB / 0.7678 GB, free: 3.324 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 1.037e-05/0.3561, allocations: 0 / 0.7678 GB, free: 3.324 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 5.327e-05/0.3562, allocations: 15.98 kB / 0.7678 GB, free: 3.309 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 1.055e-05/0.3562, allocations: 0 / 0.7678 GB, free: 3.309 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 1.75e-05/0.3562, allocations: 4 kB / 0.7678 GB, free: 3.305 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 7.2e-05/0.3563, allocations: 19.91 kB / 0.7678 GB, free: 3.285 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 4.398e-06/0.3563, allocations: 4 kB / 0.7678 GB, free: 3.281 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.503e-06/0.3563, allocations: 3.938 kB / 0.7678 GB, free: 3.277 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 7.204e-06/0.3563, allocations: 0 / 0.7678 GB, free: 3.277 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.0002995/0.3566, allocations: 323.6 kB / 0.7682 GB, free: 2.91 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.602e-05/0.3567, allocations: 8.031 kB / 0.7682 GB, free: 2.902 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001449/0.3568, allocations: 8.922 kB / 0.7682 GB, free: 2.895 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.48e-05/0.3569, allocations: 164.2 kB / 0.7683 GB, free: 2.699 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.613e-05/0.3569, allocations: 384 / 0.7683 GB, free: 2.699 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.294e-06/0.357, allocations: 4.375 kB / 0.7683 GB, free: 2.695 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000112/0.3571, allocations: 38.25 kB / 0.7684 GB, free: 2.652 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.813e-06/0.3571, allocations: 192 / 0.7684 GB, free: 2.652 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.323e-05/0.3571, allocations: 15.92 kB / 0.7684 GB, free: 2.637 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.416e-06/0.3571, allocations: 0 / 0.7684 GB, free: 2.637 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.628e-05/0.3572, allocations: 11.98 kB / 0.7684 GB, free: 2.625 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000139/0.3573, allocations: 153.6 kB / 0.7685 GB, free: 2.426 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001506/0.3575, allocations: 46.66 kB / 0.7686 GB, free: 2.371 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.266e-05/0.3575, allocations: 12.86 kB / 0.7686 GB, free: 2.355 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 1.439e-05/0.3576, allocations: 0 / 0.7686 GB, free: 2.355 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.948e-05/0.3576, allocations: 30.56 kB / 0.7686 GB, free: 2.316 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=3): time 8.52e-07/0.3576, allocations: 0 / 0.7686 GB, free: 2.316 MB / 0.5294 GB Notification: Performance of matching and sorting (n=3): time 0.0001929/0.3578, allocations: 61.55 kB / 0.7687 GB, free: 2.25 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.081e-05/0.3578, allocations: 55.41 kB / 0.7687 GB, free: 2.184 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.929e-05/0.3579, allocations: 89.86 kB / 0.7688 GB, free: 2.086 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 1.111e-05/0.3579, allocations: 25.7 kB / 0.7689 GB, free: 2.055 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 2.944e-05/0.3579, allocations: 84.14 kB / 0.7689 GB, free: 1.969 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 2.873e-05/0.3579, allocations: 15.8 kB / 0.7689 GB, free: 1.953 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.775e-05/0.358, allocations: 13.72 kB / 0.769 GB, free: 1.934 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 9.312e-05/0.3581, allocations: 314.8 kB / 0.7693 GB, free: 1.617 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.833e-05/0.3581, allocations: 11.92 kB / 0.7693 GB, free: 1.605 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.844e-05/0.3582, allocations: 8 kB / 0.7693 GB, free: 1.598 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.195e-05/0.3582, allocations: 20.84 kB / 0.7693 GB, free: 1.574 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.443e-06/0.3582, allocations: 0 / 0.7693 GB, free: 1.574 MB / 0.5294 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001037/0.3584, allocations: 49.62 kB / 0.7693 GB, free: 1.52 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.087e-05/0.3584, allocations: 4 kB / 0.7694 GB, free: 1.516 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.859e-06/0.3584, allocations: 4 kB / 0.7694 GB, free: 1.512 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.025e-05/0.3584, allocations: 12.19 kB / 0.7694 GB, free: 1.5 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003658/0.3588, allocations: 43.94 kB / 0.7694 GB, free: 1.457 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001164/0.3599, allocations: 1.4 MB / 0.7708 GB, free: 15.92 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.871e-05/0.36, allocations: 8.094 kB / 0.7708 GB, free: 15.91 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.178e-06/0.36, allocations: 0 / 0.7708 GB, free: 15.91 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 6.857e-05/0.3601, allocations: 121 kB / 0.7709 GB, free: 15.79 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.929e-06/0.3601, allocations: 4 kB / 0.7709 GB, free: 15.79 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.302e-05/0.3601, allocations: 3.5 kB / 0.7709 GB, free: 15.77 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.843e-06/0.3601, allocations: 0 / 0.7709 GB, free: 15.77 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.02e-07/0.3601, allocations: 0 / 0.7709 GB, free: 15.77 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 2.607e-05/0.3601, allocations: 81.09 kB / 0.771 GB, free: 15.68 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.041e-06/0.3602, allocations: 4 kB / 0.771 GB, free: 15.67 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.317e-05/0.3602, allocations: 11.94 kB / 0.771 GB, free: 15.66 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.114e-05/0.3602, allocations: 0 / 0.771 GB, free: 15.66 MB / 0.545 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0004738/0.3607, allocations: 173.8 kB / 0.7712 GB, free: 15.48 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0001871/0.3609, allocations: 230.7 kB / 0.7714 GB, free: 15.24 MB / 0.545 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 3.854e-05/0.3609, allocations: 8.031 kB / 0.7714 GB, free: 15.23 MB / 0.545 GB Notification: Performance of sorting global known variables: time 2.027e-05/0.361, allocations: 75.28 kB / 0.7715 GB, free: 15.16 MB / 0.545 GB Notification: Performance of Backend: time 1.71e-07/0.361, allocations: 0 / 0.7715 GB, free: 15.16 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0006991/0.3617, allocations: 146.2 kB / 0.7716 GB, free: 15 MB / 0.545 GB Notification: Performance of SimCode: time 0.0003432/0.362, allocations: 0.5438 MB / 0.7721 GB, free: 14.41 MB / 0.545 GB Notification: Performance of Templates: time 0.002392/0.3644, allocations: 0.6425 MB / 0.7728 GB, free: 13.77 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 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.PowerLinearized.pipe 2>&1)