Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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.001803/0.001803, allocations: 99.64 kB / 18.95 MB, free: 2.676 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.002205/0.002205, allocations: 204.2 kB / 22.24 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.426/1.426, allocations: 230.6 MB / 256 MB, free: 7.793 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo): time 0.002531/0.002531, allocations: 283.4 kB / 312.7 MB, free: 2.703 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo): time 1.217/1.217, allocations: 180.6 MB / 0.5369 GB, free: 14.6 MB / 382.1 MB " [Timeout remaining time 179] Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/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(BuildingSystems.Controls.Continuous.Examples.NumberOfRequests,fileNamePrefix="BuildingSystems_BuildingSystems_Controls_Continuous_Examples_NumberOfRequests",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Controls.Continuous.Examples.NumberOfRequests,fileNamePrefix="BuildingSystems_BuildingSystems_Controls_Continuous_Examples_NumberOfRequests",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: NcDataReader2 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: BuildingSystems 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.002928/0.002928, allocations: 106.3 kB / 0.7395 GB, free: 28.12 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1563/0.1592, allocations: 95.39 MB / 0.8326 GB, free: 8.344 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Controls.Continuous.Examples.NumberOfRequests): time 0.002738/0.162, allocations: 1.482 MB / 0.8341 GB, free: 6.848 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.0009309/0.1629, allocations: 0.4888 MB / 0.8345 GB, free: 6.355 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.97e-05/0.163, allocations: 0 / 0.8345 GB, free: 6.355 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 9.136e-05/0.163, allocations: 7.875 kB / 0.8345 GB, free: 6.348 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 5.725e-05/0.1631, allocations: 19.84 kB / 0.8346 GB, free: 6.328 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002469/0.1633, allocations: 43.89 kB / 0.8346 GB, free: 6.285 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0001683/0.1635, allocations: 103.7 kB / 0.8347 GB, free: 6.184 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 8.273e-05/0.1636, allocations: 8.188 kB / 0.8347 GB, free: 6.176 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001784/0.1638, allocations: 63.83 kB / 0.8348 GB, free: 6.113 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 7.865e-05/0.1639, allocations: 31.84 kB / 0.8348 GB, free: 6.082 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 2.357e-05/0.1639, allocations: 8 kB / 0.8348 GB, free: 6.074 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 4.675e-05/0.1639, allocations: 12 kB / 0.8348 GB, free: 6.062 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 4.025e-05/0.164, allocations: 19.91 kB / 0.8348 GB, free: 6.043 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 5.736e-05/0.164, allocations: 35.86 kB / 0.8349 GB, free: 6.008 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0001571/0.1642, allocations: 95.84 kB / 0.835 GB, free: 5.914 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.156e-06/0.1642, allocations: 0 / 0.835 GB, free: 5.914 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.102e-06/0.1642, allocations: 0 / 0.835 GB, free: 5.914 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 4.679e-06/0.1642, allocations: 4 kB / 0.835 GB, free: 5.91 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.0006549/0.1648, allocations: 381.4 kB / 0.8353 GB, free: 5.496 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.866e-05/0.1649, allocations: 13.94 kB / 0.8353 GB, free: 5.484 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.482e-05/0.1649, allocations: 34.75 kB / 0.8354 GB, free: 5.441 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001355/0.1651, allocations: 20.88 kB / 0.8354 GB, free: 5.422 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002054/0.1653, allocations: 130.4 kB / 0.8355 GB, free: 5.27 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.606e-05/0.1653, allocations: 8.359 kB / 0.8355 GB, free: 5.262 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.055e-05/0.1653, allocations: 8.375 kB / 0.8355 GB, free: 5.254 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003287/0.1656, allocations: 151.2 kB / 0.8357 GB, free: 5.094 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.416e-06/0.1656, allocations: 7.875 kB / 0.8357 GB, free: 5.086 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.476e-05/0.1657, allocations: 4 kB / 0.8357 GB, free: 5.082 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.348e-06/0.1657, allocations: 0 / 0.8357 GB, free: 5.082 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00032/0.166, allocations: 117.6 kB / 0.8358 GB, free: 4.961 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00053/0.1665, allocations: 291.8 kB / 0.8361 GB, free: 4.633 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003497/0.1669, allocations: 132.2 kB / 0.8362 GB, free: 4.488 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002017/0.1671, allocations: 98.56 kB / 0.8363 GB, free: 4.383 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 1.539e-05/0.1671, allocations: 4 kB / 0.8363 GB, free: 4.379 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003212/0.1674, allocations: 153 kB / 0.8365 GB, free: 4.211 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=6): time 1.413e-06/0.1674, allocations: 0 / 0.8365 GB, free: 4.211 MB / 0.5762 GB Notification: Performance of matching and sorting (n=6): time 0.0007637/0.1682, allocations: 342.6 kB / 0.8368 GB, free: 3.852 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.429e-05/0.1682, allocations: 85.11 kB / 0.8369 GB, free: 3.75 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001176/0.1683, allocations: 136 kB / 0.837 GB, free: 3.605 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 2.38e-05/0.1684, allocations: 25.7 kB / 0.837 GB, free: 3.574 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 6.56e-05/0.1684, allocations: 100.1 kB / 0.8371 GB, free: 3.473 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 2.487e-05/0.1685, allocations: 19.84 kB / 0.8371 GB, free: 3.453 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.491e-05/0.1685, allocations: 29.7 kB / 0.8372 GB, free: 3.418 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001374/0.1687, allocations: 326.8 kB / 0.8375 GB, free: 3.09 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000234/0.1689, allocations: 127.3 kB / 0.8376 GB, free: 2.953 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002231/0.1691, allocations: 127.3 kB / 0.8377 GB, free: 2.816 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003585/0.1695, allocations: 181.9 kB / 0.8379 GB, free: 2.617 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.613e-06/0.1695, allocations: 0 / 0.8379 GB, free: 2.617 MB / 0.5762 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0005601/0.1701, allocations: 324.3 kB / 0.8382 GB, free: 2.27 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 5.698e-05/0.1701, allocations: 67.39 kB / 0.8383 GB, free: 2.191 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.977e-06/0.1701, allocations: 0 / 0.8383 GB, free: 2.191 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.198e-05/0.1701, allocations: 0 / 0.8383 GB, free: 2.191 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001204/0.1702, allocations: 11.98 kB / 0.8383 GB, free: 2.18 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.789e-06/0.1702, allocations: 4.094 kB / 0.8383 GB, free: 2.176 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001462/0.1704, allocations: 23.91 kB / 0.8383 GB, free: 2.152 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.955e-05/0.1704, allocations: 11.94 kB / 0.8383 GB, free: 2.141 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.0001268/0.1705, allocations: 156.2 kB / 0.8385 GB, free: 1.973 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.122e-05/0.1706, allocations: 11.89 kB / 0.8385 GB, free: 1.961 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.316e-05/0.1706, allocations: 20.69 kB / 0.8385 GB, free: 1.934 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.823e-06/0.1706, allocations: 0 / 0.8385 GB, free: 1.934 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.597e-06/0.1706, allocations: 0 / 0.8385 GB, free: 1.934 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.535e-06/0.1706, allocations: 0 / 0.8385 GB, free: 1.934 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001436/0.1708, allocations: 156.7 kB / 0.8386 GB, free: 1.738 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.012e-06/0.1708, allocations: 0 / 0.8386 GB, free: 1.738 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.613e-05/0.1708, allocations: 11.98 kB / 0.8387 GB, free: 1.727 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.616e-06/0.1708, allocations: 7.984 kB / 0.8387 GB, free: 1.719 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.35e-05/0.1709, allocations: 8.25 kB / 0.8387 GB, free: 1.711 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.253e-06/0.1709, allocations: 0 / 0.8387 GB, free: 1.711 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.605e-06/0.1709, allocations: 4 kB / 0.8387 GB, free: 1.707 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005235/0.1714, allocations: 272.3 kB / 0.8389 GB, free: 1.41 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 2.176e-05/0.1714, allocations: 15.89 kB / 0.8389 GB, free: 1.395 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.827e-05/0.1714, allocations: 7.984 kB / 0.839 GB, free: 1.387 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001373/0.1716, allocations: 19.98 kB / 0.839 GB, free: 1.367 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001126/0.1717, allocations: 35.95 kB / 0.839 GB, free: 1.332 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.346e-05/0.1717, allocations: 7.938 kB / 0.839 GB, free: 1.324 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 7.526e-05/0.1718, allocations: 110 kB / 0.8391 GB, free: 1.219 MB / 0.5762 GB Notification: Performance of sort global known variables: time 8e-08/0.1718, allocations: 0 / 0.8391 GB, free: 1.219 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0002108/0.172, allocations: 24 kB / 0.8391 GB, free: 1.195 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.0008284/0.1728, allocations: 0.8032 MB / 0.8399 GB, free: 360 kB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.000577/0.1734, allocations: 347.7 kB / 0.8403 GB, free: 15.97 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 1.563e-06/0.1734, allocations: 0 / 0.8403 GB, free: 15.97 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0002729/0.1737, allocations: 161 kB / 0.8404 GB, free: 15.79 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002122/0.1739, allocations: 15.98 kB / 0.8404 GB, free: 15.78 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00261/0.1765, allocations: 2.026 MB / 0.8424 GB, free: 13.6 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.748e-05/0.1766, allocations: 75.58 kB / 0.8425 GB, free: 13.51 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 5.698e-05/0.1766, allocations: 11.98 kB / 0.8425 GB, free: 13.5 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.263e-05/0.1767, allocations: 23.42 kB / 0.8425 GB, free: 13.47 MB / 0.5919 GB Notification: Performance of SimCode: time 3.91e-07/0.1767, allocations: 0 / 0.8425 GB, free: 13.47 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02888/0.2056, allocations: 3.753 MB / 0.8462 GB, free: 9.875 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.82/11.03, allocations: 8.953 kB / 0.8462 GB, free: 9.871 MB / 0.5919 GB " [Timeout remaining time 649] (rm -f BuildingSystems_BuildingSystems.Controls.Continuous.Examples.NumberOfRequests.pipe ; mkfifo BuildingSystems_BuildingSystems.Controls.Continuous.Examples.NumberOfRequests.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Controls.Continuous.Examples.NumberOfRequests.pipe >> ../files/BuildingSystems_BuildingSystems.Controls.Continuous.Examples.NumberOfRequests.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Controls_Continuous_Examples_NumberOfRequests_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Controls_Continuous_Examples_NumberOfRequests.fmu > BuildingSystems_BuildingSystems.Controls.Continuous.Examples.NumberOfRequests.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 15.051005325745791] Failed to read output from testmodel.py, exit status != 0: 11.134185607079417 11.160909895 10.991989098 Calling exit ...