Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Controls.Continuous.Examples.SignalRanker.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.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(IBPSA.Controls.Continuous.Examples.SignalRanker,fileNamePrefix="IBPSA_latest_IBPSA_Controls_Continuous_Examples_SignalRanker",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Controls.Continuous.Examples.SignalRanker,fileNamePrefix="IBPSA_latest_IBPSA_Controls_Continuous_Examples_SignalRanker",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001428/0.001428, allocations: 105.7 kB / 16.4 MB, free: 6.516 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001581/0.001581, allocations: 193.2 kB / 17.34 MB, free: 5.738 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.327/1.327, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7706/0.7706, allocations: 122.9 MB / 414.1 MB, free: 15.84 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001248/0.001248, allocations: 70.09 kB / 0.5679 GB, free: 29.03 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1168/0.1181, allocations: 77.93 MB / 0.644 GB, free: 9.586 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Controls.Continuous.Examples.SignalRanker): time 0.002318/0.1205, allocations: 1.523 MB / 0.6455 GB, free: 8.055 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009217/0.1214, allocations: 0.5815 MB / 0.6461 GB, free: 7.469 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.431e-05/0.1215, allocations: 4 kB / 0.6461 GB, free: 7.465 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 9.763e-05/0.1216, allocations: 11.86 kB / 0.6461 GB, free: 7.453 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 5.335e-05/0.1216, allocations: 19.8 kB / 0.6461 GB, free: 7.434 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003617/0.122, allocations: 91.77 kB / 0.6462 GB, free: 7.344 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001387/0.1222, allocations: 103.6 kB / 0.6463 GB, free: 7.242 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001124/0.1223, allocations: 20.23 kB / 0.6463 GB, free: 7.219 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001157/0.1224, allocations: 39.89 kB / 0.6464 GB, free: 7.18 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.139e-05/0.1225, allocations: 47.77 kB / 0.6464 GB, free: 7.133 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 2.202e-05/0.1225, allocations: 8 kB / 0.6464 GB, free: 7.125 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001287/0.1227, allocations: 87.91 kB / 0.6465 GB, free: 7.039 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 4.562e-05/0.1227, allocations: 19.92 kB / 0.6465 GB, free: 7.02 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 5.718e-05/0.1228, allocations: 47.72 kB / 0.6466 GB, free: 6.973 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002078/0.123, allocations: 139.7 kB / 0.6467 GB, free: 6.836 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.487e-06/0.123, allocations: 0 / 0.6467 GB, free: 6.836 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.122e-06/0.123, allocations: 4 kB / 0.6467 GB, free: 6.832 MB / 494.1 MB Notification: Performance of Transformations before backend: time 7.945e-06/0.123, allocations: 0 / 0.6467 GB, free: 6.832 MB / 494.1 MB 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.0007595/0.1238, allocations: 456.6 kB / 0.6471 GB, free: 6.332 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.608e-05/0.1238, allocations: 12.62 kB / 0.6471 GB, free: 6.32 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.308e-05/0.1239, allocations: 38.69 kB / 0.6472 GB, free: 6.273 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.033e-05/0.1239, allocations: 8.891 kB / 0.6472 GB, free: 6.266 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001695/0.1241, allocations: 204.2 kB / 0.6474 GB, free: 6.027 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.212e-05/0.1241, allocations: 4.375 kB / 0.6474 GB, free: 6.023 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.158e-05/0.1241, allocations: 8.312 kB / 0.6474 GB, free: 6.016 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003128/0.1245, allocations: 109.7 kB / 0.6475 GB, free: 5.902 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.233e-06/0.1245, allocations: 0 / 0.6475 GB, free: 5.902 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.375e-05/0.1245, allocations: 0 / 0.6475 GB, free: 5.902 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.61e-05/0.1245, allocations: 4 kB / 0.6475 GB, free: 5.898 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003399/0.1249, allocations: 95.84 kB / 0.6476 GB, free: 5.805 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006181/0.1255, allocations: 344.6 kB / 0.6479 GB, free: 5.418 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003187/0.1258, allocations: 90.5 kB / 0.648 GB, free: 5.32 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001826/0.126, allocations: 64.88 kB / 0.6481 GB, free: 5.254 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.459e-05/0.1261, allocations: 0 / 0.6481 GB, free: 5.254 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003715/0.1264, allocations: 119.3 kB / 0.6482 GB, free: 5.125 MB / 494.1 MB Notification: Performance of pre-optimization done (n=9): time 1.934e-06/0.1265, allocations: 0 / 0.6482 GB, free: 5.125 MB / 494.1 MB Notification: Performance of matching and sorting (n=9): time 0.0006725/0.1271, allocations: 201.5 kB / 0.6484 GB, free: 4.922 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.574e-05/0.1272, allocations: 59.34 kB / 0.6484 GB, free: 4.852 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001048/0.1273, allocations: 144.5 kB / 0.6486 GB, free: 4.703 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 2.099e-05/0.1273, allocations: 25.7 kB / 0.6486 GB, free: 4.672 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.701e-05/0.1274, allocations: 104 kB / 0.6487 GB, free: 4.566 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.673e-05/0.1274, allocations: 23.84 kB / 0.6487 GB, free: 4.543 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.867e-05/0.1275, allocations: 29.7 kB / 0.6488 GB, free: 4.508 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 8.888e-05/0.1276, allocations: 326.8 kB / 0.6491 GB, free: 4.18 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002015/0.1278, allocations: 55.95 kB / 0.6491 GB, free: 4.125 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001814/0.128, allocations: 56.23 kB / 0.6492 GB, free: 4.07 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003737/0.1284, allocations: 146.5 kB / 0.6493 GB, free: 3.918 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.174e-06/0.1284, allocations: 0 / 0.6493 GB, free: 3.918 MB / 494.1 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.000483/0.1289, allocations: 211.2 kB / 0.6495 GB, free: 3.699 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.435e-05/0.1289, allocations: 33.7 kB / 0.6495 GB, free: 3.66 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.702e-06/0.1289, allocations: 0 / 0.6495 GB, free: 3.66 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.268e-05/0.1289, allocations: 4 kB / 0.6495 GB, free: 3.656 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001549/0.1291, allocations: 23.97 kB / 0.6496 GB, free: 3.633 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.21e-06/0.1291, allocations: 0 / 0.6496 GB, free: 3.633 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001527/0.1293, allocations: 15.92 kB / 0.6496 GB, free: 3.617 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.727e-05/0.1293, allocations: 7.938 kB / 0.6496 GB, free: 3.609 MB / 494.1 MB 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 9.526e-05/0.1294, allocations: 121.9 kB / 0.6497 GB, free: 3.48 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.224e-05/0.1294, allocations: 11.95 kB / 0.6497 GB, free: 3.469 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.608e-05/0.1295, allocations: 12.7 kB / 0.6497 GB, free: 3.449 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.501e-05/0.1295, allocations: 7.938 kB / 0.6497 GB, free: 3.441 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.048e-06/0.1295, allocations: 4 kB / 0.6497 GB, free: 3.438 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.996e-06/0.1295, allocations: 0 / 0.6497 GB, free: 3.438 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001634/0.1297, allocations: 201.5 kB / 0.6499 GB, free: 3.191 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.184e-06/0.1297, allocations: 0 / 0.6499 GB, free: 3.191 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001232/0.1298, allocations: 19.97 kB / 0.65 GB, free: 3.172 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.913e-06/0.1298, allocations: 0 / 0.65 GB, free: 3.172 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.257e-05/0.1298, allocations: 4 kB / 0.65 GB, free: 3.168 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.553e-06/0.1298, allocations: 0 / 0.65 GB, free: 3.168 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.011e-06/0.1298, allocations: 4 kB / 0.65 GB, free: 3.164 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004626/0.1303, allocations: 192.8 kB / 0.6501 GB, free: 2.957 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.287e-05/0.1304, allocations: 81.06 kB / 0.6502 GB, free: 2.859 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.765e-05/0.1304, allocations: 4 kB / 0.6502 GB, free: 2.855 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001373/0.1305, allocations: 15.97 kB / 0.6502 GB, free: 2.84 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.951e-05/0.1306, allocations: 11.98 kB / 0.6503 GB, free: 2.828 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.073e-05/0.1306, allocations: 8 kB / 0.6503 GB, free: 2.82 MB / 494.1 MB Notification: Performance of sorting global known variables: time 6.821e-05/0.1307, allocations: 111.2 kB / 0.6504 GB, free: 2.711 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.91e-07/0.1307, allocations: 0 / 0.6504 GB, free: 2.711 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002543/0.131, allocations: 43.89 kB / 0.6504 GB, free: 2.668 MB / 494.1 MB 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.0007564/0.1317, allocations: 0.7405 MB / 0.6511 GB, free: 1.902 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0004794/0.1322, allocations: 187.2 kB / 0.6513 GB, free: 1.707 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.1322, allocations: 0 / 0.6513 GB, free: 1.707 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002239/0.1325, allocations: 67.94 kB / 0.6514 GB, free: 1.641 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002188/0.1327, allocations: 21.88 kB / 0.6514 GB, free: 1.621 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002305/0.135, allocations: 1.706 MB / 0.6531 GB, free: 15.83 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000226/0.1353, allocations: 0.7002 MB / 0.6537 GB, free: 15.11 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 7.982e-05/0.1354, allocations: 11.98 kB / 0.6538 GB, free: 15.09 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.003e-05/0.1354, allocations: 31.42 kB / 0.6538 GB, free: 15.06 MB / 0.4981 GB Notification: Performance of SimCode: time 4.71e-07/0.1354, allocations: 0 / 0.6538 GB, free: 15.06 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01835/0.1538, allocations: 2.746 MB / 0.6565 GB, free: 12.41 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.695/7.849, allocations: 7.922 kB / 0.6565 GB, free: 12.4 MB / 0.4981 GB (rm -f IBPSA_latest_IBPSA.Controls.Continuous.Examples.SignalRanker.pipe ; mkfifo IBPSA_latest_IBPSA.Controls.Continuous.Examples.SignalRanker.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Controls.Continuous.Examples.SignalRanker.pipe >> ../files/IBPSA_latest_IBPSA.Controls.Continuous.Examples.SignalRanker.sim & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.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 IBPSA_latest_IBPSA_Controls_Continuous_Examples_SignalRanker.fmu > IBPSA_latest_IBPSA.Controls.Continuous.Examples.SignalRanker.pipe 2>&1)