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.00113/0.00113, allocations: 107.3 kB / 15.33 MB, free: 0.5039 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.001109/0.001109, allocations: 198.5 kB / 16.26 MB, free: 6.629 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.163/1.163, allocations: 222.9 MB / 239.9 MB, free: 4.547 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.8363/0.8363, allocations: 143 MB / 433.1 MB, free: 11.57 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001082/0.001082, allocations: 59.91 kB / 0.5138 GB, free: 11.93 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1213/0.1224, allocations: 82.05 MB / 0.5939 GB, free: 9.863 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Controls.Continuous.Examples.SignalRanker): time 0.002266/0.1247, allocations: 1.611 MB / 0.5955 GB, free: 8.234 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0007391/0.1254, allocations: 0.565 MB / 0.596 GB, free: 7.664 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.508e-05/0.1255, allocations: 0 / 0.596 GB, free: 7.664 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 8.302e-05/0.1256, allocations: 11.88 kB / 0.596 GB, free: 7.652 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 4.584e-05/0.1256, allocations: 15.8 kB / 0.596 GB, free: 7.637 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002947/0.1259, allocations: 79.86 kB / 0.5961 GB, free: 7.559 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.000114/0.1261, allocations: 99.75 kB / 0.5962 GB, free: 7.461 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 8.081e-05/0.1261, allocations: 12.23 kB / 0.5962 GB, free: 7.445 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 9.573e-05/0.1262, allocations: 47.78 kB / 0.5963 GB, free: 7.398 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 7.17e-05/0.1263, allocations: 47.81 kB / 0.5963 GB, free: 7.352 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.673e-05/0.1263, allocations: 4 kB / 0.5963 GB, free: 7.348 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 8.619e-05/0.1264, allocations: 71.89 kB / 0.5964 GB, free: 7.277 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 3.831e-05/0.1265, allocations: 19.92 kB / 0.5964 GB, free: 7.258 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 4.684e-05/0.1265, allocations: 43.72 kB / 0.5965 GB, free: 7.215 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001578/0.1267, allocations: 131.9 kB / 0.5966 GB, free: 7.086 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.046e-06/0.1267, allocations: 0 / 0.5966 GB, free: 7.086 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.052e-06/0.1267, allocations: 0 / 0.5966 GB, free: 7.086 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 4.559e-06/0.1267, allocations: 0 / 0.5966 GB, free: 7.086 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.0006545/0.1274, allocations: 456.6 kB / 0.597 GB, free: 6.586 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.003e-05/0.1274, allocations: 16.03 kB / 0.597 GB, free: 6.57 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.931e-05/0.1275, allocations: 34.73 kB / 0.5971 GB, free: 6.527 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.574e-05/0.1275, allocations: 12.84 kB / 0.5971 GB, free: 6.516 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001371/0.1276, allocations: 192.1 kB / 0.5973 GB, free: 6.289 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.01e-05/0.1277, allocations: 4.375 kB / 0.5973 GB, free: 6.285 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.695e-05/0.1277, allocations: 4.375 kB / 0.5973 GB, free: 6.281 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002721/0.128, allocations: 109.7 kB / 0.5974 GB, free: 6.168 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.402e-06/0.128, allocations: 0 / 0.5974 GB, free: 6.168 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.306e-05/0.128, allocations: 7.984 kB / 0.5974 GB, free: 6.16 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.798e-05/0.128, allocations: 4 kB / 0.5974 GB, free: 6.156 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002982/0.1283, allocations: 79.92 kB / 0.5975 GB, free: 6.078 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005356/0.1289, allocations: 360.6 kB / 0.5978 GB, free: 5.676 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002699/0.1291, allocations: 90.52 kB / 0.5979 GB, free: 5.578 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001643/0.1293, allocations: 56.88 kB / 0.5979 GB, free: 5.52 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.263e-05/0.1293, allocations: 0 / 0.5979 GB, free: 5.52 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002793/0.1296, allocations: 119.3 kB / 0.5981 GB, free: 5.391 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=9): time 1.423e-06/0.1296, allocations: 0 / 0.5981 GB, free: 5.391 MB / 0.4981 GB Notification: Performance of matching and sorting (n=9): time 0.0005776/0.1302, allocations: 209.3 kB / 0.5983 GB, free: 5.18 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.918e-05/0.1302, allocations: 59.41 kB / 0.5983 GB, free: 5.109 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.172e-05/0.1303, allocations: 140.9 kB / 0.5985 GB, free: 4.965 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.741e-05/0.1304, allocations: 25.7 kB / 0.5985 GB, free: 4.934 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 4.815e-05/0.1304, allocations: 100.1 kB / 0.5986 GB, free: 4.832 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.702e-05/0.1305, allocations: 31.78 kB / 0.5986 GB, free: 4.801 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.865e-05/0.1305, allocations: 29.66 kB / 0.5986 GB, free: 4.766 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 8.136e-05/0.1306, allocations: 326.8 kB / 0.5989 GB, free: 4.438 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001768/0.1308, allocations: 55.95 kB / 0.599 GB, free: 4.383 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001615/0.1309, allocations: 55.95 kB / 0.599 GB, free: 4.328 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003168/0.1313, allocations: 150.5 kB / 0.5992 GB, free: 4.172 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.543e-06/0.1313, allocations: 0 / 0.5992 GB, free: 4.172 MB / 0.4981 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0004136/0.1317, allocations: 203.1 kB / 0.5994 GB, free: 3.961 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 3.076e-05/0.1317, allocations: 33.7 kB / 0.5994 GB, free: 3.922 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.971e-06/0.1317, allocations: 4.453 kB / 0.5994 GB, free: 3.918 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.714e-06/0.1318, allocations: 0 / 0.5994 GB, free: 3.918 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001274/0.1319, allocations: 15.98 kB / 0.5994 GB, free: 3.902 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.238e-06/0.1319, allocations: 0 / 0.5994 GB, free: 3.902 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001347/0.132, allocations: 27.83 kB / 0.5995 GB, free: 3.875 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.572e-05/0.1321, allocations: 15.86 kB / 0.5995 GB, free: 3.859 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.366e-05/0.1322, allocations: 121.8 kB / 0.5996 GB, free: 3.73 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.903e-05/0.1322, allocations: 7.906 kB / 0.5996 GB, free: 3.723 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.806e-05/0.1322, allocations: 16.64 kB / 0.5996 GB, free: 3.703 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.026e-05/0.1322, allocations: 4 kB / 0.5996 GB, free: 3.699 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.452e-06/0.1322, allocations: 3.984 kB / 0.5996 GB, free: 3.695 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.445e-06/0.1322, allocations: 4 kB / 0.5996 GB, free: 3.691 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001396/0.1324, allocations: 201.5 kB / 0.5998 GB, free: 3.445 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.203e-06/0.1324, allocations: 0 / 0.5998 GB, free: 3.445 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001066/0.1325, allocations: 19.98 kB / 0.5998 GB, free: 3.426 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.684e-06/0.1325, allocations: 0 / 0.5998 GB, free: 3.426 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.063e-05/0.1325, allocations: 0 / 0.5998 GB, free: 3.426 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.152e-06/0.1325, allocations: 4 kB / 0.5998 GB, free: 3.422 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.71e-07/0.1325, allocations: 0 / 0.5998 GB, free: 3.422 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003855/0.1329, allocations: 184.8 kB / 0.6 GB, free: 3.223 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 3.705e-05/0.133, allocations: 93 kB / 0.6001 GB, free: 3.113 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.106e-05/0.133, allocations: 0 / 0.6001 GB, free: 3.113 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001194/0.1331, allocations: 11.98 kB / 0.6001 GB, free: 3.102 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.213e-05/0.1332, allocations: 11.98 kB / 0.6001 GB, free: 3.09 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.096e-05/0.1332, allocations: 7.984 kB / 0.6001 GB, free: 3.082 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 5.931e-05/0.1333, allocations: 113.6 kB / 0.6002 GB, free: 2.973 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.1e-07/0.1333, allocations: 0 / 0.6002 GB, free: 2.973 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002145/0.1335, allocations: 40 kB / 0.6003 GB, free: 2.934 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.0006398/0.1341, allocations: 0.7371 MB / 0.601 GB, free: 2.168 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0004092/0.1346, allocations: 195.2 kB / 0.6012 GB, free: 1.965 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.634e-06/0.1346, allocations: 0 / 0.6012 GB, free: 1.965 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001843/0.1348, allocations: 63.94 kB / 0.6013 GB, free: 1.902 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001804/0.1349, allocations: 8 kB / 0.6013 GB, free: 1.895 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001943/0.1369, allocations: 1.726 MB / 0.6029 GB, free: 80 kB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.1764/0.3133, allocations: 0.6928 MB / 0.6036 GB, free: 43.73 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0001001/0.3134, allocations: 13.33 kB / 0.6036 GB, free: 43.73 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.387e-05/0.3135, allocations: 28.19 kB / 0.6037 GB, free: 43.72 MB / 0.4981 GB Notification: Performance of SimCode: time 4.91e-07/0.3135, allocations: 3.531 kB / 0.6037 GB, free: 43.72 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.627/1.941, allocations: 2.574 MB / 0.6062 GB, free: 43.56 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001485/1.941, allocations: 205.7 kB / 0.6064 GB, free: 43.31 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.657/3.597, allocations: 0 / 0.6064 GB, free: 43.31 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)