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.001163/0.001163, allocations: 100.1 kB / 15.88 MB, free: 12 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00112/0.00112, allocations: 210.1 kB / 16.79 MB, free: 6.84 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.157/1.157, allocations: 222.9 MB / 240.5 MB, free: 4.613 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6088/0.6088, allocations: 115.3 MB / 405.9 MB, free: 2.797 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001118/0.001118, allocations: 71.53 kB / 493 MB, free: 6.766 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1121/0.1133, allocations: 76.18 MB / 0.5558 GB, free: 10.79 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Controls.Continuous.Examples.SignalRanker): time 0.002457/0.1158, allocations: 1.604 MB / 0.5574 GB, free: 9.172 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008875/0.1167, allocations: 0.5923 MB / 0.558 GB, free: 8.574 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.14e-05/0.1167, allocations: 0 / 0.558 GB, free: 8.574 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 8.978e-05/0.1168, allocations: 11.92 kB / 0.558 GB, free: 8.562 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 5.044e-05/0.1169, allocations: 11.86 kB / 0.558 GB, free: 8.551 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002844/0.1172, allocations: 67.88 kB / 0.5581 GB, free: 8.484 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.00011/0.1173, allocations: 95.62 kB / 0.5582 GB, free: 8.391 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.742e-05/0.1174, allocations: 24.22 kB / 0.5582 GB, free: 8.363 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.874e-05/0.1175, allocations: 39.84 kB / 0.5582 GB, free: 8.324 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.665e-05/0.1176, allocations: 47.81 kB / 0.5583 GB, free: 8.277 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 2.016e-05/0.1176, allocations: 4 kB / 0.5583 GB, free: 8.273 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001029/0.1177, allocations: 55.91 kB / 0.5583 GB, free: 8.219 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 4.299e-05/0.1178, allocations: 19.91 kB / 0.5583 GB, free: 8.199 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 5.284e-05/0.1178, allocations: 43.73 kB / 0.5584 GB, free: 8.156 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001678/0.118, allocations: 127.9 kB / 0.5585 GB, free: 8.031 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.075e-06/0.118, allocations: 0 / 0.5585 GB, free: 8.031 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.022e-06/0.118, allocations: 4 kB / 0.5585 GB, free: 8.027 MB / 430.1 MB Notification: Performance of Transformations before backend: time 3.517e-06/0.118, allocations: 0 / 0.5585 GB, free: 8.027 MB / 430.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.0006976/0.1187, allocations: 456.6 kB / 0.5589 GB, free: 7.527 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.286e-05/0.1188, allocations: 16.02 kB / 0.559 GB, free: 7.512 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.63e-05/0.1188, allocations: 34.75 kB / 0.559 GB, free: 7.469 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.65e-05/0.1189, allocations: 12.84 kB / 0.559 GB, free: 7.457 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001564/0.119, allocations: 188.2 kB / 0.5592 GB, free: 7.234 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.598e-06/0.119, allocations: 4.375 kB / 0.5592 GB, free: 7.23 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.417e-05/0.1191, allocations: 384 / 0.5592 GB, free: 7.23 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002802/0.1194, allocations: 113.7 kB / 0.5593 GB, free: 7.113 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.012e-06/0.1194, allocations: 0 / 0.5593 GB, free: 7.113 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.192e-05/0.1194, allocations: 0 / 0.5593 GB, free: 7.113 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.976e-05/0.1194, allocations: 8 kB / 0.5593 GB, free: 7.105 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003064/0.1197, allocations: 91.86 kB / 0.5594 GB, free: 7.016 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005716/0.1203, allocations: 352.6 kB / 0.5597 GB, free: 6.621 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002837/0.1206, allocations: 90.45 kB / 0.5598 GB, free: 6.523 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001635/0.1208, allocations: 56.88 kB / 0.5599 GB, free: 6.465 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.29e-05/0.1208, allocations: 0 / 0.5599 GB, free: 6.465 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002862/0.1211, allocations: 115.3 kB / 0.56 GB, free: 6.34 MB / 430.1 MB Notification: Performance of pre-optimization done (n=9): time 1.603e-06/0.1211, allocations: 0 / 0.56 GB, free: 6.34 MB / 430.1 MB Notification: Performance of matching and sorting (n=9): time 0.0006325/0.1217, allocations: 205.4 kB / 0.5602 GB, free: 6.133 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.192e-05/0.1218, allocations: 59.41 kB / 0.5602 GB, free: 6.062 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.417e-05/0.1219, allocations: 139.6 kB / 0.5604 GB, free: 5.918 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 2.498e-05/0.1219, allocations: 29.7 kB / 0.5604 GB, free: 5.883 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.283e-05/0.122, allocations: 104.1 kB / 0.5605 GB, free: 5.777 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.529e-05/0.122, allocations: 31.59 kB / 0.5605 GB, free: 5.746 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.981e-05/0.1221, allocations: 25.7 kB / 0.5605 GB, free: 5.715 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001019/0.1222, allocations: 318.8 kB / 0.5608 GB, free: 5.395 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001835/0.1224, allocations: 60.06 kB / 0.5609 GB, free: 5.336 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001607/0.1225, allocations: 71.81 kB / 0.561 GB, free: 5.266 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003189/0.1228, allocations: 134.5 kB / 0.5611 GB, free: 5.125 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.874e-06/0.1229, allocations: 0 / 0.5611 GB, free: 5.125 MB / 430.1 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0004162/0.1233, allocations: 195.2 kB / 0.5613 GB, free: 4.922 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.385e-05/0.1233, allocations: 41.69 kB / 0.5613 GB, free: 4.875 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.412e-06/0.1233, allocations: 0 / 0.5613 GB, free: 4.875 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.287e-06/0.1233, allocations: 3.938 kB / 0.5613 GB, free: 4.871 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001289/0.1235, allocations: 15.98 kB / 0.5613 GB, free: 4.855 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.479e-06/0.1235, allocations: 0 / 0.5613 GB, free: 4.855 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001346/0.1236, allocations: 23.91 kB / 0.5614 GB, free: 4.832 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.471e-05/0.1237, allocations: 7.938 kB / 0.5614 GB, free: 4.824 MB / 430.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 8.743e-05/0.1237, allocations: 122.3 kB / 0.5615 GB, free: 4.695 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.002e-05/0.1238, allocations: 15.8 kB / 0.5615 GB, free: 4.68 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.826e-05/0.1238, allocations: 16.7 kB / 0.5615 GB, free: 4.664 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.187e-05/0.1238, allocations: 7.938 kB / 0.5615 GB, free: 4.656 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.496e-06/0.1238, allocations: 0 / 0.5615 GB, free: 4.656 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.677e-06/0.1238, allocations: 0 / 0.5615 GB, free: 4.656 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001534/0.124, allocations: 201.5 kB / 0.5617 GB, free: 4.41 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.655e-06/0.124, allocations: 4 kB / 0.5617 GB, free: 4.406 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001029/0.1241, allocations: 19.98 kB / 0.5617 GB, free: 4.387 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.633e-06/0.1241, allocations: 0 / 0.5617 GB, free: 4.387 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.452e-05/0.1241, allocations: 11.98 kB / 0.5618 GB, free: 4.375 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.585e-06/0.1242, allocations: 3.938 kB / 0.5618 GB, free: 4.371 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.41e-07/0.1242, allocations: 0 / 0.5618 GB, free: 4.371 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003902/0.1246, allocations: 180.9 kB / 0.5619 GB, free: 4.176 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.624e-05/0.1246, allocations: 85.02 kB / 0.562 GB, free: 4.074 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.112e-05/0.1246, allocations: 0 / 0.562 GB, free: 4.074 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001193/0.1247, allocations: 11.98 kB / 0.562 GB, free: 4.062 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.785e-05/0.1248, allocations: 19.97 kB / 0.562 GB, free: 4.043 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.716e-06/0.1248, allocations: 0 / 0.562 GB, free: 4.043 MB / 430.1 MB Notification: Performance of sorting global known variables: time 7.324e-05/0.1249, allocations: 112.9 kB / 0.5622 GB, free: 3.934 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.1249, allocations: 0 / 0.5622 GB, free: 3.934 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0002248/0.1251, allocations: 43.98 kB / 0.5622 GB, free: 3.891 MB / 430.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.0006767/0.1258, allocations: 0.7403 MB / 0.5629 GB, free: 3.125 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0004159/0.1262, allocations: 183.3 kB / 0.5631 GB, free: 2.934 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.1263, allocations: 0 / 0.5631 GB, free: 2.934 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001882/0.1265, allocations: 68.08 kB / 0.5632 GB, free: 2.867 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001922/0.1267, allocations: 15.05 kB / 0.5632 GB, free: 2.855 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002037/0.1287, allocations: 1.725 MB / 0.5649 GB, free: 1.043 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002161/0.1289, allocations: 0.7004 MB / 0.5655 GB, free: 324 kB / 430.1 MB Notification: Performance of simCode: alias equations: time 7.252e-05/0.129, allocations: 15.77 kB / 0.5656 GB, free: 308 kB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.594e-05/0.1291, allocations: 27.42 kB / 0.5656 GB, free: 280 kB / 430.1 MB Notification: Performance of SimCode: time 3.21e-07/0.1291, allocations: 4 kB / 0.5656 GB, free: 276 kB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.536/2.666, allocations: 2.468 MB / 0.568 GB, free: 13.89 MB / 446.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003243/2.666, allocations: 196.2 kB / 0.5682 GB, free: 13.64 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.821/4.486, allocations: 0 / 0.5682 GB, free: 13.64 MB / 446.1 MB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Controls_Continuous_Examples_SignalRanker_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Controls_Continuous_Examples_SignalRanker.fmu > IBPSA_latest_IBPSA.Controls.Continuous.Examples.SignalRanker.pipe 2>&1)