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.0008112/0.0008111, allocations: 96.27 kB / 15.69 MB, free: 476 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.0008104/0.0008104, allocations: 176.6 kB / 16.57 MB, free: 6.859 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.17/1.17, allocations: 223.2 MB / 240.5 MB, free: 5.453 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.587/0.587, allocations: 113.7 MB / 405.3 MB, free: 4.688 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002725/0.0002725, allocations: 8 kB / 493 MB, free: 8.617 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1199/0.1202, allocations: 77.13 MB / 0.5567 GB, free: 11.69 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Controls.Continuous.Examples.SignalRanker): time 0.001286/0.1215, allocations: 1.22 MB / 0.5579 GB, free: 10.46 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007069/0.1222, allocations: 0.542 MB / 0.5584 GB, free: 9.918 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.828e-05/0.1223, allocations: 0 / 0.5584 GB, free: 9.918 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 7.424e-05/0.1224, allocations: 11.92 kB / 0.5585 GB, free: 9.906 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 4.601e-05/0.1224, allocations: 15.97 kB / 0.5585 GB, free: 9.891 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000267/0.1227, allocations: 75.78 kB / 0.5585 GB, free: 9.816 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 8.468e-05/0.1228, allocations: 51.92 kB / 0.5586 GB, free: 9.766 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.298e-05/0.1229, allocations: 12.17 kB / 0.5586 GB, free: 9.75 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.675e-05/0.123, allocations: 39.89 kB / 0.5586 GB, free: 9.711 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.165e-05/0.1231, allocations: 43.83 kB / 0.5587 GB, free: 9.668 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 1.268e-05/0.1231, allocations: 3.938 kB / 0.5587 GB, free: 9.664 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.51e-05/0.1232, allocations: 47.97 kB / 0.5587 GB, free: 9.617 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 4.121e-05/0.1232, allocations: 19.91 kB / 0.5587 GB, free: 9.598 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 3.54e-05/0.1232, allocations: 37.64 kB / 0.5588 GB, free: 9.555 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001256/0.1234, allocations: 96.03 kB / 0.5589 GB, free: 9.461 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.834e-06/0.1234, allocations: 0 / 0.5589 GB, free: 9.461 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.222e-06/0.1234, allocations: 0 / 0.5589 GB, free: 9.461 MB / 430.1 MB Notification: Performance of Transformations before backend: time 3.156e-06/0.1234, allocations: 0 / 0.5589 GB, free: 9.461 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.0006422/0.124, allocations: 456.6 kB / 0.5593 GB, free: 8.961 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.073e-05/0.1241, allocations: 8.031 kB / 0.5593 GB, free: 8.953 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.382e-05/0.1241, allocations: 34.56 kB / 0.5594 GB, free: 8.91 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.348e-05/0.1242, allocations: 11.91 kB / 0.5594 GB, free: 8.898 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001527/0.1243, allocations: 192.5 kB / 0.5595 GB, free: 8.672 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.178e-06/0.1243, allocations: 0 / 0.5595 GB, free: 8.672 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.671e-05/0.1244, allocations: 7.953 kB / 0.5596 GB, free: 8.664 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000273/0.1246, allocations: 117.6 kB / 0.5597 GB, free: 8.543 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.2e-06/0.1247, allocations: 0 / 0.5597 GB, free: 8.543 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.152e-05/0.1247, allocations: 0 / 0.5597 GB, free: 8.543 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.894e-05/0.1247, allocations: 4 kB / 0.5597 GB, free: 8.539 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000316/0.125, allocations: 111.9 kB / 0.5598 GB, free: 8.43 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005531/0.1256, allocations: 360.6 kB / 0.5601 GB, free: 8.027 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002984/0.1259, allocations: 114.5 kB / 0.5602 GB, free: 7.906 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.19e-05/0.1259, allocations: 0 / 0.5602 GB, free: 7.906 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002899/0.1262, allocations: 127.3 kB / 0.5604 GB, free: 7.77 MB / 430.1 MB Notification: Performance of pre-optimization done (n=9): time 1.343e-06/0.1262, allocations: 0 / 0.5604 GB, free: 7.77 MB / 430.1 MB Notification: Performance of matching and sorting (n=9): time 0.0006267/0.1268, allocations: 314.5 kB / 0.5607 GB, free: 7.438 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.163e-05/0.1269, allocations: 55.69 kB / 0.5607 GB, free: 7.371 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.981e-05/0.127, allocations: 136.1 kB / 0.5608 GB, free: 7.23 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 1.784e-05/0.127, allocations: 33.7 kB / 0.5609 GB, free: 7.191 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.164e-05/0.1271, allocations: 107.9 kB / 0.561 GB, free: 7.082 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.515e-05/0.1271, allocations: 27.77 kB / 0.561 GB, free: 7.055 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.787e-06/0.1271, allocations: 4 kB / 0.561 GB, free: 7.051 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 8.981e-05/0.1272, allocations: 318.8 kB / 0.5613 GB, free: 6.73 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001889/0.1274, allocations: 72.05 kB / 0.5614 GB, free: 6.66 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001654/0.1276, allocations: 71.89 kB / 0.5614 GB, free: 6.59 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001859/0.1278, allocations: 97.38 kB / 0.5615 GB, free: 6.492 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.904e-06/0.1278, allocations: 4 kB / 0.5615 GB, free: 6.488 MB / 430.1 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0004247/0.1282, allocations: 211.2 kB / 0.5617 GB, free: 6.27 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.902e-05/0.1283, allocations: 33.69 kB / 0.5618 GB, free: 6.23 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.658e-06/0.1283, allocations: 4 kB / 0.5618 GB, free: 6.227 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.197e-06/0.1283, allocations: 0 / 0.5618 GB, free: 6.227 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001359/0.1284, allocations: 19.98 kB / 0.5618 GB, free: 6.207 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.408e-06/0.1284, allocations: 0 / 0.5618 GB, free: 6.207 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001377/0.1286, allocations: 39.81 kB / 0.5618 GB, free: 6.168 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.298e-05/0.1286, allocations: 0 / 0.5618 GB, free: 6.168 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 ($whenCondition1,$PRE.pulse.T_start,pulse.T_start,$PRE.pulse.count,pulse.count) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.561e-05/0.1287, allocations: 121.8 kB / 0.5619 GB, free: 6.039 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.611e-05/0.1287, allocations: 7.906 kB / 0.562 GB, free: 6.031 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.841e-05/0.1287, allocations: 16.7 kB / 0.562 GB, free: 6.016 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.273e-05/0.1288, allocations: 8 kB / 0.562 GB, free: 6.008 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.406e-06/0.1288, allocations: 0 / 0.562 GB, free: 6.008 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.867e-06/0.1288, allocations: 0 / 0.562 GB, free: 6.008 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001404/0.1289, allocations: 205.5 kB / 0.5622 GB, free: 5.758 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.468e-06/0.1289, allocations: 0 / 0.5622 GB, free: 5.758 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001092/0.129, allocations: 23.92 kB / 0.5622 GB, free: 5.734 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.546e-06/0.1291, allocations: 4 kB / 0.5622 GB, free: 5.73 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.205e-05/0.1291, allocations: 7.984 kB / 0.5622 GB, free: 5.723 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.212e-06/0.1291, allocations: 0 / 0.5622 GB, free: 5.723 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.81e-07/0.1291, allocations: 0 / 0.5622 GB, free: 5.723 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004/0.1295, allocations: 204.8 kB / 0.5624 GB, free: 5.504 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.6e-05/0.1295, allocations: 93.11 kB / 0.5625 GB, free: 5.395 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.063e-05/0.1296, allocations: 0 / 0.5625 GB, free: 5.395 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001237/0.1297, allocations: 23.92 kB / 0.5625 GB, free: 5.371 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.036e-05/0.1298, allocations: 15.97 kB / 0.5625 GB, free: 5.355 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.045e-05/0.1298, allocations: 4 kB / 0.5625 GB, free: 5.352 MB / 430.1 MB Notification: Performance of sorting global known variables: time 5.918e-05/0.1298, allocations: 104.8 kB / 0.5626 GB, free: 5.25 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1298, allocations: 0 / 0.5626 GB, free: 5.25 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0002209/0.1301, allocations: 36 kB / 0.5627 GB, free: 5.215 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0006706/0.1307, allocations: 0.7535 MB / 0.5634 GB, free: 4.434 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0004339/0.1312, allocations: 203.3 kB / 0.5636 GB, free: 4.223 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.1312, allocations: 0 / 0.5636 GB, free: 4.223 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002004/0.1314, allocations: 79.89 kB / 0.5637 GB, free: 4.145 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001475/0.1316, allocations: 15.92 kB / 0.5637 GB, free: 4.129 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001346/0.1329, allocations: 0.8175 MB / 0.5645 GB, free: 3.254 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001959/0.1331, allocations: 0.7004 MB / 0.5652 GB, free: 2.527 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 6.497e-05/0.1332, allocations: 19.77 kB / 0.5652 GB, free: 2.508 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.195e-05/0.1333, allocations: 27.42 kB / 0.5652 GB, free: 2.484 MB / 430.1 MB Notification: Performance of SimCode: time 2.1e-07/0.1333, allocations: 0 / 0.5652 GB, free: 2.484 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1103/0.2436, allocations: 2.4 MB / 0.5676 GB, free: 236 kB / 430.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002053/0.2439, allocations: 170.5 kB / 0.5677 GB, free: 16 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.629/1.873, allocations: 0 / 0.5677 GB, free: 16 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/linux/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) Environment - environmentSimulation: