Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Controls.Continuous.Examples.NumberOfRequests.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/BuildSysPro 3.6.0/package.mo", uses=false) Using package BuildSysPro with version 3.5.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/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(BuildSysPro.IBPSA.Controls.Continuous.Examples.NumberOfRequests,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Controls_Continuous_Examples_NumberOfRequests",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Controls.Continuous.Examples.NumberOfRequests,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Controls_Continuous_Examples_NumberOfRequests",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.005384/0.005384, allocations: 102.8 kB / 15.73 MB, free: 5.539 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.001205/0.001204, allocations: 193.1 kB / 16.67 MB, free: 5.469 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.377/1.377, allocations: 222.9 MB / 240.4 MB, free: 15.17 MB / 206.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/Building/BuildingEnvelope/HeatTransfer/package.mo:2:1-40:17:writable] Warning: Soil_case_nappe was referenced in the package.order file, but was not found in package.mo, Soil_case_nappe/package.mo or Soil_case_nappe.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/package.mo): time 0.8753/0.8753, allocations: 143.1 MB / 433.6 MB, free: 11.98 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001175/0.001175, allocations: 60.94 kB / 0.595 GB, free: 12.82 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1535/0.1546, allocations: 82.04 MB / 0.6751 GB, free: 10.88 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Controls.Continuous.Examples.NumberOfRequests): time 0.002537/0.1572, allocations: 1.473 MB / 0.6766 GB, free: 9.395 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.0007732/0.158, allocations: 462.8 kB / 0.677 GB, free: 8.938 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.208e-05/0.1581, allocations: 0 / 0.677 GB, free: 8.938 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.0001104/0.1582, allocations: 3.938 kB / 0.677 GB, free: 8.934 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 5.194e-05/0.1583, allocations: 19.86 kB / 0.677 GB, free: 8.914 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002121/0.1585, allocations: 39.83 kB / 0.6771 GB, free: 8.875 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.0001558/0.1587, allocations: 95.81 kB / 0.6772 GB, free: 8.781 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001064/0.1588, allocations: 16.19 kB / 0.6772 GB, free: 8.766 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001388/0.1589, allocations: 55.81 kB / 0.6772 GB, free: 8.711 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 8.664e-05/0.159, allocations: 43.83 kB / 0.6773 GB, free: 8.668 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 2.656e-05/0.159, allocations: 8 kB / 0.6773 GB, free: 8.66 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 1.694e-05/0.1591, allocations: 8 kB / 0.6773 GB, free: 8.652 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 4.298e-05/0.1591, allocations: 7.938 kB / 0.6773 GB, free: 8.645 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 6.386e-05/0.1592, allocations: 39.84 kB / 0.6773 GB, free: 8.605 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0001393/0.1593, allocations: 86.56 kB / 0.6774 GB, free: 8.523 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 4.349e-06/0.1593, allocations: 0 / 0.6774 GB, free: 8.523 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.362e-06/0.1593, allocations: 0 / 0.6774 GB, free: 8.523 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 5.701e-06/0.1594, allocations: 4 kB / 0.6774 GB, free: 8.52 MB / 0.5137 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0006746/0.16, allocations: 443.5 kB / 0.6778 GB, free: 8.027 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 3.969e-05/0.1601, allocations: 12.03 kB / 0.6778 GB, free: 8.016 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.115e-05/0.1601, allocations: 46.67 kB / 0.6779 GB, free: 7.961 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.169e-05/0.1602, allocations: 12.84 kB / 0.6779 GB, free: 7.949 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001857/0.1604, allocations: 192.1 kB / 0.6781 GB, free: 7.723 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.319e-05/0.1604, allocations: 4.375 kB / 0.6781 GB, free: 7.719 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.979e-05/0.1604, allocations: 8.375 kB / 0.6781 GB, free: 7.711 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003097/0.1607, allocations: 121.5 kB / 0.6782 GB, free: 7.586 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.867e-06/0.1607, allocations: 0 / 0.6782 GB, free: 7.586 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.723e-05/0.1608, allocations: 4 kB / 0.6782 GB, free: 7.582 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.833e-06/0.1608, allocations: 4 kB / 0.6782 GB, free: 7.578 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002826/0.1611, allocations: 87.86 kB / 0.6783 GB, free: 7.492 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005325/0.1616, allocations: 332.7 kB / 0.6786 GB, free: 7.117 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003004/0.1619, allocations: 102.5 kB / 0.6787 GB, free: 7.008 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001724/0.1621, allocations: 68.94 kB / 0.6788 GB, free: 6.938 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 2.607e-05/0.1621, allocations: 4 kB / 0.6788 GB, free: 6.934 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003345/0.1625, allocations: 135.2 kB / 0.6789 GB, free: 6.789 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=6): time 1.573e-06/0.1625, allocations: 0 / 0.6789 GB, free: 6.789 MB / 0.5137 GB Notification: Performance of matching and sorting (n=6): time 0.0006761/0.1632, allocations: 267.2 kB / 0.6792 GB, free: 6.516 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.657e-05/0.1632, allocations: 93.09 kB / 0.6793 GB, free: 6.406 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.421e-05/0.1633, allocations: 127.2 kB / 0.6794 GB, free: 6.273 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 2.259e-05/0.1634, allocations: 33.69 kB / 0.6794 GB, free: 6.234 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 5.901e-05/0.1634, allocations: 99.98 kB / 0.6795 GB, free: 6.133 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 2.219e-05/0.1635, allocations: 19.88 kB / 0.6795 GB, free: 6.113 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.067e-05/0.1635, allocations: 25.7 kB / 0.6796 GB, free: 6.082 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 9.393e-05/0.1636, allocations: 326.8 kB / 0.6799 GB, free: 5.754 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001886/0.1638, allocations: 67.95 kB / 0.6799 GB, free: 5.688 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001687/0.164, allocations: 67.89 kB / 0.68 GB, free: 5.621 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003257/0.1643, allocations: 181.9 kB / 0.6802 GB, free: 5.422 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.515e-06/0.1643, allocations: 0 / 0.6802 GB, free: 5.422 MB / 0.5137 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.000471/0.1648, allocations: 264.9 kB / 0.6804 GB, free: 5.145 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 4.656e-05/0.1649, allocations: 67.41 kB / 0.6805 GB, free: 5.066 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.422e-06/0.1649, allocations: 3.984 kB / 0.6805 GB, free: 5.062 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.309e-05/0.1649, allocations: 0 / 0.6805 GB, free: 5.062 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001254/0.165, allocations: 19.92 kB / 0.6805 GB, free: 5.043 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.043e-06/0.1651, allocations: 4.141 kB / 0.6805 GB, free: 5.039 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001476/0.1652, allocations: 15.98 kB / 0.6805 GB, free: 5.023 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.517e-05/0.1652, allocations: 15.92 kB / 0.6805 GB, free: 5.008 MB / 0.5137 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 6 (pulse.count,$PRE.pulse.count,pulse.T_start,$PRE.pulse.T_start,numReq.y,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (8): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 2 * 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 0.000117/0.1654, allocations: 152.2 kB / 0.6807 GB, free: 4.844 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.033e-05/0.1654, allocations: 7.906 kB / 0.6807 GB, free: 4.836 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.974e-05/0.1654, allocations: 12.36 kB / 0.6807 GB, free: 4.82 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.377e-06/0.1654, allocations: 4 kB / 0.6807 GB, free: 4.816 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.559e-06/0.1654, allocations: 256 / 0.6807 GB, free: 4.816 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.075e-06/0.1655, allocations: 0 / 0.6807 GB, free: 4.816 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001443/0.1656, allocations: 205.5 kB / 0.6809 GB, free: 4.566 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.243e-06/0.1656, allocations: 0 / 0.6809 GB, free: 4.566 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.052e-05/0.1657, allocations: 15.92 kB / 0.6809 GB, free: 4.551 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.864e-06/0.1657, allocations: 0 / 0.6809 GB, free: 4.551 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.438e-05/0.1657, allocations: 8 kB / 0.6809 GB, free: 4.543 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.543e-06/0.1657, allocations: 0 / 0.6809 GB, free: 4.543 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.72e-07/0.1657, allocations: 0 / 0.6809 GB, free: 4.543 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004786/0.1662, allocations: 246.6 kB / 0.6812 GB, free: 4.277 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 4.029e-05/0.1663, allocations: 81.02 kB / 0.6812 GB, free: 4.18 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.877e-05/0.1663, allocations: 7.984 kB / 0.6813 GB, free: 4.172 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001354/0.1665, allocations: 23.98 kB / 0.6813 GB, free: 4.148 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001156/0.1666, allocations: 35.95 kB / 0.6813 GB, free: 4.113 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.29e-05/0.1666, allocations: 4 kB / 0.6813 GB, free: 4.109 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 6.219e-05/0.1667, allocations: 102.7 kB / 0.6814 GB, free: 4.012 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.31e-07/0.1667, allocations: 0 / 0.6814 GB, free: 4.012 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0002065/0.1669, allocations: 28 kB / 0.6814 GB, free: 3.984 MB / 0.5137 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition1,numReq.y,pulse.T_start,pulse.count) * Number of discrete states: 2 (pulse.count,numReq.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (6): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 2 * 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.0007392/0.1676, allocations: 0.7819 MB / 0.6822 GB, free: 3.168 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0004844/0.1681, allocations: 262.7 kB / 0.6825 GB, free: 2.887 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 1.863e-06/0.1681, allocations: 3.938 kB / 0.6825 GB, free: 2.883 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0002325/0.1684, allocations: 139.4 kB / 0.6826 GB, free: 2.734 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002112/0.1686, allocations: 15.98 kB / 0.6826 GB, free: 2.719 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002164/0.1708, allocations: 1.765 MB / 0.6843 GB, free: 0.8594 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002314/0.171, allocations: 0.6945 MB / 0.685 GB, free: 144 kB / 0.5137 GB Notification: Performance of simCode: alias equations: time 4.739e-05/0.1711, allocations: 4 kB / 0.685 GB, free: 140 kB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.643e-05/0.1711, allocations: 23.42 kB / 0.685 GB, free: 116 kB / 0.5137 GB Notification: Performance of SimCode: time 2.5e-07/0.1711, allocations: 3.938 kB / 0.685 GB, free: 112 kB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01818/0.1893, allocations: 3.082 MB / 0.688 GB, free: 13.15 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.43/7.62, allocations: 6.172 kB / 0.6881 GB, free: 13.14 MB / 0.5294 GB (rm -f BuildSysPro_BuildSysPro.IBPSA.Controls.Continuous.Examples.NumberOfRequests.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Controls.Continuous.Examples.NumberOfRequests.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Controls.Continuous.Examples.NumberOfRequests.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Controls.Continuous.Examples.NumberOfRequests.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Controls_Continuous_Examples_NumberOfRequests_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_Controls_Continuous_Examples_NumberOfRequests.fmu > BuildSysPro_BuildSysPro.IBPSA.Controls.Continuous.Examples.NumberOfRequests.pipe 2>&1)