Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildSysPro_BuildSysPro.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/BuildSysPro 3.6.0-master/package.mo", uses=false) Using package BuildSysPro with version 3.6.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.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(BuildSysPro.IBPSA.Controls.Continuous.Examples.SignalRanker,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Controls_Continuous_Examples_SignalRanker",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Controls.Continuous.Examples.SignalRanker,fileNamePrefix="BuildSysPro_BuildSysPro_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.004149/0.004149, allocations: 100.3 kB / 15.73 MB, free: 6.062 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.001203/0.001202, allocations: 192.7 kB / 16.67 MB, free: 5.973 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.406/1.406, allocations: 222.9 MB / 240.4 MB, free: 15.14 MB / 206.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0-master/Building/BuildingEnvelope/HeatTransfer/package.mo:2:1-40:17:writable] Warning: Soil_case_nappe was referenced in the package.order file, but was not found in package.mo, Soil_case_nappe/package.mo or Soil_case_nappe.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0-master/package.mo): time 0.8839/0.8839, allocations: 143.3 MB / 433.9 MB, free: 11.8 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001814/0.001814, allocations: 63.39 kB / 0.5953 GB, free: 12.72 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1373/0.1391, allocations: 82.04 MB / 0.6754 GB, free: 10.73 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Controls.Continuous.Examples.SignalRanker): time 0.002503/0.1417, allocations: 1.542 MB / 0.6769 GB, free: 9.18 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.0009205/0.1426, allocations: 0.5804 MB / 0.6775 GB, free: 8.594 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.582e-05/0.1427, allocations: 0 / 0.6775 GB, free: 8.594 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 9.071e-05/0.1428, allocations: 15.86 kB / 0.6775 GB, free: 8.578 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 5.355e-05/0.1428, allocations: 19.81 kB / 0.6775 GB, free: 8.559 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003471/0.1432, allocations: 87.75 kB / 0.6776 GB, free: 8.473 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.000148/0.1433, allocations: 103.6 kB / 0.6777 GB, free: 8.371 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 9.615e-05/0.1434, allocations: 20.23 kB / 0.6777 GB, free: 8.348 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001132/0.1436, allocations: 47.83 kB / 0.6777 GB, free: 8.301 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 8.9e-05/0.1437, allocations: 43.77 kB / 0.6778 GB, free: 8.258 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 2.031e-05/0.1437, allocations: 8 kB / 0.6778 GB, free: 8.25 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001434/0.1438, allocations: 87.91 kB / 0.6779 GB, free: 8.164 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 4.899e-05/0.1439, allocations: 19.92 kB / 0.6779 GB, free: 8.145 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 6.403e-05/0.144, allocations: 43.78 kB / 0.6779 GB, free: 8.102 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0002119/0.1442, allocations: 139.7 kB / 0.6781 GB, free: 7.965 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 3.126e-06/0.1442, allocations: 0 / 0.6781 GB, free: 7.965 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.232e-06/0.1442, allocations: 0 / 0.6781 GB, free: 7.965 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 1.105e-05/0.1442, allocations: 7.984 kB / 0.6781 GB, free: 7.957 MB / 0.5137 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.0007776/0.145, allocations: 456.5 kB / 0.6785 GB, free: 7.457 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 3.487e-05/0.145, allocations: 12.03 kB / 0.6785 GB, free: 7.445 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.681e-05/0.1451, allocations: 34.73 kB / 0.6785 GB, free: 7.402 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.137e-05/0.1451, allocations: 12.89 kB / 0.6786 GB, free: 7.391 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001835/0.1453, allocations: 196.2 kB / 0.6787 GB, free: 7.16 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.222e-05/0.1453, allocations: 384 / 0.6787 GB, free: 7.16 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.863e-05/0.1453, allocations: 12.31 kB / 0.6788 GB, free: 7.148 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003214/0.1457, allocations: 109.7 kB / 0.6789 GB, free: 7.035 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.694e-06/0.1457, allocations: 0 / 0.6789 GB, free: 7.035 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.285e-05/0.1457, allocations: 3.984 kB / 0.6789 GB, free: 7.031 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.128e-05/0.1457, allocations: 4 kB / 0.6789 GB, free: 7.027 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003424/0.1461, allocations: 83.92 kB / 0.679 GB, free: 6.945 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006235/0.1467, allocations: 348.6 kB / 0.6793 GB, free: 6.555 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003263/0.1471, allocations: 90.52 kB / 0.6794 GB, free: 6.457 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001896/0.1473, allocations: 60.88 kB / 0.6794 GB, free: 6.395 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 1.306e-05/0.1473, allocations: 0 / 0.6794 GB, free: 6.395 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000316/0.1476, allocations: 123.2 kB / 0.6795 GB, free: 6.262 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=9): time 1.463e-06/0.1476, allocations: 0 / 0.6795 GB, free: 6.262 MB / 0.5137 GB Notification: Performance of matching and sorting (n=9): time 0.0006706/0.1483, allocations: 205.6 kB / 0.6797 GB, free: 6.055 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.655e-05/0.1483, allocations: 59.34 kB / 0.6798 GB, free: 5.984 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001171/0.1485, allocations: 148 kB / 0.6799 GB, free: 5.832 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 2.192e-05/0.1485, allocations: 25.7 kB / 0.68 GB, free: 5.801 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 7.06e-05/0.1486, allocations: 104 kB / 0.6801 GB, free: 5.695 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 2.502e-05/0.1486, allocations: 23.84 kB / 0.6801 GB, free: 5.672 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.082e-05/0.1487, allocations: 29.72 kB / 0.6801 GB, free: 5.637 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001348/0.1488, allocations: 326.8 kB / 0.6804 GB, free: 5.309 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002105/0.149, allocations: 60.06 kB / 0.6805 GB, free: 5.25 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001849/0.1492, allocations: 55.89 kB / 0.6805 GB, free: 5.195 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004062/0.1496, allocations: 150.5 kB / 0.6807 GB, free: 5.039 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.054e-06/0.1496, allocations: 0 / 0.6807 GB, free: 5.039 MB / 0.5137 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0005016/0.1501, allocations: 207.2 kB / 0.6809 GB, free: 4.824 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 3.164e-05/0.1502, allocations: 29.7 kB / 0.6809 GB, free: 4.789 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.686e-06/0.1502, allocations: 7.984 kB / 0.6809 GB, free: 4.781 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.031e-05/0.1502, allocations: 0 / 0.6809 GB, free: 4.781 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001441/0.1504, allocations: 19.98 kB / 0.6809 GB, free: 4.762 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.349e-06/0.1504, allocations: 0 / 0.6809 GB, free: 4.762 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001416/0.1505, allocations: 19.92 kB / 0.681 GB, free: 4.742 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.195e-05/0.1505, allocations: 11.92 kB / 0.681 GB, free: 4.73 MB / 0.5137 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 9.881e-05/0.1506, allocations: 121.8 kB / 0.6811 GB, free: 4.602 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.841e-05/0.1507, allocations: 7.953 kB / 0.6811 GB, free: 4.594 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.239e-05/0.1507, allocations: 12.7 kB / 0.6811 GB, free: 4.578 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.23e-05/0.1507, allocations: 7.938 kB / 0.6811 GB, free: 4.57 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.506e-06/0.1507, allocations: 4 kB / 0.6811 GB, free: 4.566 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.518e-06/0.1508, allocations: 0 / 0.6811 GB, free: 4.566 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001952/0.151, allocations: 209.4 kB / 0.6813 GB, free: 4.312 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.272e-06/0.151, allocations: 480 / 0.6813 GB, free: 4.312 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001159/0.1511, allocations: 15.98 kB / 0.6813 GB, free: 4.297 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.633e-06/0.1511, allocations: 0 / 0.6813 GB, free: 4.297 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.089e-05/0.1511, allocations: 0 / 0.6813 GB, free: 4.297 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.787e-06/0.1511, allocations: 4 kB / 0.6813 GB, free: 4.293 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.585e-06/0.1511, allocations: 7.922 kB / 0.6813 GB, free: 4.285 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004621/0.1516, allocations: 189 kB / 0.6815 GB, free: 4.082 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 4.936e-05/0.1517, allocations: 85.05 kB / 0.6816 GB, free: 3.98 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.135e-05/0.1517, allocations: 4 kB / 0.6816 GB, free: 3.977 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001288/0.1518, allocations: 11.98 kB / 0.6816 GB, free: 3.965 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.02e-05/0.1519, allocations: 11.98 kB / 0.6816 GB, free: 3.953 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.292e-05/0.1519, allocations: 11.98 kB / 0.6816 GB, free: 3.941 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 8.052e-05/0.152, allocations: 107.2 kB / 0.6817 GB, free: 3.836 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.31e-07/0.152, allocations: 0 / 0.6817 GB, free: 3.836 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0002353/0.1522, allocations: 43.92 kB / 0.6818 GB, free: 3.793 MB / 0.5137 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.0008319/0.1531, allocations: 0.7373 MB / 0.6825 GB, free: 3.027 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0004875/0.1536, allocations: 183.3 kB / 0.6827 GB, free: 2.836 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 1.553e-06/0.1536, allocations: 0 / 0.6827 GB, free: 2.836 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0002234/0.1538, allocations: 67.94 kB / 0.6827 GB, free: 2.77 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001914/0.154, allocations: 12 kB / 0.6828 GB, free: 2.758 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002414/0.1564, allocations: 1.722 MB / 0.6844 GB, free: 0.9531 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003088/0.1568, allocations: 0.7001 MB / 0.6851 GB, free: 232 kB / 0.5137 GB Notification: Performance of simCode: alias equations: time 6.631e-05/0.1568, allocations: 11.98 kB / 0.6851 GB, free: 220 kB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.542e-05/0.1569, allocations: 31.42 kB / 0.6852 GB, free: 188 kB / 0.5137 GB Notification: Performance of SimCode: time 2.3e-07/0.1569, allocations: 0 / 0.6852 GB, free: 188 kB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02273/0.1796, allocations: 2.771 MB / 0.6879 GB, free: 13.52 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.57/10.75, allocations: 3.25 kB / 0.6879 GB, free: 13.52 MB / 0.5294 GB (rm -f BuildSysPro_BuildSysPro.IBPSA.Controls.Continuous.Examples.SignalRanker.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Controls.Continuous.Examples.SignalRanker.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Controls.Continuous.Examples.SignalRanker.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Controls.Continuous.Examples.SignalRanker.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Controls_Continuous_Examples_SignalRanker_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_Controls_Continuous_Examples_SignalRanker.fmu > BuildSysPro_BuildSysPro.IBPSA.Controls.Continuous.Examples.SignalRanker.pipe 2>&1)