Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.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/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-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(IBPSA.Utilities.Math.Examples.PowerLinearized,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.Math.Examples.PowerLinearized") translateModel(IBPSA.Utilities.Math.Examples.PowerLinearized,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.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.00105/0.00105, allocations: 102.7 kB / 16.26 MB, free: 5.934 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.001113/0.001112, allocations: 189.9 kB / 17.2 MB, free: 5.574 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.41/1.41, allocations: 222.9 MB / 240.9 MB, free: 15.25 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.8683/0.8683, allocations: 122.9 MB / 413.9 MB, free: 15.78 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002009/0.002009, allocations: 59.91 kB / 0.4911 GB, free: 7.414 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.419/0.421, allocations: 77.92 MB / 0.5672 GB, free: 32.7 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Examples.PowerLinearized): time 0.002736/0.4238, allocations: 1.43 MB / 0.5686 GB, free: 31.71 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002855/0.4241, allocations: 85.72 kB / 0.5687 GB, free: 31.65 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.998e-05/0.4242, allocations: 1.062 kB / 0.5687 GB, free: 31.65 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 3.031e-05/0.4242, allocations: 5.109 kB / 0.5687 GB, free: 31.65 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 4.597e-05/0.4243, allocations: 6.031 kB / 0.5687 GB, free: 31.64 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002607/0.4245, allocations: 15.19 kB / 0.5687 GB, free: 31.64 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 8.823e-05/0.4246, allocations: 33.05 kB / 0.5687 GB, free: 31.62 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001252/0.4248, allocations: 5.562 kB / 0.5687 GB, free: 31.62 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.283e-05/0.4248, allocations: 8.344 kB / 0.5687 GB, free: 31.62 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.62e-05/0.4249, allocations: 18.72 kB / 0.5688 GB, free: 31.61 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 2.432e-05/0.4249, allocations: 2.281 kB / 0.5688 GB, free: 31.61 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.924e-05/0.425, allocations: 17.52 kB / 0.5688 GB, free: 31.6 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 1.644e-05/0.425, allocations: 3.406 kB / 0.5688 GB, free: 31.6 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 2.796e-05/0.425, allocations: 10.16 kB / 0.5688 GB, free: 31.59 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001351/0.4252, allocations: 30.73 kB / 0.5688 GB, free: 31.58 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.867e-06/0.4252, allocations: 2.188 kB / 0.5688 GB, free: 31.58 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.122e-06/0.4252, allocations: 1.125 kB / 0.5688 GB, free: 31.58 MB / 446.1 MB Notification: Performance of Transformations before backend: time 7.344e-06/0.4252, allocations: 0 / 0.5688 GB, free: 31.58 MB / 446.1 MB 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.0004185/0.4256, allocations: 345.1 kB / 0.5692 GB, free: 31.22 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.841e-05/0.4257, allocations: 11.66 kB / 0.5692 GB, free: 31.22 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001777/0.4259, allocations: 12.19 kB / 0.5692 GB, free: 31.22 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001032/0.426, allocations: 175.6 kB / 0.5693 GB, free: 31.01 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.405e-05/0.426, allocations: 3.781 kB / 0.5693 GB, free: 31.01 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.296e-05/0.426, allocations: 6.359 kB / 0.5693 GB, free: 31.01 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002071/0.4262, allocations: 60 kB / 0.5694 GB, free: 30.97 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.714e-06/0.4263, allocations: 192 / 0.5694 GB, free: 30.97 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.281e-05/0.4263, allocations: 5.031 kB / 0.5694 GB, free: 30.96 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.891e-06/0.4263, allocations: 0.5625 kB / 0.5694 GB, free: 30.96 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002223/0.4265, allocations: 54.03 kB / 0.5695 GB, free: 30.95 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003601/0.4269, allocations: 266.3 kB / 0.5697 GB, free: 30.67 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001785/0.4271, allocations: 53.55 kB / 0.5698 GB, free: 30.64 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001135/0.4272, allocations: 30.98 kB / 0.5698 GB, free: 30.63 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.835e-05/0.4272, allocations: 0 / 0.5698 GB, free: 30.63 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.467e-05/0.4273, allocations: 37.58 kB / 0.5698 GB, free: 30.59 MB / 446.1 MB Notification: Performance of pre-optimization done (n=2): time 1.082e-06/0.4273, allocations: 0 / 0.5698 GB, free: 30.59 MB / 446.1 MB Notification: Performance of matching and sorting (n=2): time 0.0004292/0.4277, allocations: 102.3 kB / 0.5699 GB, free: 30.54 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.264e-05/0.4277, allocations: 54.06 kB / 0.57 GB, free: 30.48 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.442e-05/0.4278, allocations: 108 kB / 0.5701 GB, free: 30.38 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.211e-05/0.4278, allocations: 30.52 kB / 0.5701 GB, free: 30.34 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.534e-05/0.4279, allocations: 82.92 kB / 0.5702 GB, free: 30.26 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.72e-05/0.4279, allocations: 4.969 kB / 0.5702 GB, free: 30.25 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.105e-05/0.4279, allocations: 17.45 kB / 0.5702 GB, free: 30.23 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 5.276e-05/0.428, allocations: 315.3 kB / 0.5705 GB, free: 29.92 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00011/0.4281, allocations: 24.39 kB / 0.5705 GB, free: 29.92 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001013/0.4282, allocations: 24.98 kB / 0.5706 GB, free: 29.91 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001989/0.4284, allocations: 52.39 kB / 0.5706 GB, free: 29.9 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.483e-06/0.4284, allocations: 1.188 kB / 0.5706 GB, free: 29.9 MB / 446.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.000231/0.4287, allocations: 87.56 kB / 0.5707 GB, free: 29.85 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.439e-05/0.4287, allocations: 9.906 kB / 0.5707 GB, free: 29.85 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.389e-06/0.4287, allocations: 0 / 0.5707 GB, free: 29.85 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.245e-05/0.4287, allocations: 1.719 kB / 0.5707 GB, free: 29.85 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001074/0.4288, allocations: 11.31 kB / 0.5707 GB, free: 29.85 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.42e-06/0.4288, allocations: 1.031 kB / 0.5707 GB, free: 29.85 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.265e-05/0.4289, allocations: 12.11 kB / 0.5707 GB, free: 29.84 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.981e-06/0.4289, allocations: 2.938 kB / 0.5707 GB, free: 29.84 MB / 446.1 MB 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 4.958e-05/0.429, allocations: 111.9 kB / 0.5708 GB, free: 29.73 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.463e-05/0.429, allocations: 2.219 kB / 0.5708 GB, free: 29.73 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.835e-05/0.429, allocations: 5.562 kB / 0.5709 GB, free: 29.72 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.336e-06/0.429, allocations: 6.531 kB / 0.5709 GB, free: 29.72 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.817e-06/0.4291, allocations: 0 / 0.5709 GB, free: 29.72 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.594e-06/0.4291, allocations: 1.156 kB / 0.5709 GB, free: 29.72 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001363/0.4292, allocations: 170 kB / 0.571 GB, free: 29.52 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.72e-07/0.4292, allocations: 0 / 0.571 GB, free: 29.52 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.926e-05/0.4293, allocations: 12.05 kB / 0.571 GB, free: 29.52 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.573e-06/0.4293, allocations: 3.938 kB / 0.571 GB, free: 29.52 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.975e-06/0.4293, allocations: 2.25 kB / 0.571 GB, free: 29.52 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.002e-06/0.4293, allocations: 0 / 0.571 GB, free: 29.52 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.474e-06/0.4293, allocations: 1.516 kB / 0.571 GB, free: 29.52 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002614/0.4296, allocations: 184.3 kB / 0.5712 GB, free: 29.37 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.824e-05/0.4296, allocations: 82.83 kB / 0.5713 GB, free: 29.27 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.528e-05/0.4296, allocations: 1.766 kB / 0.5713 GB, free: 29.27 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.119e-05/0.4297, allocations: 7.844 kB / 0.5713 GB, free: 29.27 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.388e-05/0.4298, allocations: 4.312 kB / 0.5713 GB, free: 29.27 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.546e-06/0.4298, allocations: 1.094 kB / 0.5713 GB, free: 29.27 MB / 446.1 MB Notification: Performance of sorting global known variables: time 2.666e-05/0.4298, allocations: 90.5 kB / 0.5714 GB, free: 29.19 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.4298, allocations: 0 / 0.5714 GB, free: 29.19 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.000215/0.43, allocations: 4.969 kB / 0.5714 GB, free: 29.19 MB / 446.1 MB 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.099e-05/0.4301, allocations: 98.36 kB / 0.5715 GB, free: 29.1 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0002601/0.4304, allocations: 55.62 kB / 0.5715 GB, free: 29.09 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.843e-06/0.4304, allocations: 0.875 kB / 0.5715 GB, free: 29.09 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001124/0.4305, allocations: 26.28 kB / 0.5716 GB, free: 29.09 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000283/0.4308, allocations: 10.62 kB / 0.5716 GB, free: 29.08 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003386/0.4312, allocations: 122 kB / 0.5717 GB, free: 28.97 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001351/0.4313, allocations: 0.6774 MB / 0.5724 GB, free: 28.28 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 3.189e-05/0.4314, allocations: 6.094 kB / 0.5724 GB, free: 28.28 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.809e-05/0.4314, allocations: 8.688 kB / 0.5724 GB, free: 28.27 MB / 446.1 MB Notification: Performance of SimCode: time 2.4e-07/0.4314, allocations: 0 / 0.5724 GB, free: 28.27 MB / 446.1 MB Notification: Performance of Templates: time 0.002854/0.4343, allocations: 0.5654 MB / 0.5729 GB, free: 28.23 MB / 446.1 MB make -j1 -f IBPSA_latest_IBPSA.Utilities.Math.Examples.PowerLinearized.makefile (rm -f IBPSA_latest_IBPSA.Utilities.Math.Examples.PowerLinearized.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.Math.Examples.PowerLinearized.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.Math.Examples.PowerLinearized.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.Math.Examples.PowerLinearized.sim & ./IBPSA_latest_IBPSA.Utilities.Math.Examples.PowerLinearized -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Utilities.Math.Examples.PowerLinearized.pipe 2>&1)