Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Controls.Continuous.Examples.NumberOfRequests.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001793/0.001793, allocations: 108.9 kB / 16.46 MB, free: 6.453 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001974/0.001974, allocations: 216.2 kB / 19.43 MB, free: 3.625 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.404/1.404, allocations: 230.6 MB / 252.8 MB, free: 8.984 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8243/0.8243, allocations: 133.9 MB / 442.8 MB, free: 11.33 MB / 350.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/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(IDEAS.Controls.Continuous.Examples.NumberOfRequests,fileNamePrefix="IDEAS_IDEAS_Controls_Continuous_Examples_NumberOfRequests",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Controls.Continuous.Examples.NumberOfRequests,fileNamePrefix="IDEAS_IDEAS_Controls_Continuous_Examples_NumberOfRequests",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: IDEAS requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001891/0.001891, allocations: 68.44 kB / 0.6134 GB, free: 8.809 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1634/0.1653, allocations: 85.85 MB / 0.6972 GB, free: 3.039 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.Continuous.Examples.NumberOfRequests): time 0.002688/0.168, allocations: 1.502 MB / 0.6987 GB, free: 1.523 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.0009591/0.169, allocations: 0.5143 MB / 0.6992 GB, free: 1.004 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.305e-05/0.169, allocations: 7.938 kB / 0.6992 GB, free: 0.9961 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.000102/0.1691, allocations: 7.922 kB / 0.6992 GB, free: 0.9883 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 5.364e-05/0.1692, allocations: 11.86 kB / 0.6992 GB, free: 0.9766 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002603/0.1694, allocations: 55.81 kB / 0.6993 GB, free: 0.9219 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.0001731/0.1696, allocations: 95.77 kB / 0.6994 GB, free: 0.8281 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001021/0.1697, allocations: 16.16 kB / 0.6994 GB, free: 0.8125 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000171/0.1699, allocations: 51.84 kB / 0.6994 GB, free: 0.7617 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 8.544e-05/0.17, allocations: 43.83 kB / 0.6995 GB, free: 0.7188 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 2.482e-05/0.17, allocations: 8 kB / 0.6995 GB, free: 0.7109 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 4.615e-05/0.17, allocations: 12 kB / 0.6995 GB, free: 0.6992 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 4.275e-05/0.1701, allocations: 15.91 kB / 0.6995 GB, free: 0.6836 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 6.47e-05/0.1701, allocations: 43.78 kB / 0.6995 GB, free: 0.6406 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0001625/0.1703, allocations: 91.91 kB / 0.6996 GB, free: 0.5508 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 4.218e-06/0.1703, allocations: 4 kB / 0.6996 GB, free: 0.5469 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.753e-06/0.1703, allocations: 3.938 kB / 0.6996 GB, free: 0.543 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 5.069e-06/0.1703, allocations: 0 / 0.6996 GB, free: 0.543 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.0007415/0.1711, allocations: 454.5 kB / 0.7001 GB, free: 40 kB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.077e-05/0.1711, allocations: 13.11 kB / 0.7001 GB, free: 28 kB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.619e-05/0.1712, allocations: 38.73 kB / 0.7001 GB, free: 15.98 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000144/0.1713, allocations: 12.89 kB / 0.7001 GB, free: 15.97 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002511/0.1716, allocations: 204.2 kB / 0.7003 GB, free: 15.73 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.586e-05/0.1716, allocations: 8.312 kB / 0.7003 GB, free: 15.72 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.922e-05/0.1716, allocations: 4.375 kB / 0.7003 GB, free: 15.72 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003218/0.1719, allocations: 117.5 kB / 0.7005 GB, free: 15.6 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.336e-06/0.1719, allocations: 4 kB / 0.7005 GB, free: 15.59 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.47e-05/0.1719, allocations: 0 / 0.7005 GB, free: 15.59 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.379e-06/0.1719, allocations: 0 / 0.7005 GB, free: 15.59 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003064/0.1722, allocations: 91.92 kB / 0.7006 GB, free: 15.5 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005544/0.1728, allocations: 332.7 kB / 0.7009 GB, free: 15.13 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003343/0.1731, allocations: 102.4 kB / 0.701 GB, free: 15.02 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001833/0.1733, allocations: 68.94 kB / 0.701 GB, free: 14.95 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 1.307e-05/0.1733, allocations: 0 / 0.701 GB, free: 14.95 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003044/0.1736, allocations: 119.3 kB / 0.7011 GB, free: 14.82 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=6): time 1.302e-06/0.1736, allocations: 3.938 kB / 0.7011 GB, free: 14.82 MB / 0.5294 GB Notification: Performance of matching and sorting (n=6): time 0.000745/0.1744, allocations: 287.1 kB / 0.7014 GB, free: 14.52 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.938e-05/0.1745, allocations: 85.11 kB / 0.7015 GB, free: 14.42 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001156/0.1746, allocations: 136 kB / 0.7016 GB, free: 14.28 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 2.589e-05/0.1746, allocations: 29.7 kB / 0.7017 GB, free: 14.24 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 6.996e-05/0.1747, allocations: 96.12 kB / 0.7018 GB, free: 14.14 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 2.522e-05/0.1747, allocations: 19.84 kB / 0.7018 GB, free: 14.12 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.327e-05/0.1748, allocations: 25.7 kB / 0.7018 GB, free: 14.09 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001328/0.1749, allocations: 330.8 kB / 0.7021 GB, free: 13.76 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002008/0.1751, allocations: 63.95 kB / 0.7022 GB, free: 13.7 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001821/0.1753, allocations: 63.95 kB / 0.7022 GB, free: 13.64 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003638/0.1756, allocations: 189.9 kB / 0.7024 GB, free: 13.43 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.164e-06/0.1756, allocations: 0 / 0.7024 GB, free: 13.43 MB / 0.5294 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0005215/0.1762, allocations: 261 kB / 0.7027 GB, free: 13.16 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 6.38e-05/0.1762, allocations: 67.39 kB / 0.7027 GB, free: 13.08 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.419e-06/0.1762, allocations: 0 / 0.7027 GB, free: 13.08 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.396e-05/0.1762, allocations: 0 / 0.7027 GB, free: 13.08 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001159/0.1764, allocations: 11.98 kB / 0.7027 GB, free: 13.07 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.115e-06/0.1764, allocations: 7.938 kB / 0.7027 GB, free: 13.06 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001588/0.1765, allocations: 31.92 kB / 0.7028 GB, free: 13.03 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.907e-05/0.1765, allocations: 7.938 kB / 0.7028 GB, free: 13.02 MB / 0.5294 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.000128/0.1767, allocations: 152.2 kB / 0.7029 GB, free: 12.86 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.177e-05/0.1767, allocations: 7.953 kB / 0.7029 GB, free: 12.85 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.674e-05/0.1767, allocations: 12.7 kB / 0.703 GB, free: 12.83 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.903e-06/0.1767, allocations: 4 kB / 0.703 GB, free: 12.82 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.918e-06/0.1767, allocations: 0 / 0.703 GB, free: 12.82 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.986e-06/0.1767, allocations: 0 / 0.703 GB, free: 12.82 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001714/0.1769, allocations: 197.6 kB / 0.7031 GB, free: 12.58 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.52e-07/0.1769, allocations: 4 kB / 0.7031 GB, free: 12.58 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.517e-05/0.177, allocations: 11.98 kB / 0.7032 GB, free: 12.57 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.803e-06/0.177, allocations: 0 / 0.7032 GB, free: 12.57 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.635e-05/0.177, allocations: 4 kB / 0.7032 GB, free: 12.56 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.212e-06/0.177, allocations: 0 / 0.7032 GB, free: 12.56 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.02e-07/0.177, allocations: 0 / 0.7032 GB, free: 12.56 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000514/0.1775, allocations: 258.6 kB / 0.7034 GB, free: 12.29 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 5.237e-05/0.1776, allocations: 89.3 kB / 0.7035 GB, free: 12.18 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.597e-05/0.1776, allocations: 7.938 kB / 0.7035 GB, free: 12.17 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001359/0.1777, allocations: 23.97 kB / 0.7035 GB, free: 12.15 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001164/0.1779, allocations: 35.97 kB / 0.7036 GB, free: 12.11 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.11e-05/0.1779, allocations: 0 / 0.7036 GB, free: 12.11 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 8.179e-05/0.178, allocations: 113.2 kB / 0.7037 GB, free: 12 MB / 0.5294 GB Notification: Performance of sort global known variables: time 6.1e-08/0.178, allocations: 0 / 0.7037 GB, free: 12 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0002028/0.1782, allocations: 24 kB / 0.7037 GB, free: 11.98 MB / 0.5294 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.0008148/0.179, allocations: 0.778 MB / 0.7044 GB, free: 11.17 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0005297/0.1795, allocations: 254.7 kB / 0.7047 GB, free: 10.89 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 2.023e-06/0.1795, allocations: 3.938 kB / 0.7047 GB, free: 10.89 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0002494/0.1797, allocations: 131.3 kB / 0.7048 GB, free: 10.75 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002191/0.18, allocations: 18.84 kB / 0.7048 GB, free: 10.73 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002407/0.1824, allocations: 1.758 MB / 0.7066 GB, free: 8.883 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003051/0.1827, allocations: 0.6922 MB / 0.7072 GB, free: 8.164 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 4.911e-05/0.1827, allocations: 11.92 kB / 0.7072 GB, free: 8.152 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.772e-05/0.1828, allocations: 23.44 kB / 0.7073 GB, free: 8.129 MB / 0.5294 GB Notification: Performance of SimCode: time 2.7e-07/0.1828, allocations: 0 / 0.7073 GB, free: 8.129 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02487/0.2077, allocations: 3.059 MB / 0.7103 GB, free: 5.191 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.1/10.31, allocations: 4.859 kB / 0.7103 GB, free: 5.188 MB / 0.5294 GB " [Timeout remaining time 650] (rm -f IDEAS_IDEAS.Controls.Continuous.Examples.NumberOfRequests.pipe ; mkfifo IDEAS_IDEAS.Controls.Continuous.Examples.NumberOfRequests.pipe ; head -c 1048576 < IDEAS_IDEAS.Controls.Continuous.Examples.NumberOfRequests.pipe >> ../files/IDEAS_IDEAS.Controls.Continuous.Examples.NumberOfRequests.sim & python3 -m fmpy simulate --output-file IDEAS_IDEAS.Controls.Continuous.Examples.NumberOfRequests_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 IDEAS_IDEAS_Controls_Continuous_Examples_NumberOfRequests.fmu > IDEAS_IDEAS.Controls.Continuous.Examples.NumberOfRequests.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 14.169898811000166] Failed to read output from testmodel.py, exit status != 0: 10.443974747002358 10.468943038 10.294221548 Calling exit ...