Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Math.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.Examples.PowerLinearized,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Examples.PowerLinearized") translateModel(BuildingSystems.Utilities.Math.Examples.PowerLinearized,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Examples.PowerLinearized") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001249/0.001249, allocations: 104.2 kB / 16.4 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.001201/0.001201, allocations: 192.2 kB / 17.34 MB, free: 5.719 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.271/1.271, allocations: 222.9 MB / 241 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.002038/0.002038, allocations: 287.5 kB / 291.5 MB, free: 14.46 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8862/0.8862, allocations: 169.3 MB / 0.499 GB, free: 4.43 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001658/0.001658, allocations: 95.84 kB / 0.6821 GB, free: 6.957 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3628/0.3645, allocations: 86.98 MB / 0.7671 GB, free: 3.91 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Examples.PowerLinearized): time 0.002383/0.3669, allocations: 1.426 MB / 0.7684 GB, free: 2.473 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.0002763/0.3672, allocations: 88.58 kB / 0.7685 GB, free: 2.383 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.313e-05/0.3673, allocations: 8 kB / 0.7685 GB, free: 2.375 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 2.407e-05/0.3673, allocations: 0 / 0.7685 GB, free: 2.375 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 3.616e-05/0.3673, allocations: 7.875 kB / 0.7685 GB, free: 2.367 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.00018/0.3675, allocations: 15.98 kB / 0.7686 GB, free: 2.352 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 6.994e-05/0.3676, allocations: 31.86 kB / 0.7686 GB, free: 2.32 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 8.917e-05/0.3677, allocations: 0 / 0.7686 GB, free: 2.32 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 4.133e-05/0.3677, allocations: 11.98 kB / 0.7686 GB, free: 2.309 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 3.915e-05/0.3678, allocations: 15.91 kB / 0.7686 GB, free: 2.293 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 1.444e-05/0.3678, allocations: 4 kB / 0.7686 GB, free: 2.289 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 5.988e-05/0.3679, allocations: 15.98 kB / 0.7686 GB, free: 2.273 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 1.349e-05/0.3679, allocations: 8 kB / 0.7686 GB, free: 2.266 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 2.786e-05/0.3679, allocations: 15.94 kB / 0.7687 GB, free: 2.25 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0001096/0.368, allocations: 31.83 kB / 0.7687 GB, free: 2.219 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 5.581e-06/0.368, allocations: 4 kB / 0.7687 GB, free: 2.215 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.343e-06/0.3681, allocations: 0 / 0.7687 GB, free: 2.215 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 4.609e-06/0.3681, allocations: 0 / 0.7687 GB, free: 2.215 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.0004152/0.3685, allocations: 343.1 kB / 0.769 GB, free: 1.832 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.316e-05/0.3685, allocations: 8.031 kB / 0.769 GB, free: 1.824 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001582/0.3687, allocations: 20.86 kB / 0.7691 GB, free: 1.805 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000112/0.3688, allocations: 172.3 kB / 0.7692 GB, free: 1.598 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.931e-05/0.3688, allocations: 384 / 0.7692 GB, free: 1.598 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.055e-06/0.3688, allocations: 384 / 0.7692 GB, free: 1.598 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001785/0.369, allocations: 58.22 kB / 0.7693 GB, free: 1.535 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.103e-06/0.369, allocations: 192 / 0.7693 GB, free: 1.535 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.04e-05/0.3691, allocations: 3.938 kB / 0.7693 GB, free: 1.531 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.917e-06/0.3691, allocations: 0 / 0.7693 GB, free: 1.531 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002125/0.3693, allocations: 55.89 kB / 0.7693 GB, free: 1.477 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003549/0.3696, allocations: 263.5 kB / 0.7696 GB, free: 1.172 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001666/0.3698, allocations: 58.48 kB / 0.7696 GB, free: 1.105 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001044/0.3699, allocations: 32.89 kB / 0.7697 GB, free: 1.07 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 1.274e-05/0.37, allocations: 0 / 0.7697 GB, free: 1.07 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.751e-05/0.37, allocations: 30.56 kB / 0.7697 GB, free: 1.031 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=2): time 7.91e-07/0.37, allocations: 0 / 0.7697 GB, free: 1.031 MB / 0.5294 GB Notification: Performance of matching and sorting (n=2): time 0.0003986/0.3704, allocations: 105.6 kB / 0.7698 GB, free: 0.9219 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.111e-05/0.3704, allocations: 55.53 kB / 0.7699 GB, free: 0.8555 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.83e-05/0.3705, allocations: 105.8 kB / 0.77 GB, free: 0.7422 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 1.293e-05/0.3705, allocations: 25.7 kB / 0.77 GB, free: 0.7109 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 4.107e-05/0.3706, allocations: 88.14 kB / 0.7701 GB, free: 0.6211 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 1.517e-05/0.3706, allocations: 3.906 kB / 0.7701 GB, free: 0.6172 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.074e-05/0.3706, allocations: 9.719 kB / 0.7701 GB, free: 0.6016 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.000114/0.3708, allocations: 318.8 kB / 0.7704 GB, free: 288 kB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001034/0.3709, allocations: 23.98 kB / 0.7704 GB, free: 264 kB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.011e-05/0.371, allocations: 23.97 kB / 0.7704 GB, free: 240 kB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001869/0.3712, allocations: 56.75 kB / 0.7705 GB, free: 180 kB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.713e-06/0.3712, allocations: 3.938 kB / 0.7705 GB, free: 176 kB / 0.5294 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002369/0.3714, allocations: 93.55 kB / 0.7706 GB, free: 76 kB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.268e-05/0.3714, allocations: 4 kB / 0.7706 GB, free: 72 kB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.221e-06/0.3714, allocations: 3.984 kB / 0.7706 GB, free: 68 kB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.199e-05/0.3715, allocations: 0 / 0.7706 GB, free: 68 kB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001017/0.3716, allocations: 11.98 kB / 0.7706 GB, free: 56 kB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.649e-06/0.3716, allocations: 0 / 0.7706 GB, free: 56 kB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.017e-05/0.3716, allocations: 7.984 kB / 0.7706 GB, free: 48 kB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.089e-06/0.3716, allocations: 4.031 kB / 0.7706 GB, free: 44 kB / 0.5294 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 (2): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.914e-05/0.3717, allocations: 113.8 kB / 0.7707 GB, free: 15.92 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.463e-05/0.3718, allocations: 7.938 kB / 0.7707 GB, free: 15.91 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.646e-05/0.3718, allocations: 7.531 kB / 0.7707 GB, free: 15.91 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.292e-06/0.3718, allocations: 0 / 0.7707 GB, free: 15.91 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.556e-06/0.3718, allocations: 0 / 0.7707 GB, free: 15.91 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.144e-06/0.3718, allocations: 0 / 0.7707 GB, free: 15.91 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001563/0.372, allocations: 165.6 kB / 0.7709 GB, free: 15.7 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.022e-06/0.372, allocations: 256 / 0.7709 GB, free: 15.7 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.924e-05/0.3721, allocations: 19.92 kB / 0.7709 GB, free: 15.68 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.915e-06/0.3721, allocations: 8 kB / 0.7709 GB, free: 15.67 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.306e-06/0.3721, allocations: 3.984 kB / 0.7709 GB, free: 15.66 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.12e-07/0.3721, allocations: 0 / 0.7709 GB, free: 15.66 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.11e-07/0.3721, allocations: 0 / 0.7709 GB, free: 15.66 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002724/0.3724, allocations: 175.5 kB / 0.7711 GB, free: 15.48 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 4.183e-05/0.3724, allocations: 81.02 kB / 0.7712 GB, free: 15.38 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.466e-05/0.3724, allocations: 3.984 kB / 0.7712 GB, free: 15.38 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.536e-05/0.3725, allocations: 4 kB / 0.7712 GB, free: 15.37 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.169e-05/0.3726, allocations: 7.984 kB / 0.7712 GB, free: 15.36 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.457e-06/0.3726, allocations: 0 / 0.7712 GB, free: 15.36 MB / 0.545 GB Notification: Performance of sorting global known variables: time 3.718e-05/0.3726, allocations: 83.28 kB / 0.7713 GB, free: 15.28 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3726, allocations: 0 / 0.7713 GB, free: 15.28 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002093/0.3728, allocations: 11.94 kB / 0.7713 GB, free: 15.27 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 (2): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 9.27e-05/0.3729, allocations: 99.28 kB / 0.7714 GB, free: 15.16 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0002497/0.3732, allocations: 55.88 kB / 0.7714 GB, free: 15.11 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.683e-06/0.3732, allocations: 0 / 0.7714 GB, free: 15.11 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0001038/0.3733, allocations: 23.98 kB / 0.7714 GB, free: 15.09 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002772/0.3736, allocations: 8.047 kB / 0.7714 GB, free: 15.08 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003437/0.3739, allocations: 162.4 kB / 0.7716 GB, free: 14.89 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002471/0.3742, allocations: 0.6768 MB / 0.7723 GB, free: 14.19 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.617e-05/0.3743, allocations: 7.438 kB / 0.7723 GB, free: 14.18 MB / 0.545 GB Notification: Performance of SimCode: time 2.6e-07/0.3743, allocations: 0 / 0.7723 GB, free: 14.18 MB / 0.545 GB Notification: Performance of Templates: time 0.001686/0.3759, allocations: 0.6398 MB / 0.7729 GB, free: 13.55 MB / 0.545 GB make -j1 -f BuildingSystems_BuildingSystems.Utilities.Math.Examples.PowerLinearized.makefile (rm -f BuildingSystems_BuildingSystems.Utilities.Math.Examples.PowerLinearized.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Math.Examples.PowerLinearized.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Math.Examples.PowerLinearized.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Math.Examples.PowerLinearized.sim & ./BuildingSystems_BuildingSystems.Utilities.Math.Examples.PowerLinearized -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Math.Examples.PowerLinearized.pipe 2>&1)