Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Controls.Continuous.Examples.SignalRanker.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.001495/0.001495, allocations: 109.9 kB / 16.46 MB, free: 6.508 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.001565/0.001565, allocations: 215.2 kB / 19.43 MB, free: 3.648 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.316/1.316, allocations: 230.6 MB / 252.8 MB, free: 9.105 MB / 206.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002334/0.002334, allocations: 289.8 kB / 309.1 MB, free: 3.98 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.107/1.107, allocations: 180.9 MB / 0.5333 GB, free: 13.79 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 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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.SignalRanker,fileNamePrefix="BuildingSystems_BuildingSystems_Controls_Continuous_Examples_SignalRanker",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Controls.Continuous.Examples.SignalRanker,fileNamePrefix="BuildingSystems_BuildingSystems_Controls_Continuous_Examples_SignalRanker",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.002623/0.002623, allocations: 109.4 kB / 0.7342 GB, free: 28.29 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1366/0.1392, allocations: 95.34 MB / 0.8273 GB, free: 9.859 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Controls.Continuous.Examples.SignalRanker): time 0.002591/0.1418, allocations: 1.568 MB / 0.8289 GB, free: 8.277 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.001034/0.1428, allocations: 0.6482 MB / 0.8295 GB, free: 7.625 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.261e-05/0.1429, allocations: 0 / 0.8295 GB, free: 7.625 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 9.335e-05/0.143, allocations: 19.86 kB / 0.8295 GB, free: 7.605 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 4.78e-05/0.143, allocations: 15.8 kB / 0.8295 GB, free: 7.59 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003578/0.1434, allocations: 107.8 kB / 0.8296 GB, free: 7.484 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0001544/0.1435, allocations: 103.6 kB / 0.8297 GB, free: 7.383 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 8.212e-05/0.1436, allocations: 16.22 kB / 0.8297 GB, free: 7.363 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001336/0.1437, allocations: 47.78 kB / 0.8298 GB, free: 7.316 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 8.013e-05/0.1438, allocations: 51.75 kB / 0.8298 GB, free: 7.266 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 2.048e-05/0.1438, allocations: 8 kB / 0.8298 GB, free: 7.258 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001532/0.144, allocations: 103.8 kB / 0.8299 GB, free: 7.156 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 4.495e-05/0.144, allocations: 23.92 kB / 0.83 GB, free: 7.133 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 5.359e-05/0.1441, allocations: 47.73 kB / 0.83 GB, free: 7.086 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0002064/0.1443, allocations: 147.7 kB / 0.8301 GB, free: 6.941 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 2.625e-06/0.1443, allocations: 0 / 0.8301 GB, free: 6.941 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.112e-06/0.1443, allocations: 3.938 kB / 0.8302 GB, free: 6.938 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 8.225e-06/0.1443, allocations: 0 / 0.8302 GB, free: 6.938 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: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0007386/0.145, allocations: 456.6 kB / 0.8306 GB, free: 6.438 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.041e-05/0.1451, allocations: 12.03 kB / 0.8306 GB, free: 6.426 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.769e-05/0.1451, allocations: 38.73 kB / 0.8306 GB, free: 6.379 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002424/0.1454, allocations: 32.88 kB / 0.8307 GB, free: 6.348 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002136/0.1456, allocations: 196.2 kB / 0.8309 GB, free: 6.117 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.402e-05/0.1456, allocations: 4.359 kB / 0.8309 GB, free: 6.113 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.409e-05/0.1456, allocations: 12.36 kB / 0.8309 GB, free: 6.102 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003063/0.1459, allocations: 109.7 kB / 0.831 GB, free: 5.988 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.665e-06/0.1459, allocations: 0 / 0.831 GB, free: 5.988 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.383e-05/0.1459, allocations: 4 kB / 0.831 GB, free: 5.984 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.704e-05/0.146, allocations: 8 kB / 0.831 GB, free: 5.977 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003211/0.1463, allocations: 79.92 kB / 0.8311 GB, free: 5.898 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006145/0.1469, allocations: 348.6 kB / 0.8314 GB, free: 5.508 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003149/0.1472, allocations: 94.45 kB / 0.8315 GB, free: 5.406 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001786/0.1474, allocations: 52.88 kB / 0.8315 GB, free: 5.352 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 1.513e-05/0.1474, allocations: 0 / 0.8315 GB, free: 5.352 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002926/0.1477, allocations: 119.3 kB / 0.8316 GB, free: 5.223 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=9): time 1.403e-06/0.1477, allocations: 0 / 0.8316 GB, free: 5.223 MB / 0.5762 GB Notification: Performance of matching and sorting (n=9): time 0.0006626/0.1484, allocations: 205.8 kB / 0.8318 GB, free: 5.016 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.733e-05/0.1484, allocations: 55.41 kB / 0.8319 GB, free: 4.949 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000127/0.1485, allocations: 149.8 kB / 0.832 GB, free: 4.793 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 2.418e-05/0.1485, allocations: 33.64 kB / 0.8321 GB, free: 4.754 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 6.567e-05/0.1486, allocations: 108 kB / 0.8322 GB, free: 4.645 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 2.552e-05/0.1486, allocations: 19.81 kB / 0.8322 GB, free: 4.625 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.369e-05/0.1487, allocations: 29.7 kB / 0.8322 GB, free: 4.59 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001367/0.1488, allocations: 318.8 kB / 0.8325 GB, free: 4.27 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001969/0.149, allocations: 59.89 kB / 0.8326 GB, free: 4.211 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000182/0.1492, allocations: 59.95 kB / 0.8326 GB, free: 4.152 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003787/0.1496, allocations: 142.5 kB / 0.8328 GB, free: 4.004 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.463e-06/0.1496, allocations: 0 / 0.8328 GB, free: 4.004 MB / 0.5762 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0004785/0.1501, allocations: 199.3 kB / 0.833 GB, free: 3.797 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 3.16e-05/0.1501, allocations: 37.64 kB / 0.833 GB, free: 3.754 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.897e-06/0.1501, allocations: 0 / 0.833 GB, free: 3.754 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.869e-06/0.1501, allocations: 0 / 0.833 GB, free: 3.754 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000134/0.1502, allocations: 23.97 kB / 0.833 GB, free: 3.73 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.356e-06/0.1503, allocations: 8 kB / 0.833 GB, free: 3.723 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001368/0.1504, allocations: 27.88 kB / 0.8331 GB, free: 3.695 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.512e-05/0.1504, allocations: 7.984 kB / 0.8331 GB, free: 3.688 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: 5 (pulse.count,$PRE.pulse.count,pulse.T_start,$PRE.pulse.T_start,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (9): * Single equations (assignments): 7 * Array equations: 1 * Algorithm blocks: 1 * 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.0001025/0.1505, allocations: 122.5 kB / 0.8332 GB, free: 3.559 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.038e-05/0.1505, allocations: 7.953 kB / 0.8332 GB, free: 3.551 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.793e-05/0.1506, allocations: 20.7 kB / 0.8332 GB, free: 3.527 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.224e-05/0.1506, allocations: 4 kB / 0.8332 GB, free: 3.523 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.861e-06/0.1506, allocations: 3.938 kB / 0.8332 GB, free: 3.52 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.615e-06/0.1506, allocations: 0 / 0.8332 GB, free: 3.52 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001772/0.1508, allocations: 193.6 kB / 0.8334 GB, free: 3.281 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.102e-06/0.1508, allocations: 0 / 0.8334 GB, free: 3.281 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001082/0.1509, allocations: 11.98 kB / 0.8334 GB, free: 3.27 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.653e-06/0.1509, allocations: 8 kB / 0.8334 GB, free: 3.262 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.928e-06/0.1509, allocations: 3.938 kB / 0.8334 GB, free: 3.258 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.055e-06/0.1509, allocations: 3.984 kB / 0.8334 GB, free: 3.254 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.375e-06/0.1509, allocations: 3.938 kB / 0.8334 GB, free: 3.25 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004422/0.1513, allocations: 181.1 kB / 0.8336 GB, free: 3.055 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 5.883e-05/0.1514, allocations: 93.05 kB / 0.8337 GB, free: 2.945 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.03e-05/0.1514, allocations: 3.938 kB / 0.8337 GB, free: 2.941 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001209/0.1515, allocations: 15.98 kB / 0.8337 GB, free: 2.926 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.267e-05/0.1516, allocations: 19.91 kB / 0.8337 GB, free: 2.906 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.013e-05/0.1516, allocations: 3.938 kB / 0.8337 GB, free: 2.902 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 7.314e-05/0.1517, allocations: 110.3 kB / 0.8338 GB, free: 2.797 MB / 0.5762 GB Notification: Performance of sort global known variables: time 7.1e-08/0.1517, allocations: 0 / 0.8338 GB, free: 2.797 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0002302/0.1519, allocations: 47.91 kB / 0.8339 GB, free: 2.75 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: 3 ($whenCondition1,pulse.T_start,pulse.count) * Number of discrete states: 1 (pulse.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 4 * Array equations: 1 * Algorithm blocks: 0 * 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.0007993/0.1527, allocations: 0.7333 MB / 0.8346 GB, free: 1.988 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0004572/0.1532, allocations: 175.3 kB / 0.8348 GB, free: 1.805 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 1.583e-06/0.1532, allocations: 3.938 kB / 0.8348 GB, free: 1.801 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0002079/0.1534, allocations: 63.89 kB / 0.8348 GB, free: 1.738 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001877/0.1536, allocations: 19.91 kB / 0.8349 GB, free: 1.719 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002358/0.1559, allocations: 1.716 MB / 0.8365 GB, free: 15.91 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000309/0.1562, allocations: 0.7002 MB / 0.8372 GB, free: 15.19 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 6.398e-05/0.1563, allocations: 19.77 kB / 0.8372 GB, free: 15.17 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.265e-05/0.1564, allocations: 27.42 kB / 0.8373 GB, free: 15.14 MB / 0.5919 GB Notification: Performance of SimCode: time 2.61e-07/0.1564, allocations: 0 / 0.8373 GB, free: 15.14 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02344/0.1798, allocations: 2.834 MB / 0.84 GB, free: 12.43 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.299/7.479, allocations: 3.516 kB / 0.84 GB, free: 12.43 MB / 0.5919 GB " [Timeout remaining time 652] (rm -f BuildingSystems_BuildingSystems.Controls.Continuous.Examples.SignalRanker.pipe ; mkfifo BuildingSystems_BuildingSystems.Controls.Continuous.Examples.SignalRanker.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Controls.Continuous.Examples.SignalRanker.pipe >> ../files/BuildingSystems_BuildingSystems.Controls.Continuous.Examples.SignalRanker.sim & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.Controls.Continuous.Examples.SignalRanker_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 BuildingSystems_BuildingSystems_Controls_Continuous_Examples_SignalRanker.fmu > BuildingSystems_BuildingSystems.Controls.Continuous.Examples.SignalRanker.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 11.176223781891167] Failed to read output from testmodel.py, exit status != 0: 7.542752868961543 7.55618237 7.409350135 Calling exit ...