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.001217/0.001217, allocations: 115.8 kB / 16.42 MB, free: 6.488 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.001203/0.001203, allocations: 185.7 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.228/1.228, allocations: 222.9 MB / 241.1 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.00205/0.00205, allocations: 294 kB / 291.5 MB, free: 14.43 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8988/0.8988, allocations: 169.2 MB / 0.499 GB, free: 4.426 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001809/0.001809, allocations: 99.84 kB / 0.6822 GB, free: 6.895 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.36/0.3618, allocations: 86.98 MB / 0.7671 GB, free: 3.906 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Functions.Examples.PowerLinearized): time 0.001464/0.3633, allocations: 0.5933 MB / 0.7677 GB, free: 3.32 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.0002517/0.3635, allocations: 87.78 kB / 0.7678 GB, free: 3.234 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.522e-05/0.3636, allocations: 0 / 0.7678 GB, free: 3.234 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 1.285e-05/0.3636, allocations: 3.938 kB / 0.7678 GB, free: 3.23 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 3.916e-05/0.3636, allocations: 4 kB / 0.7678 GB, free: 3.227 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001769/0.3638, allocations: 11.98 kB / 0.7678 GB, free: 3.215 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 4.575e-05/0.3639, allocations: 11.98 kB / 0.7678 GB, free: 3.203 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 3.859e-05/0.3639, allocations: 3.938 kB / 0.7678 GB, free: 3.199 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 1.881e-05/0.3639, allocations: 7.938 kB / 0.7678 GB, free: 3.191 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 6.777e-05/0.364, allocations: 15.92 kB / 0.7678 GB, free: 3.176 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 1.089e-05/0.364, allocations: 0 / 0.7678 GB, free: 3.176 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 5.442e-05/0.3641, allocations: 11.98 kB / 0.7678 GB, free: 3.164 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 1.117e-05/0.3641, allocations: 4 kB / 0.7678 GB, free: 3.16 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 1.589e-05/0.3641, allocations: 0 / 0.7678 GB, free: 3.16 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 7.635e-05/0.3642, allocations: 15.92 kB / 0.7678 GB, free: 3.145 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 5.179e-06/0.3642, allocations: 3.984 kB / 0.7679 GB, free: 3.141 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.262e-06/0.3642, allocations: 0 / 0.7679 GB, free: 3.141 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 4.648e-06/0.3642, allocations: 4 kB / 0.7679 GB, free: 3.137 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.0003093/0.3645, allocations: 315.6 kB / 0.7682 GB, free: 2.777 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.36e-05/0.3646, allocations: 12.03 kB / 0.7682 GB, free: 2.766 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001404/0.3647, allocations: 8.922 kB / 0.7682 GB, free: 2.758 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.711e-05/0.3648, allocations: 172 kB / 0.7683 GB, free: 2.555 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.634e-05/0.3648, allocations: 384 / 0.7683 GB, free: 2.555 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.167e-06/0.3649, allocations: 384 / 0.7683 GB, free: 2.555 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001101/0.365, allocations: 34.25 kB / 0.7684 GB, free: 2.516 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.004e-06/0.365, allocations: 192 / 0.7684 GB, free: 2.516 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.12e-05/0.365, allocations: 15.92 kB / 0.7684 GB, free: 2.5 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.888e-06/0.365, allocations: 0 / 0.7684 GB, free: 2.5 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.859e-05/0.3651, allocations: 23.92 kB / 0.7684 GB, free: 2.477 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001315/0.3652, allocations: 149.7 kB / 0.7686 GB, free: 2.281 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000149/0.3654, allocations: 38.56 kB / 0.7686 GB, free: 2.234 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.309e-05/0.3654, allocations: 16.91 kB / 0.7686 GB, free: 2.215 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 1.466e-05/0.3655, allocations: 4 kB / 0.7686 GB, free: 2.211 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.96e-05/0.3655, allocations: 30.56 kB / 0.7686 GB, free: 2.172 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=3): time 1.062e-06/0.3655, allocations: 0 / 0.7686 GB, free: 2.172 MB / 0.5294 GB Notification: Performance of matching and sorting (n=3): time 0.0001916/0.3657, allocations: 61.55 kB / 0.7687 GB, free: 2.105 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.444e-05/0.3657, allocations: 55.41 kB / 0.7688 GB, free: 2.039 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.986e-05/0.3658, allocations: 89.86 kB / 0.7688 GB, free: 1.941 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 1.267e-05/0.3658, allocations: 25.7 kB / 0.7689 GB, free: 1.91 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 2.822e-05/0.3658, allocations: 84.12 kB / 0.7689 GB, free: 1.824 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 2.551e-05/0.3658, allocations: 15.81 kB / 0.769 GB, free: 1.809 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.853e-05/0.3659, allocations: 13.72 kB / 0.769 GB, free: 1.789 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 9.241e-05/0.366, allocations: 318.8 kB / 0.7693 GB, free: 1.469 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.692e-05/0.366, allocations: 4 kB / 0.7693 GB, free: 1.465 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.139e-05/0.366, allocations: 7.984 kB / 0.7693 GB, free: 1.457 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.293e-05/0.3661, allocations: 20.8 kB / 0.7693 GB, free: 1.434 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.473e-06/0.3661, allocations: 0 / 0.7693 GB, free: 1.434 MB / 0.5294 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001114/0.3662, allocations: 57.61 kB / 0.7694 GB, free: 1.371 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.164e-05/0.3663, allocations: 11.94 kB / 0.7694 GB, free: 1.359 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.587e-06/0.3663, allocations: 0 / 0.7694 GB, free: 1.359 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.139e-05/0.3663, allocations: 3.938 kB / 0.7694 GB, free: 1.355 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003707/0.3667, allocations: 39.94 kB / 0.7694 GB, free: 1.316 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001185/0.3679, allocations: 1.405 MB / 0.7708 GB, free: 15.78 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.617e-05/0.3679, allocations: 0 / 0.7708 GB, free: 15.78 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.358e-06/0.3679, allocations: 0 / 0.7708 GB, free: 15.78 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 7.422e-05/0.368, allocations: 125.9 kB / 0.7709 GB, free: 15.64 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.622e-05/0.368, allocations: 7.969 kB / 0.7709 GB, free: 15.64 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.333e-05/0.368, allocations: 3.5 kB / 0.7709 GB, free: 15.62 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.843e-06/0.368, allocations: 0 / 0.7709 GB, free: 15.62 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.32e-07/0.368, allocations: 0 / 0.7709 GB, free: 15.62 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 2.647e-05/0.3681, allocations: 77.11 kB / 0.771 GB, free: 15.53 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.186e-06/0.3681, allocations: 4 kB / 0.771 GB, free: 15.53 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.139e-05/0.3681, allocations: 7.938 kB / 0.771 GB, free: 15.52 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.571e-05/0.3681, allocations: 3.984 kB / 0.771 GB, free: 15.52 MB / 0.545 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0004836/0.3686, allocations: 177.7 kB / 0.7712 GB, free: 15.33 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0001914/0.3688, allocations: 226.8 kB / 0.7714 GB, free: 15.09 MB / 0.545 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 4.095e-05/0.3689, allocations: 8.016 kB / 0.7714 GB, free: 15.09 MB / 0.545 GB Notification: Performance of sorting global known variables: time 3.081e-05/0.3689, allocations: 79.28 kB / 0.7715 GB, free: 15.01 MB / 0.545 GB Notification: Performance of Backend: time 2.11e-07/0.3689, allocations: 0 / 0.7715 GB, free: 15.01 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0006893/0.3696, allocations: 142.2 kB / 0.7716 GB, free: 14.86 MB / 0.545 GB Notification: Performance of SimCode: time 0.0003612/0.37, allocations: 0.5373 MB / 0.7721 GB, free: 14.27 MB / 0.545 GB Notification: Performance of Templates: time 0.002376/0.3724, allocations: 0.6345 MB / 0.7728 GB, free: 13.64 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)