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/package.mo", uses=false) Using package BuildSysPro with version 3.5.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/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.0008344/0.0008344, allocations: 89.97 kB / 15.36 MB, free: 0.7383 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.005021/0.005021, allocations: 174.1 kB / 16.26 MB, free: 6.273 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.235/1.235, allocations: 223.3 MB / 240.3 MB, free: 5.34 MB / 190.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/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/package.mo): time 0.8942/0.8942, allocations: 143.2 MB / 434.6 MB, free: 13.67 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002938/0.0002938, allocations: 8 kB / 0.5165 GB, free: 11 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1353/0.1356, allocations: 83.41 MB / 0.598 GB, free: 7.562 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Controls.Continuous.Examples.SignalRanker): time 0.001445/0.1371, allocations: 1.272 MB / 0.5992 GB, free: 6.277 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0008096/0.138, allocations: 0.5728 MB / 0.5998 GB, free: 5.699 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.683e-05/0.138, allocations: 3.938 kB / 0.5998 GB, free: 5.695 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 8.142e-05/0.1381, allocations: 7.984 kB / 0.5998 GB, free: 5.688 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 4.608e-05/0.1381, allocations: 11.81 kB / 0.5998 GB, free: 5.676 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002738/0.1384, allocations: 75.86 kB / 0.5998 GB, free: 5.602 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 9.795e-05/0.1385, allocations: 87.7 kB / 0.5999 GB, free: 5.516 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 8.973e-05/0.1386, allocations: 20.2 kB / 0.6 GB, free: 5.492 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001066/0.1387, allocations: 39.84 kB / 0.6 GB, free: 5.453 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 8.302e-05/0.1388, allocations: 43.77 kB / 0.6 GB, free: 5.41 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.427e-05/0.1389, allocations: 4 kB / 0.6 GB, free: 5.406 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 9.081e-05/0.139, allocations: 63.89 kB / 0.6001 GB, free: 5.344 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 3.905e-05/0.139, allocations: 11.98 kB / 0.6001 GB, free: 5.332 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 5.261e-05/0.1391, allocations: 65.42 kB / 0.6002 GB, free: 5.262 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001628/0.1392, allocations: 131.8 kB / 0.6003 GB, free: 5.133 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.066e-06/0.1392, allocations: 0 / 0.6003 GB, free: 5.133 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.483e-06/0.1392, allocations: 0 / 0.6003 GB, free: 5.133 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 3.226e-06/0.1393, allocations: 0 / 0.6003 GB, free: 5.133 MB / 0.4981 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.0006794/0.1399, allocations: 452.8 kB / 0.6007 GB, free: 4.637 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.607e-05/0.14, allocations: 12.03 kB / 0.6007 GB, free: 4.625 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.639e-05/0.14, allocations: 34.75 kB / 0.6008 GB, free: 4.582 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.325e-05/0.1401, allocations: 8.844 kB / 0.6008 GB, free: 4.574 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001554/0.1402, allocations: 200 kB / 0.601 GB, free: 4.34 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.817e-06/0.1402, allocations: 384 / 0.601 GB, free: 4.34 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.701e-05/0.1403, allocations: 8.375 kB / 0.601 GB, free: 4.332 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00029/0.1406, allocations: 117.7 kB / 0.6011 GB, free: 4.211 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.651e-06/0.1406, allocations: 0 / 0.6011 GB, free: 4.211 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.162e-05/0.1406, allocations: 0 / 0.6011 GB, free: 4.211 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.888e-05/0.1406, allocations: 7.938 kB / 0.6011 GB, free: 4.203 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003347/0.141, allocations: 107.9 kB / 0.6012 GB, free: 4.098 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000575/0.1415, allocations: 372.5 kB / 0.6016 GB, free: 3.684 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003104/0.1419, allocations: 110.5 kB / 0.6017 GB, free: 3.566 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001773/0.142, allocations: 64.89 kB / 0.6017 GB, free: 3.5 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.199e-05/0.1421, allocations: 4 kB / 0.6017 GB, free: 3.496 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002907/0.1424, allocations: 123.2 kB / 0.6018 GB, free: 3.363 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=9): time 1.542e-06/0.1424, allocations: 8 kB / 0.6019 GB, free: 3.355 MB / 0.4981 GB Notification: Performance of matching and sorting (n=9): time 0.0006495/0.143, allocations: 233.4 kB / 0.6021 GB, free: 3.121 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.671e-05/0.1431, allocations: 51.41 kB / 0.6021 GB, free: 3.059 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.388e-05/0.1432, allocations: 136.9 kB / 0.6023 GB, free: 2.918 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.183e-05/0.1432, allocations: 29.7 kB / 0.6023 GB, free: 2.883 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 5.913e-05/0.1433, allocations: 108 kB / 0.6024 GB, free: 2.773 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.522e-05/0.1433, allocations: 31.77 kB / 0.6024 GB, free: 2.742 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.695e-05/0.1433, allocations: 9.719 kB / 0.6024 GB, free: 2.727 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 9.235e-05/0.1434, allocations: 326.8 kB / 0.6027 GB, free: 2.398 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001917/0.1436, allocations: 63.95 kB / 0.6028 GB, free: 2.336 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001798/0.1438, allocations: 71.95 kB / 0.6029 GB, free: 2.266 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003631/0.1442, allocations: 166.5 kB / 0.603 GB, free: 2.094 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.743e-06/0.1442, allocations: 0 / 0.603 GB, free: 2.094 MB / 0.4981 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0004693/0.1447, allocations: 223.2 kB / 0.6032 GB, free: 1.863 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.903e-05/0.1447, allocations: 33.7 kB / 0.6033 GB, free: 1.824 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.408e-06/0.1447, allocations: 0 / 0.6033 GB, free: 1.824 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.946e-06/0.1447, allocations: 0 / 0.6033 GB, free: 1.824 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001361/0.1449, allocations: 23.97 kB / 0.6033 GB, free: 1.801 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.913e-06/0.1449, allocations: 8 kB / 0.6033 GB, free: 1.793 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001407/0.145, allocations: 24.3 kB / 0.6033 GB, free: 1.77 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.586e-05/0.1451, allocations: 7.938 kB / 0.6033 GB, free: 1.762 MB / 0.4981 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 8.797e-05/0.1452, allocations: 125.8 kB / 0.6035 GB, free: 1.629 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.675e-05/0.1452, allocations: 11.84 kB / 0.6035 GB, free: 1.617 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.992e-05/0.1452, allocations: 12.72 kB / 0.6035 GB, free: 1.602 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.368e-05/0.1452, allocations: 7.984 kB / 0.6035 GB, free: 1.594 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.226e-06/0.1452, allocations: 4 kB / 0.6035 GB, free: 1.59 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.567e-06/0.1453, allocations: 3.984 kB / 0.6035 GB, free: 1.586 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001473/0.1454, allocations: 193.6 kB / 0.6037 GB, free: 1.348 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.313e-06/0.1454, allocations: 0 / 0.6037 GB, free: 1.348 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001143/0.1455, allocations: 27.97 kB / 0.6037 GB, free: 1.32 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.603e-06/0.1455, allocations: 0 / 0.6037 GB, free: 1.32 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.178e-05/0.1456, allocations: 3.984 kB / 0.6037 GB, free: 1.316 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.102e-06/0.1456, allocations: 0 / 0.6037 GB, free: 1.316 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.01e-07/0.1456, allocations: 4 kB / 0.6037 GB, free: 1.312 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004268/0.146, allocations: 204.8 kB / 0.6039 GB, free: 1.094 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 4.176e-05/0.1461, allocations: 92.92 kB / 0.604 GB, free: 0.9844 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.135e-05/0.1461, allocations: 3.984 kB / 0.604 GB, free: 0.9805 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001284/0.1462, allocations: 19.98 kB / 0.604 GB, free: 0.9609 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.152e-05/0.1463, allocations: 11.98 kB / 0.604 GB, free: 0.9492 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.905e-06/0.1463, allocations: 0 / 0.604 GB, free: 0.9492 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 6.517e-05/0.1464, allocations: 123.1 kB / 0.6041 GB, free: 0.8281 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.21e-07/0.1464, allocations: 0 / 0.6041 GB, free: 0.8281 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002188/0.1466, allocations: 36 kB / 0.6042 GB, free: 0.793 MB / 0.4981 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.0007245/0.1473, allocations: 0.7528 MB / 0.6049 GB, free: 12 kB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.219/0.3663, allocations: 200.8 kB / 0.6051 GB, free: 40.59 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 3.196e-06/0.3663, allocations: 1.203 kB / 0.6051 GB, free: 40.59 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0002006/0.3666, allocations: 75.56 kB / 0.6052 GB, free: 40.59 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002376/0.3668, allocations: 15.08 kB / 0.6052 GB, free: 40.59 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001874/0.3687, allocations: 1.774 MB / 0.6069 GB, free: 39.44 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.832e-05/0.3688, allocations: 0.7001 MB / 0.6076 GB, free: 38.75 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 6.497e-05/0.3689, allocations: 16.45 kB / 0.6076 GB, free: 38.75 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.14e-05/0.3689, allocations: 26.92 kB / 0.6077 GB, free: 38.74 MB / 0.4981 GB Notification: Performance of SimCode: time 7.31e-07/0.3689, allocations: 0 / 0.6077 GB, free: 38.74 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.888/1.257, allocations: 2.425 MB / 0.61 GB, free: 38.63 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001624/1.257, allocations: 220.9 kB / 0.6102 GB, free: 38.38 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.026/4.283, allocations: 0 / 0.6102 GB, free: 38.38 MB / 0.4981 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)