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.0008704/0.0008704, allocations: 93.03 kB / 16.02 MB, free: 84 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.0009106/0.0009106, allocations: 178.2 kB / 16.92 MB, free: 6.684 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.236/1.236, allocations: 223.3 MB / 241 MB, free: 5.359 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.638/0.638, allocations: 115.5 MB / 407.6 MB, free: 2.746 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002781/0.0002781, allocations: 12.67 kB / 495.9 MB, free: 6.312 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1178/0.1181, allocations: 77.53 MB / 0.56 GB, free: 8.988 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Controls.Continuous.Examples.SignalRanker): time 0.001507/0.1197, allocations: 1.263 MB / 0.5613 GB, free: 7.715 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008377/0.1205, allocations: 0.569 MB / 0.5618 GB, free: 7.141 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.456e-05/0.1206, allocations: 0 / 0.5618 GB, free: 7.141 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 8.046e-05/0.1207, allocations: 11.94 kB / 0.5618 GB, free: 7.129 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 4.964e-05/0.1207, allocations: 15.86 kB / 0.5619 GB, free: 7.113 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000273/0.121, allocations: 75.8 kB / 0.5619 GB, free: 7.039 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.000104/0.1211, allocations: 87.64 kB / 0.562 GB, free: 6.953 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.044e-05/0.1212, allocations: 20.22 kB / 0.562 GB, free: 6.93 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.812e-05/0.1213, allocations: 43.84 kB / 0.5621 GB, free: 6.887 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.065e-05/0.1214, allocations: 39.81 kB / 0.5621 GB, free: 6.848 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 1.683e-05/0.1214, allocations: 4 kB / 0.5621 GB, free: 6.844 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.154e-05/0.1215, allocations: 59.89 kB / 0.5622 GB, free: 6.785 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 3.939e-05/0.1216, allocations: 15.92 kB / 0.5622 GB, free: 6.77 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 5.53e-05/0.1216, allocations: 57.5 kB / 0.5622 GB, free: 6.707 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000173/0.1218, allocations: 135.8 kB / 0.5624 GB, free: 6.574 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.156e-06/0.1218, allocations: 0 / 0.5624 GB, free: 6.574 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.473e-06/0.1218, allocations: 4 kB / 0.5624 GB, free: 6.57 MB / 430.1 MB Notification: Performance of Transformations before backend: time 3.877e-06/0.1218, allocations: 0 / 0.5624 GB, free: 6.57 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.0006872/0.1225, allocations: 448.8 kB / 0.5628 GB, free: 6.078 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.187e-05/0.1226, allocations: 11.97 kB / 0.5628 GB, free: 6.066 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.737e-05/0.1226, allocations: 42.69 kB / 0.5629 GB, free: 6.016 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.146e-05/0.1226, allocations: 12.84 kB / 0.5629 GB, free: 6.004 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001478/0.1228, allocations: 194.2 kB / 0.563 GB, free: 5.777 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.987e-06/0.1228, allocations: 384 / 0.563 GB, free: 5.777 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.584e-05/0.1228, allocations: 4.375 kB / 0.5631 GB, free: 5.773 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002933/0.1231, allocations: 117.7 kB / 0.5632 GB, free: 5.652 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.871e-06/0.1232, allocations: 4 kB / 0.5632 GB, free: 5.648 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.183e-05/0.1232, allocations: 0 / 0.5632 GB, free: 5.648 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.084e-05/0.1232, allocations: 4 kB / 0.5632 GB, free: 5.645 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000338/0.1235, allocations: 115.8 kB / 0.5633 GB, free: 5.531 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005735/0.1241, allocations: 352.7 kB / 0.5636 GB, free: 5.137 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003124/0.1244, allocations: 114.4 kB / 0.5637 GB, free: 5.016 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001987/0.1247, allocations: 72.88 kB / 0.5638 GB, free: 4.941 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.172e-05/0.1247, allocations: 0 / 0.5638 GB, free: 4.941 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000296/0.125, allocations: 127.2 kB / 0.5639 GB, free: 4.805 MB / 430.1 MB Notification: Performance of pre-optimization done (n=9): time 1.513e-06/0.125, allocations: 0 / 0.5639 GB, free: 4.805 MB / 430.1 MB Notification: Performance of matching and sorting (n=9): time 0.0006517/0.1256, allocations: 233.3 kB / 0.5641 GB, free: 4.57 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.132e-05/0.1257, allocations: 59.39 kB / 0.5642 GB, free: 4.5 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.466e-05/0.1258, allocations: 143.9 kB / 0.5643 GB, free: 4.352 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 1.768e-05/0.1258, allocations: 25.7 kB / 0.5644 GB, free: 4.32 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.701e-05/0.1259, allocations: 108 kB / 0.5645 GB, free: 4.211 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.538e-05/0.1259, allocations: 23.78 kB / 0.5645 GB, free: 4.188 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.015e-05/0.126, allocations: 17.7 kB / 0.5645 GB, free: 4.164 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 8.903e-05/0.126, allocations: 318.8 kB / 0.5648 GB, free: 3.844 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002033/0.1263, allocations: 75.94 kB / 0.5649 GB, free: 3.77 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001814/0.1264, allocations: 68.98 kB / 0.5649 GB, free: 3.703 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003706/0.1268, allocations: 166 kB / 0.5651 GB, free: 3.535 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.723e-06/0.1268, allocations: 0 / 0.5651 GB, free: 3.535 MB / 430.1 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0004666/0.1273, allocations: 219.2 kB / 0.5653 GB, free: 3.309 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.545e-05/0.1273, allocations: 33.69 kB / 0.5653 GB, free: 3.27 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.709e-06/0.1274, allocations: 0 / 0.5653 GB, free: 3.27 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.987e-06/0.1274, allocations: 4 kB / 0.5653 GB, free: 3.266 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001354/0.1275, allocations: 27.92 kB / 0.5654 GB, free: 3.238 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.408e-06/0.1275, allocations: 0 / 0.5654 GB, free: 3.238 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000142/0.1277, allocations: 27.81 kB / 0.5654 GB, free: 3.211 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.548e-05/0.1277, allocations: 7.938 kB / 0.5654 GB, free: 3.203 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.787e-05/0.1278, allocations: 129.8 kB / 0.5655 GB, free: 3.066 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.628e-05/0.1278, allocations: 7.906 kB / 0.5655 GB, free: 3.059 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.768e-05/0.1278, allocations: 12.7 kB / 0.5656 GB, free: 3.047 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.2e-05/0.1279, allocations: 4 kB / 0.5656 GB, free: 3.043 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.786e-06/0.1279, allocations: 0 / 0.5656 GB, free: 3.043 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.445e-06/0.1279, allocations: 0 / 0.5656 GB, free: 3.043 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001466/0.128, allocations: 197.5 kB / 0.5657 GB, free: 2.801 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.575e-06/0.128, allocations: 0 / 0.5657 GB, free: 2.801 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001133/0.1281, allocations: 27.92 kB / 0.5658 GB, free: 2.773 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.703e-06/0.1282, allocations: 0 / 0.5658 GB, free: 2.773 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.401e-05/0.1282, allocations: 11.97 kB / 0.5658 GB, free: 2.762 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.172e-06/0.1282, allocations: 4 kB / 0.5658 GB, free: 2.758 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.42e-07/0.1282, allocations: 0 / 0.5658 GB, free: 2.758 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004517/0.1286, allocations: 205.2 kB / 0.566 GB, free: 2.539 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.603e-05/0.1287, allocations: 85.02 kB / 0.5661 GB, free: 2.438 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.916e-05/0.1287, allocations: 0 / 0.5661 GB, free: 2.438 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00014/0.1289, allocations: 27.98 kB / 0.5661 GB, free: 2.41 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.931e-05/0.1289, allocations: 11.97 kB / 0.5661 GB, free: 2.398 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.065e-06/0.1289, allocations: 0 / 0.5661 GB, free: 2.398 MB / 430.1 MB Notification: Performance of sorting global known variables: time 6.099e-05/0.129, allocations: 107.2 kB / 0.5662 GB, free: 2.293 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.129, allocations: 0 / 0.5662 GB, free: 2.293 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0002255/0.1292, allocations: 47.89 kB / 0.5662 GB, free: 2.246 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.0006972/0.1299, allocations: 0.7567 MB / 0.567 GB, free: 1.461 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0004473/0.1304, allocations: 203.5 kB / 0.5672 GB, free: 1.25 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 1.843e-06/0.1304, allocations: 0 / 0.5672 GB, free: 1.25 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002124/0.1306, allocations: 75.94 kB / 0.5673 GB, free: 1.176 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001901/0.1308, allocations: 15.88 kB / 0.5673 GB, free: 1.16 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002151/0.133, allocations: 1.777 MB / 0.569 GB, free: 15.29 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002024/0.1332, allocations: 0.6965 MB / 0.5697 GB, free: 14.57 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 6.936e-05/0.1333, allocations: 19.77 kB / 0.5697 GB, free: 14.55 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.526e-05/0.1333, allocations: 27.42 kB / 0.5697 GB, free: 14.52 MB / 446.1 MB Notification: Performance of SimCode: time 3.11e-07/0.1333, allocations: 288 / 0.5697 GB, free: 14.52 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01131/0.1447, allocations: 2.411 MB / 0.5721 GB, free: 12.24 MB / 446.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001569/0.1448, allocations: 188.3 kB / 0.5723 GB, free: 11.99 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.608/1.753, allocations: 4 kB / 0.5723 GB, free: 11.98 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)