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.001521/0.001521, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.001903/0.001903, allocations: 211.6 kB / 22.25 MB, free: 5.262 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.356/1.356, allocations: 230.6 MB / 256 MB, free: 7.789 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.782/0.782, allocations: 134 MB / 446.4 MB, free: 9.914 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.001914/0.001914, allocations: 65.42 kB / 0.6184 GB, free: 6.906 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.142/0.1439, allocations: 85.9 MB / 0.7023 GB, free: 1.086 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.Continuous.Examples.NumberOfRequests): time 0.0025/0.1464, allocations: 1.482 MB / 0.7038 GB, free: 15.59 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.0008643/0.1473, allocations: 0.4948 MB / 0.7043 GB, free: 15.09 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.521e-05/0.1473, allocations: 0 / 0.7043 GB, free: 15.09 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 8.327e-05/0.1474, allocations: 11.88 kB / 0.7043 GB, free: 15.08 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 5.069e-05/0.1474, allocations: 15.88 kB / 0.7043 GB, free: 15.06 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002323/0.1477, allocations: 47.86 kB / 0.7043 GB, free: 15.02 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0001593/0.1478, allocations: 95.77 kB / 0.7044 GB, free: 14.92 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 8.355e-05/0.1479, allocations: 12.17 kB / 0.7044 GB, free: 14.91 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001591/0.1481, allocations: 55.84 kB / 0.7045 GB, free: 14.86 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 8.227e-05/0.1482, allocations: 47.75 kB / 0.7045 GB, free: 14.81 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 2.323e-05/0.1482, allocations: 8 kB / 0.7046 GB, free: 14.8 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 4.24e-05/0.1482, allocations: 8 kB / 0.7046 GB, free: 14.79 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 4.274e-05/0.1483, allocations: 23.92 kB / 0.7046 GB, free: 14.77 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 5.383e-05/0.1483, allocations: 31.86 kB / 0.7046 GB, free: 14.74 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0001533/0.1485, allocations: 95.84 kB / 0.7047 GB, free: 14.64 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 3.476e-06/0.1485, allocations: 0 / 0.7047 GB, free: 14.64 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.182e-06/0.1485, allocations: 0 / 0.7047 GB, free: 14.64 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 4.649e-06/0.1485, allocations: 0 / 0.7047 GB, free: 14.64 MB / 0.5294 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.0006313/0.1491, allocations: 377.4 kB / 0.7051 GB, free: 14.23 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.338e-05/0.1492, allocations: 12.03 kB / 0.7051 GB, free: 14.22 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.113e-05/0.1492, allocations: 34.73 kB / 0.7051 GB, free: 14.18 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001335/0.1493, allocations: 24.88 kB / 0.7051 GB, free: 14.16 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002126/0.1495, allocations: 141 kB / 0.7053 GB, free: 14 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.355e-05/0.1496, allocations: 4.375 kB / 0.7053 GB, free: 13.99 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.698e-05/0.1496, allocations: 4.375 kB / 0.7053 GB, free: 13.99 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003106/0.1499, allocations: 151.2 kB / 0.7054 GB, free: 13.83 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.03e-05/0.1499, allocations: 3.938 kB / 0.7054 GB, free: 13.82 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.593e-05/0.1499, allocations: 8 kB / 0.7054 GB, free: 13.82 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.557e-06/0.1499, allocations: 0 / 0.7054 GB, free: 13.82 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003002/0.1502, allocations: 121.6 kB / 0.7055 GB, free: 13.69 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004922/0.1507, allocations: 279.9 kB / 0.7058 GB, free: 13.38 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003141/0.151, allocations: 132.2 kB / 0.7059 GB, free: 13.23 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001879/0.1512, allocations: 94.64 kB / 0.706 GB, free: 13.13 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 1.417e-05/0.1512, allocations: 11.94 kB / 0.706 GB, free: 13.12 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003081/0.1515, allocations: 153 kB / 0.7062 GB, free: 12.95 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=6): time 1.523e-06/0.1515, allocations: 0 / 0.7062 GB, free: 12.95 MB / 0.5294 GB Notification: Performance of matching and sorting (n=6): time 0.0007004/0.1522, allocations: 338.5 kB / 0.7065 GB, free: 12.59 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.468e-05/0.1523, allocations: 89.09 kB / 0.7066 GB, free: 12.49 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000111/0.1524, allocations: 138.1 kB / 0.7067 GB, free: 12.34 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 2.201e-05/0.1524, allocations: 29.64 kB / 0.7068 GB, free: 12.3 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 6.008e-05/0.1525, allocations: 92.14 kB / 0.7068 GB, free: 12.21 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 2.345e-05/0.1525, allocations: 19.83 kB / 0.7069 GB, free: 12.19 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.856e-05/0.1526, allocations: 29.72 kB / 0.7069 GB, free: 12.16 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.000127/0.1527, allocations: 326.8 kB / 0.7072 GB, free: 11.83 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000214/0.1529, allocations: 123.3 kB / 0.7073 GB, free: 11.7 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002131/0.1531, allocations: 127.3 kB / 0.7074 GB, free: 11.56 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000333/0.1535, allocations: 190 kB / 0.7076 GB, free: 11.35 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.673e-06/0.1535, allocations: 0 / 0.7076 GB, free: 11.35 MB / 0.5294 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0005107/0.154, allocations: 324.3 kB / 0.7079 GB, free: 11 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 5.433e-05/0.154, allocations: 67.39 kB / 0.708 GB, free: 10.93 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.597e-06/0.154, allocations: 0 / 0.708 GB, free: 10.93 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.27e-05/0.154, allocations: 0 / 0.708 GB, free: 10.93 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001071/0.1542, allocations: 15.98 kB / 0.708 GB, free: 10.91 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.539e-06/0.1542, allocations: 4 kB / 0.708 GB, free: 10.91 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001402/0.1543, allocations: 23.92 kB / 0.708 GB, free: 10.88 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.905e-05/0.1543, allocations: 8.188 kB / 0.708 GB, free: 10.88 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.0001228/0.1544, allocations: 156.4 kB / 0.7082 GB, free: 10.71 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.924e-05/0.1545, allocations: 7.953 kB / 0.7082 GB, free: 10.7 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.158e-05/0.1545, allocations: 16.66 kB / 0.7082 GB, free: 10.68 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.523e-06/0.1545, allocations: 0 / 0.7082 GB, free: 10.68 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.421e-06/0.1545, allocations: 4 kB / 0.7082 GB, free: 10.68 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.799e-06/0.1545, allocations: 7.984 kB / 0.7082 GB, free: 10.67 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001369/0.1546, allocations: 152.7 kB / 0.7084 GB, free: 10.48 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.52e-07/0.1546, allocations: 0 / 0.7084 GB, free: 10.48 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.083e-05/0.1547, allocations: 11.98 kB / 0.7084 GB, free: 10.47 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.693e-06/0.1547, allocations: 0 / 0.7084 GB, free: 10.47 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.49e-05/0.1547, allocations: 4 kB / 0.7084 GB, free: 10.46 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.193e-06/0.1547, allocations: 0 / 0.7084 GB, free: 10.46 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.01e-07/0.1547, allocations: 0 / 0.7084 GB, free: 10.46 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004979/0.1552, allocations: 284.3 kB / 0.7087 GB, free: 10.16 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 1.789e-05/0.1553, allocations: 11.89 kB / 0.7087 GB, free: 10.14 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.585e-05/0.1553, allocations: 8 kB / 0.7087 GB, free: 10.14 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000125/0.1554, allocations: 23.91 kB / 0.7087 GB, free: 10.11 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000112/0.1555, allocations: 31.95 kB / 0.7087 GB, free: 10.08 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.406e-05/0.1555, allocations: 8 kB / 0.7087 GB, free: 10.07 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 6.772e-05/0.1556, allocations: 109.3 kB / 0.7088 GB, free: 9.969 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1e-07/0.1556, allocations: 4 kB / 0.7088 GB, free: 9.965 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0001996/0.1558, allocations: 24 kB / 0.7089 GB, free: 9.941 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.0007568/0.1566, allocations: 0.8071 MB / 0.7097 GB, free: 9.094 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0005266/0.1571, allocations: 347.7 kB / 0.71 GB, free: 8.711 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 1.784e-06/0.1571, allocations: 0 / 0.71 GB, free: 8.711 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0002513/0.1573, allocations: 165 kB / 0.7101 GB, free: 8.531 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002033/0.1575, allocations: 14.34 kB / 0.7102 GB, free: 8.52 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002379/0.1599, allocations: 2.031 MB / 0.7121 GB, free: 6.336 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.329e-05/0.16, allocations: 83.19 kB / 0.7122 GB, free: 6.234 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 4.883e-05/0.16, allocations: 7.984 kB / 0.7122 GB, free: 6.227 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.36e-05/0.1601, allocations: 19.44 kB / 0.7123 GB, free: 6.207 MB / 0.5294 GB Notification: Performance of SimCode: time 4.11e-07/0.1601, allocations: 0 / 0.7123 GB, free: 6.207 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02889/0.189, allocations: 3.736 MB / 0.7159 GB, free: 2.629 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.62/10.81, allocations: 11.8 kB / 0.7159 GB, free: 2.617 MB / 0.5294 GB " [Timeout remaining time 649] (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.199491831008345] Failed to read output from testmodel.py, exit status != 0: 10.912249295040965 10.927414846 10.776148526 Calling exit ...