Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Controls.Continuous.Examples.NumberOfRequests.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001496/0.001496, allocations: 110.8 kB / 17.54 MB, free: 4.641 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001504/0.001504, allocations: 189.9 kB / 20.71 MB, free: 1.484 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.337/1.337, allocations: 225.6 MB / 249.3 MB, free: 3.191 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/Media/Refrigerants/R410A/package.order:0:0-0:0:readonly] Warning: Found duplicate names in package.order file: A, B, C. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/Media/Refrigerants/R410A/package.mo:2:1-70:10:writable] Warning: C was referenced in the package.order file, but was not found in package.mo, C/package.mo or C.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9893/0.9893, allocations: 175.7 MB / 480.1 MB, free: 2.852 MB / 366.1 MB " [Timeout remaining time 179] Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.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(IDEAS.Controls.Continuous.Examples.NumberOfRequests,fileNamePrefix="IDEAS_dev_IDEAS_Controls_Continuous_Examples_NumberOfRequests",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Controls.Continuous.Examples.NumberOfRequests,fileNamePrefix="IDEAS_dev_IDEAS_Controls_Continuous_Examples_NumberOfRequests",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001777/0.001777, allocations: 67.39 kB / 0.6677 GB, free: 11.04 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1666/0.1683, allocations: 94.53 MB / 0.76 GB, free: 0.9062 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.Continuous.Examples.NumberOfRequests): time 0.002458/0.1708, allocations: 1.486 MB / 0.7615 GB, free: 15.41 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.0007479/0.1715, allocations: 466.9 kB / 0.7619 GB, free: 14.95 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.385e-05/0.1716, allocations: 4 kB / 0.7619 GB, free: 14.95 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 8.172e-05/0.1717, allocations: 7.875 kB / 0.7619 GB, free: 14.94 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 5.067e-05/0.1717, allocations: 15.84 kB / 0.762 GB, free: 14.92 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001884/0.1719, allocations: 35.95 kB / 0.762 GB, free: 14.89 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0001612/0.1721, allocations: 99.7 kB / 0.7621 GB, free: 14.79 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 9.099e-05/0.1722, allocations: 16.11 kB / 0.7621 GB, free: 14.77 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001158/0.1723, allocations: 51.83 kB / 0.7622 GB, free: 14.72 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 8.441e-05/0.1724, allocations: 39.83 kB / 0.7622 GB, free: 14.68 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 2.707e-05/0.1724, allocations: 8 kB / 0.7622 GB, free: 14.68 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 1.941e-05/0.1724, allocations: 8 kB / 0.7622 GB, free: 14.67 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 4.353e-05/0.1724, allocations: 15.92 kB / 0.7622 GB, free: 14.65 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 6.49e-05/0.1725, allocations: 43.78 kB / 0.7623 GB, free: 14.61 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0001332/0.1726, allocations: 79.7 kB / 0.7623 GB, free: 14.53 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.088e-06/0.1726, allocations: 0 / 0.7623 GB, free: 14.53 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.523e-06/0.1727, allocations: 0 / 0.7623 GB, free: 14.53 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 5.01e-06/0.1727, allocations: 0 / 0.7623 GB, free: 14.53 MB / 0.5762 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.0006935/0.1733, allocations: 458.5 kB / 0.7628 GB, free: 14.02 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.652e-05/0.1734, allocations: 12.03 kB / 0.7628 GB, free: 14.01 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.643e-05/0.1734, allocations: 34.75 kB / 0.7628 GB, free: 13.97 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.838e-05/0.1735, allocations: 12.89 kB / 0.7628 GB, free: 13.96 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001895/0.1737, allocations: 203.3 kB / 0.763 GB, free: 13.72 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.469e-05/0.1737, allocations: 8.375 kB / 0.763 GB, free: 13.71 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.004e-05/0.1737, allocations: 4.375 kB / 0.763 GB, free: 13.71 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002944/0.174, allocations: 117.6 kB / 0.7631 GB, free: 13.59 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.642e-06/0.174, allocations: 4 kB / 0.7632 GB, free: 13.59 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.521e-05/0.174, allocations: 3.984 kB / 0.7632 GB, free: 13.58 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.907e-06/0.174, allocations: 0 / 0.7632 GB, free: 13.58 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000292/0.1743, allocations: 87.92 kB / 0.7632 GB, free: 13.5 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005366/0.1748, allocations: 336.7 kB / 0.7636 GB, free: 13.12 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003043/0.1751, allocations: 98.44 kB / 0.7637 GB, free: 13.01 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001792/0.1753, allocations: 64.94 kB / 0.7637 GB, free: 12.95 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 1.512e-05/0.1753, allocations: 0 / 0.7637 GB, free: 12.95 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002963/0.1756, allocations: 123.3 kB / 0.7638 GB, free: 12.81 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=6): time 1.282e-06/0.1756, allocations: 4 kB / 0.7638 GB, free: 12.81 MB / 0.5762 GB Notification: Performance of matching and sorting (n=6): time 0.0006909/0.1763, allocations: 275.1 kB / 0.7641 GB, free: 12.53 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.926e-05/0.1764, allocations: 85.11 kB / 0.7642 GB, free: 12.43 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001101/0.1765, allocations: 125.8 kB / 0.7643 GB, free: 12.29 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 2.45e-05/0.1765, allocations: 37.7 kB / 0.7643 GB, free: 12.25 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 6.098e-05/0.1766, allocations: 92.08 kB / 0.7644 GB, free: 12.16 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 2.272e-05/0.1766, allocations: 19.97 kB / 0.7644 GB, free: 12.14 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.915e-05/0.1767, allocations: 33.7 kB / 0.7645 GB, free: 12.1 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001307/0.1768, allocations: 322.8 kB / 0.7648 GB, free: 11.77 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001799/0.177, allocations: 59.95 kB / 0.7648 GB, free: 11.71 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001799/0.1771, allocations: 75.94 kB / 0.7649 GB, free: 11.64 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003399/0.1775, allocations: 185.9 kB / 0.7651 GB, free: 11.44 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.843e-06/0.1775, allocations: 256 / 0.7651 GB, free: 11.44 MB / 0.5762 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0004822/0.178, allocations: 257 kB / 0.7653 GB, free: 11.17 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 5.811e-05/0.178, allocations: 67.39 kB / 0.7654 GB, free: 11.09 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.801e-06/0.178, allocations: 8 kB / 0.7654 GB, free: 11.08 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.27e-05/0.178, allocations: 3.938 kB / 0.7654 GB, free: 11.08 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000116/0.1782, allocations: 19.91 kB / 0.7654 GB, free: 11.06 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.342e-06/0.1782, allocations: 4 kB / 0.7654 GB, free: 11.05 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001576/0.1783, allocations: 23.91 kB / 0.7655 GB, free: 11.03 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.971e-05/0.1783, allocations: 7.938 kB / 0.7655 GB, free: 11.02 MB / 0.5762 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.0001233/0.1785, allocations: 151.5 kB / 0.7656 GB, free: 10.86 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.158e-05/0.1785, allocations: 15.95 kB / 0.7656 GB, free: 10.84 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.901e-05/0.1785, allocations: 8.375 kB / 0.7656 GB, free: 10.83 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.573e-06/0.1785, allocations: 0 / 0.7656 GB, free: 10.83 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.326e-06/0.1785, allocations: 4 kB / 0.7656 GB, free: 10.83 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.294e-06/0.1785, allocations: 0 / 0.7656 GB, free: 10.83 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001573/0.1787, allocations: 189.5 kB / 0.7658 GB, free: 10.59 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.846e-06/0.1787, allocations: 4 kB / 0.7658 GB, free: 10.59 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.351e-05/0.1788, allocations: 15.98 kB / 0.7658 GB, free: 10.57 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.477e-06/0.1788, allocations: 3.984 kB / 0.7658 GB, free: 10.57 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.27e-05/0.1788, allocations: 0 / 0.7658 GB, free: 10.57 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.192e-06/0.1788, allocations: 4 kB / 0.7658 GB, free: 10.57 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.32e-07/0.1788, allocations: 4 kB / 0.7658 GB, free: 10.56 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005213/0.1793, allocations: 246.6 kB / 0.7661 GB, free: 10.3 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 6.094e-05/0.1794, allocations: 85.06 kB / 0.7662 GB, free: 10.2 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.473e-05/0.1794, allocations: 4 kB / 0.7662 GB, free: 10.19 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001419/0.1795, allocations: 27.97 kB / 0.7662 GB, free: 10.16 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001134/0.1797, allocations: 27.97 kB / 0.7662 GB, free: 10.14 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.658e-05/0.1797, allocations: 11.98 kB / 0.7662 GB, free: 10.12 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 7.179e-05/0.1797, allocations: 101.2 kB / 0.7663 GB, free: 10.03 MB / 0.5762 GB Notification: Performance of sort global known variables: time 8e-08/0.1797, allocations: 0 / 0.7663 GB, free: 10.03 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0002032/0.1799, allocations: 28 kB / 0.7664 GB, free: 10 MB / 0.5762 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.0008442/0.1808, allocations: 0.7819 MB / 0.7671 GB, free: 9.184 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0004913/0.1813, allocations: 254.8 kB / 0.7674 GB, free: 8.91 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 5.17e-06/0.1813, allocations: 4 kB / 0.7674 GB, free: 8.906 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.000251/0.1815, allocations: 135.3 kB / 0.7675 GB, free: 8.762 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002061/0.1817, allocations: 15.94 kB / 0.7675 GB, free: 8.746 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002436/0.1842, allocations: 1.763 MB / 0.7692 GB, free: 6.887 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002928/0.1845, allocations: 0.6962 MB / 0.7699 GB, free: 6.164 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 4.508e-05/0.1845, allocations: 8 kB / 0.7699 GB, free: 6.156 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.836e-05/0.1846, allocations: 31.36 kB / 0.77 GB, free: 6.125 MB / 0.5762 GB Notification: Performance of SimCode: time 3.8e-07/0.1846, allocations: 0 / 0.77 GB, free: 6.125 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02718/0.2118, allocations: 3.036 MB / 0.7729 GB, free: 3.184 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.195/7.407, allocations: 1.203 kB / 0.7729 GB, free: 3.184 MB / 0.5762 GB " [Timeout remaining time 653] (rm -f IDEAS_dev_IDEAS.Controls.Continuous.Examples.NumberOfRequests.pipe ; mkfifo IDEAS_dev_IDEAS.Controls.Continuous.Examples.NumberOfRequests.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Controls.Continuous.Examples.NumberOfRequests.pipe >> ../files/IDEAS_dev_IDEAS.Controls.Continuous.Examples.NumberOfRequests.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Controls_Continuous_Examples_NumberOfRequests_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Controls_Continuous_Examples_NumberOfRequests.fmu > IDEAS_dev_IDEAS.Controls.Continuous.Examples.NumberOfRequests.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 10.889375811995706]