Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Utilities.Math.Examples.RegNonZeroPower.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: "" <> buildModelFMU(IBPSA.Utilities.Math.Examples.RegNonZeroPower,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Math_Examples_RegNonZeroPower",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Utilities.Math.Examples.RegNonZeroPower,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Math_Examples_RegNonZeroPower",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001141/0.001141, allocations: 99.28 kB / 16.02 MB, free: 80 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001645/0.001645, allocations: 183 kB / 16.92 MB, free: 6.898 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.546/1.546, allocations: 223.3 MB / 241 MB, free: 5.363 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7479/0.7479, allocations: 115.5 MB / 407.6 MB, free: 2.746 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003408/0.0003409, allocations: 12 kB / 496 MB, free: 6.297 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1482/0.1486, allocations: 77.53 MB / 0.56 GB, free: 8.973 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Examples.RegNonZeroPower): time 0.001496/0.1501, allocations: 1.158 MB / 0.5612 GB, free: 7.801 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.000791/0.1509, allocations: 399.7 kB / 0.5616 GB, free: 7.406 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.322e-05/0.151, allocations: 0 / 0.5616 GB, free: 7.406 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 1.863e-05/0.151, allocations: 3.984 kB / 0.5616 GB, free: 7.402 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 4.078e-05/0.151, allocations: 3.938 kB / 0.5616 GB, free: 7.398 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003361/0.1514, allocations: 83.77 kB / 0.5616 GB, free: 7.316 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 5.563e-05/0.1515, allocations: 23.94 kB / 0.5617 GB, free: 7.293 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.273e-05/0.1515, allocations: 3.984 kB / 0.5617 GB, free: 7.289 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.268e-05/0.1516, allocations: 8 kB / 0.5617 GB, free: 7.281 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.889e-05/0.1516, allocations: 15.92 kB / 0.5617 GB, free: 7.266 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 1.003e-05/0.1516, allocations: 0 / 0.5617 GB, free: 7.266 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003512/0.152, allocations: 275.6 kB / 0.562 GB, free: 6.996 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 1.591e-05/0.152, allocations: 3.984 kB / 0.562 GB, free: 6.992 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 3.269e-05/0.1521, allocations: 37.64 kB / 0.562 GB, free: 6.949 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000172/0.1522, allocations: 103.8 kB / 0.5621 GB, free: 6.848 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.717e-06/0.1522, allocations: 0 / 0.5621 GB, free: 6.848 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.533e-06/0.1522, allocations: 0 / 0.5621 GB, free: 6.848 MB / 430.1 MB Notification: Performance of Transformations before backend: time 2.965e-06/0.1523, allocations: 0 / 0.5621 GB, free: 6.848 MB / 430.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.0004227/0.1527, allocations: 371.7 kB / 0.5625 GB, free: 6.434 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.858e-05/0.1527, allocations: 8.031 kB / 0.5625 GB, free: 6.426 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.277e-05/0.1528, allocations: 34.73 kB / 0.5625 GB, free: 6.383 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.641e-05/0.1528, allocations: 4.938 kB / 0.5625 GB, free: 6.379 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001003/0.1529, allocations: 168.2 kB / 0.5627 GB, free: 6.176 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.227e-06/0.1529, allocations: 384 / 0.5627 GB, free: 6.176 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.07e-05/0.153, allocations: 4.375 kB / 0.5627 GB, free: 6.172 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001736/0.1531, allocations: 62.17 kB / 0.5627 GB, free: 6.105 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.003e-06/0.1532, allocations: 3.938 kB / 0.5627 GB, free: 6.102 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.635e-06/0.1532, allocations: 0 / 0.5627 GB, free: 6.102 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.442e-06/0.1532, allocations: 0 / 0.5627 GB, free: 6.102 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001841/0.1534, allocations: 51.95 kB / 0.5628 GB, free: 6.051 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003284/0.1537, allocations: 249 kB / 0.563 GB, free: 5.758 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001329/0.1538, allocations: 50.42 kB / 0.5631 GB, free: 5.699 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.287e-05/0.154, allocations: 32.91 kB / 0.5631 GB, free: 5.664 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007691/0.1547, allocations: 465.5 kB / 0.5635 GB, free: 5.117 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.514e-05/0.1548, allocations: 34.56 kB / 0.5636 GB, free: 5.074 MB / 430.1 MB Notification: Performance of pre-optimization done (n=2): time 1.293e-06/0.1548, allocations: 0 / 0.5636 GB, free: 5.074 MB / 430.1 MB Notification: Performance of matching and sorting (n=2): time 0.0003752/0.1551, allocations: 97.66 kB / 0.5637 GB, free: 4.973 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.917e-05/0.1552, allocations: 55.39 kB / 0.5637 GB, free: 4.906 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001337/0.1553, allocations: 101.9 kB / 0.5638 GB, free: 4.797 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 1.142e-05/0.1553, allocations: 25.7 kB / 0.5638 GB, free: 4.766 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.819e-05/0.1554, allocations: 88.12 kB / 0.5639 GB, free: 4.676 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.867e-05/0.1554, allocations: 7.844 kB / 0.5639 GB, free: 4.668 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.121e-05/0.1554, allocations: 17.66 kB / 0.5639 GB, free: 4.645 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001013/0.1555, allocations: 319 kB / 0.5642 GB, free: 4.324 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.652e-05/0.1556, allocations: 19.98 kB / 0.5643 GB, free: 4.305 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.982e-05/0.1557, allocations: 23.97 kB / 0.5643 GB, free: 4.281 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001625/0.1559, allocations: 48.89 kB / 0.5643 GB, free: 4.23 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.478e-06/0.1559, allocations: 7.938 kB / 0.5643 GB, free: 4.223 MB / 430.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002203/0.1561, allocations: 77.66 kB / 0.5644 GB, free: 4.141 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.397e-05/0.1562, allocations: 5.875 kB / 0.5644 GB, free: 4.137 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.2e-06/0.1562, allocations: 0 / 0.5644 GB, free: 4.137 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.009e-05/0.1562, allocations: 3.938 kB / 0.5644 GB, free: 4.133 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.465e-05/0.1563, allocations: 19.98 kB / 0.5644 GB, free: 4.113 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.118e-06/0.1563, allocations: 3.938 kB / 0.5644 GB, free: 4.109 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.018e-05/0.1563, allocations: 11.94 kB / 0.5645 GB, free: 4.098 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.218e-06/0.1563, allocations: 0 / 0.5645 GB, free: 4.098 MB / 430.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 6.012e-05/0.1564, allocations: 113.8 kB / 0.5646 GB, free: 3.977 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.655e-05/0.1565, allocations: 0 / 0.5646 GB, free: 3.977 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000239/0.1567, allocations: 93.17 kB / 0.5647 GB, free: 3.879 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.204e-06/0.1567, allocations: 0 / 0.5647 GB, free: 3.879 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.757e-06/0.1567, allocations: 0 / 0.5647 GB, free: 3.879 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.275e-06/0.1567, allocations: 0 / 0.5647 GB, free: 3.879 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001491/0.1569, allocations: 161.6 kB / 0.5648 GB, free: 3.672 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.182e-06/0.1569, allocations: 0 / 0.5648 GB, free: 3.672 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.892e-05/0.157, allocations: 15.94 kB / 0.5648 GB, free: 3.656 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.796e-06/0.157, allocations: 0 / 0.5648 GB, free: 3.656 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.54e-06/0.157, allocations: 0 / 0.5648 GB, free: 3.656 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.635e-06/0.157, allocations: 4.031 kB / 0.5648 GB, free: 3.652 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.42e-07/0.157, allocations: 3.938 kB / 0.5648 GB, free: 3.648 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002542/0.1572, allocations: 179.4 kB / 0.565 GB, free: 3.457 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.328e-05/0.1573, allocations: 89.03 kB / 0.5651 GB, free: 3.352 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.138e-05/0.1573, allocations: 0 / 0.5651 GB, free: 3.352 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.698e-05/0.1574, allocations: 8 kB / 0.5651 GB, free: 3.344 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.173e-05/0.1574, allocations: 3.984 kB / 0.5651 GB, free: 3.34 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.367e-06/0.1574, allocations: 256 / 0.5651 GB, free: 3.34 MB / 430.1 MB Notification: Performance of sorting global known variables: time 3.869e-05/0.1575, allocations: 87.28 kB / 0.5652 GB, free: 3.254 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1575, allocations: 4 kB / 0.5652 GB, free: 3.25 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0002278/0.1577, allocations: 12 kB / 0.5652 GB, free: 3.238 MB / 430.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 0.0006286/0.1584, allocations: 0.7241 MB / 0.5659 GB, free: 2.488 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0002095/0.1586, allocations: 47.97 kB / 0.566 GB, free: 2.441 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 1.703e-06/0.1586, allocations: 0 / 0.566 GB, free: 2.441 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 9.261e-05/0.1587, allocations: 32.03 kB / 0.566 GB, free: 2.41 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002443/0.1589, allocations: 6.812 kB / 0.566 GB, free: 2.406 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003688/0.1593, allocations: 150.2 kB / 0.5661 GB, free: 2.223 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000206/0.1595, allocations: 0.677 MB / 0.5668 GB, free: 1.52 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 2.141e-05/0.1596, allocations: 4 kB / 0.5668 GB, free: 1.516 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.642e-05/0.1596, allocations: 11.5 kB / 0.5668 GB, free: 1.504 MB / 430.1 MB Notification: Performance of SimCode: time 3.1e-07/0.1596, allocations: 0 / 0.5668 GB, free: 1.504 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01039/0.17, allocations: 1.331 MB / 0.5681 GB, free: 312 kB / 430.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002305/0.1703, allocations: 199.3 kB / 0.5683 GB, free: 48 kB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.81/1.98, allocations: 0 / 0.5683 GB, free: 48 kB / 430.1 MB (rm -f IBPSA_latest_IBPSA.Utilities.Math.Examples.RegNonZeroPower.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.Math.Examples.RegNonZeroPower.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.Math.Examples.RegNonZeroPower.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.Math.Examples.RegNonZeroPower.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Utilities_Math_Examples_RegNonZeroPower_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Utilities_Math_Examples_RegNonZeroPower.fmu > IBPSA_latest_IBPSA.Utilities.Math.Examples.RegNonZeroPower.pipe 2>&1)