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.001233/0.001233, allocations: 101 kB / 15.98 MB, free: 6.336 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.001233/0.001233, allocations: 197.2 kB / 16.91 MB, free: 6.184 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.426/1.426, allocations: 222.9 MB / 240.6 MB, free: 13.68 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7703/0.7703, allocations: 122.9 MB / 413.6 MB, free: 76 kB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001473/0.001473, allocations: 67.89 kB / 0.4906 GB, free: 7.797 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4043/0.4058, allocations: 77.92 MB / 0.5667 GB, free: 32.3 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Examples.PowerLinearized): time 0.003177/0.409, allocations: 1.492 MB / 0.5681 GB, free: 31.27 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002391/0.4093, allocations: 90.47 kB / 0.5682 GB, free: 31.21 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.918e-05/0.4093, allocations: 1.125 kB / 0.5682 GB, free: 31.21 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 2.602e-05/0.4094, allocations: 0.7031 kB / 0.5682 GB, free: 31.21 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 3.875e-05/0.4094, allocations: 6.906 kB / 0.5682 GB, free: 31.2 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001594/0.4096, allocations: 16.12 kB / 0.5682 GB, free: 31.2 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 5.678e-05/0.4097, allocations: 29.06 kB / 0.5683 GB, free: 31.18 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.423e-05/0.4098, allocations: 7.234 kB / 0.5683 GB, free: 31.18 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.48e-05/0.4098, allocations: 9.531 kB / 0.5683 GB, free: 31.18 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.341e-05/0.4098, allocations: 14.55 kB / 0.5683 GB, free: 31.17 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.226e-05/0.4099, allocations: 2.688 kB / 0.5683 GB, free: 31.17 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.061e-05/0.4099, allocations: 15.98 kB / 0.5683 GB, free: 31.16 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 1.103e-05/0.4099, allocations: 1.875 kB / 0.5683 GB, free: 31.16 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 2.004e-05/0.4099, allocations: 11.45 kB / 0.5683 GB, free: 31.16 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 9.598e-05/0.41, allocations: 34.47 kB / 0.5684 GB, free: 31.14 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.978e-06/0.4101, allocations: 1.719 kB / 0.5684 GB, free: 31.14 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.383e-06/0.4101, allocations: 0 / 0.5684 GB, free: 31.14 MB / 446.1 MB Notification: Performance of Transformations before backend: time 4.749e-06/0.4101, allocations: 0.5625 kB / 0.5684 GB, free: 31.14 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.000327/0.4104, allocations: 345.9 kB / 0.5687 GB, free: 30.78 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.469e-05/0.4105, allocations: 12.14 kB / 0.5687 GB, free: 30.78 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001675/0.4106, allocations: 12.14 kB / 0.5687 GB, free: 30.78 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.918e-05/0.4107, allocations: 172.1 kB / 0.5689 GB, free: 30.57 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.922e-05/0.4107, allocations: 3.25 kB / 0.5689 GB, free: 30.57 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.458e-06/0.4108, allocations: 13.56 kB / 0.5689 GB, free: 30.56 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001733/0.4109, allocations: 55.73 kB / 0.569 GB, free: 30.53 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.442e-06/0.4109, allocations: 1.375 kB / 0.569 GB, free: 30.53 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.879e-06/0.411, allocations: 4.688 kB / 0.569 GB, free: 30.52 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.867e-06/0.411, allocations: 0 / 0.569 GB, free: 30.52 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002015/0.4112, allocations: 50.95 kB / 0.569 GB, free: 30.52 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003025/0.4115, allocations: 259 kB / 0.5693 GB, free: 30.24 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001571/0.4117, allocations: 60.23 kB / 0.5693 GB, free: 30.2 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.967e-05/0.4118, allocations: 33.75 kB / 0.5693 GB, free: 30.19 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.415e-05/0.4118, allocations: 3.031 kB / 0.5694 GB, free: 30.19 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.717e-05/0.4118, allocations: 35.08 kB / 0.5694 GB, free: 30.14 MB / 446.1 MB Notification: Performance of pre-optimization done (n=2): time 1.062e-06/0.4118, allocations: 0.5 kB / 0.5694 GB, free: 30.14 MB / 446.1 MB Notification: Performance of matching and sorting (n=2): time 0.0003877/0.4122, allocations: 101.3 kB / 0.5695 GB, free: 30.11 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.58e-05/0.4122, allocations: 51.41 kB / 0.5695 GB, free: 30.04 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.331e-05/0.4123, allocations: 109.4 kB / 0.5696 GB, free: 29.94 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 9.628e-06/0.4123, allocations: 29.7 kB / 0.5697 GB, free: 29.9 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.442e-05/0.4123, allocations: 87.09 kB / 0.5697 GB, free: 29.82 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.505e-05/0.4124, allocations: 1.797 kB / 0.5697 GB, free: 29.82 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.984e-05/0.4124, allocations: 17.11 kB / 0.5698 GB, free: 29.8 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 4.686e-05/0.4125, allocations: 314.2 kB / 0.5701 GB, free: 29.48 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001041/0.4126, allocations: 24.31 kB / 0.5701 GB, free: 29.48 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.153e-05/0.4127, allocations: 24.27 kB / 0.5701 GB, free: 29.48 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001839/0.4129, allocations: 52.89 kB / 0.5702 GB, free: 29.46 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.134e-06/0.4129, allocations: 1.656 kB / 0.5702 GB, free: 29.46 MB / 446.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002374/0.4131, allocations: 83.83 kB / 0.5702 GB, free: 29.42 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.502e-05/0.4131, allocations: 5.766 kB / 0.5702 GB, free: 29.42 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.799e-06/0.4131, allocations: 256 / 0.5702 GB, free: 29.42 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.143e-05/0.4132, allocations: 6.594 kB / 0.5703 GB, free: 29.41 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.994e-05/0.4133, allocations: 14.02 kB / 0.5703 GB, free: 29.41 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.028e-06/0.4133, allocations: 1.156 kB / 0.5703 GB, free: 29.41 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.208e-05/0.4133, allocations: 13.42 kB / 0.5703 GB, free: 29.41 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.312e-06/0.4133, allocations: 3.469 kB / 0.5703 GB, free: 29.41 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.603e-05/0.4134, allocations: 112 kB / 0.5704 GB, free: 29.29 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.305e-05/0.4134, allocations: 1.25 kB / 0.5704 GB, free: 29.29 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.387e-05/0.4135, allocations: 5.625 kB / 0.5704 GB, free: 29.29 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.204e-06/0.4135, allocations: 1.719 kB / 0.5704 GB, free: 29.29 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.627e-06/0.4135, allocations: 1 kB / 0.5704 GB, free: 29.29 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.555e-06/0.4135, allocations: 0.7031 kB / 0.5704 GB, free: 29.29 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001259/0.4136, allocations: 168.4 kB / 0.5706 GB, free: 29.09 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.443e-06/0.4136, allocations: 2.188 kB / 0.5706 GB, free: 29.09 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.776e-05/0.4137, allocations: 9.828 kB / 0.5706 GB, free: 29.09 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.535e-06/0.4137, allocations: 2.531 kB / 0.5706 GB, free: 29.09 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.654e-06/0.4137, allocations: 3.938 kB / 0.5706 GB, free: 29.08 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.262e-06/0.4137, allocations: 5.406 kB / 0.5706 GB, free: 29.08 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.633e-06/0.4137, allocations: 0.5156 kB / 0.5706 GB, free: 29.08 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002455/0.414, allocations: 188.2 kB / 0.5708 GB, free: 28.93 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.884e-05/0.414, allocations: 79.55 kB / 0.5708 GB, free: 28.83 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.323e-05/0.414, allocations: 1.156 kB / 0.5708 GB, free: 28.83 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.933e-05/0.4141, allocations: 8.703 kB / 0.5709 GB, free: 28.83 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.195e-05/0.4142, allocations: 3.188 kB / 0.5709 GB, free: 28.83 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.339e-06/0.4142, allocations: 2.406 kB / 0.5709 GB, free: 28.83 MB / 446.1 MB Notification: Performance of sorting global known variables: time 2.699e-05/0.4142, allocations: 86.05 kB / 0.5709 GB, free: 28.75 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.4142, allocations: 0 / 0.5709 GB, free: 28.75 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002066/0.4144, allocations: 6.5 kB / 0.5709 GB, free: 28.75 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 8.012e-05/0.4145, allocations: 96.28 kB / 0.571 GB, free: 28.67 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0002402/0.4148, allocations: 52.86 kB / 0.5711 GB, free: 28.66 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.4148, allocations: 0.5 kB / 0.5711 GB, free: 28.66 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001042/0.4149, allocations: 30.83 kB / 0.5711 GB, free: 28.65 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002545/0.4151, allocations: 11.48 kB / 0.5711 GB, free: 28.64 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002746/0.4154, allocations: 127.1 kB / 0.5712 GB, free: 28.53 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.97e-05/0.4155, allocations: 0.6787 MB / 0.5719 GB, free: 27.83 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 3.045e-05/0.4156, allocations: 3.375 kB / 0.5719 GB, free: 27.83 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.633e-05/0.4156, allocations: 13.31 kB / 0.5719 GB, free: 27.82 MB / 446.1 MB Notification: Performance of SimCode: time 2.2e-07/0.4156, allocations: 0 / 0.5719 GB, free: 27.82 MB / 446.1 MB Notification: Performance of Templates: time 0.002219/0.4178, allocations: 0.526 MB / 0.5724 GB, free: 27.78 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)