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.001127/0.001127, allocations: 108 kB / 15.6 MB, free: 132 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.001087/0.001087, allocations: 197.7 kB / 16.54 MB, free: 6.672 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.169/1.169, allocations: 222.9 MB / 240.2 MB, free: 4.395 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.8378/0.8378, allocations: 143 MB / 433.4 MB, free: 11.5 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001091/0.001091, allocations: 59.91 kB / 0.5143 GB, free: 11.6 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1234/0.1245, allocations: 82.04 MB / 0.5944 GB, free: 9.527 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Controls.Continuous.Examples.SignalRanker): time 0.002176/0.1267, allocations: 1.546 MB / 0.5959 GB, free: 7.965 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0007427/0.1275, allocations: 0.5688 MB / 0.5964 GB, free: 7.391 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.875e-05/0.1276, allocations: 4 kB / 0.5965 GB, free: 7.387 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 7.845e-05/0.1276, allocations: 7.922 kB / 0.5965 GB, free: 7.379 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 4.415e-05/0.1277, allocations: 19.81 kB / 0.5965 GB, free: 7.359 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003038/0.128, allocations: 95.7 kB / 0.5966 GB, free: 7.266 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0001111/0.1281, allocations: 95.69 kB / 0.5967 GB, free: 7.172 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 9.165e-05/0.1282, allocations: 24.22 kB / 0.5967 GB, free: 7.145 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 9.023e-05/0.1283, allocations: 47.78 kB / 0.5967 GB, free: 7.098 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 7.343e-05/0.1284, allocations: 43.81 kB / 0.5968 GB, free: 7.055 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 2.132e-05/0.1284, allocations: 8 kB / 0.5968 GB, free: 7.047 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 9.118e-05/0.1285, allocations: 59.95 kB / 0.5968 GB, free: 6.988 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 3.836e-05/0.1286, allocations: 19.86 kB / 0.5969 GB, free: 6.969 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 5.237e-05/0.1286, allocations: 43.73 kB / 0.5969 GB, free: 6.926 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001612/0.1288, allocations: 143.9 kB / 0.597 GB, free: 6.785 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.106e-06/0.1288, allocations: 0 / 0.597 GB, free: 6.785 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.203e-06/0.1288, allocations: 0 / 0.597 GB, free: 6.785 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 3.737e-06/0.1288, allocations: 4 kB / 0.597 GB, free: 6.781 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.0006558/0.1295, allocations: 452.6 kB / 0.5975 GB, free: 6.285 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 2.993e-05/0.1295, allocations: 8.031 kB / 0.5975 GB, free: 6.277 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.936e-05/0.1295, allocations: 34.75 kB / 0.5975 GB, free: 6.234 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.857e-05/0.1296, allocations: 8.844 kB / 0.5975 GB, free: 6.227 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001368/0.1297, allocations: 191.3 kB / 0.5977 GB, free: 6.004 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.074e-05/0.1297, allocations: 12.31 kB / 0.5977 GB, free: 5.992 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.508e-05/0.1298, allocations: 8.375 kB / 0.5977 GB, free: 5.984 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002649/0.13, allocations: 101.7 kB / 0.5978 GB, free: 5.879 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.041e-06/0.13, allocations: 0 / 0.5978 GB, free: 5.879 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.572e-05/0.1301, allocations: 11.98 kB / 0.5978 GB, free: 5.867 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.564e-05/0.1301, allocations: 0 / 0.5978 GB, free: 5.867 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002957/0.1304, allocations: 83.92 kB / 0.5979 GB, free: 5.785 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005312/0.1309, allocations: 356.6 kB / 0.5982 GB, free: 5.387 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002869/0.1312, allocations: 98.5 kB / 0.5983 GB, free: 5.281 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001628/0.1314, allocations: 64.81 kB / 0.5984 GB, free: 5.215 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.13e-05/0.1314, allocations: 0 / 0.5984 GB, free: 5.215 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000263/0.1317, allocations: 115.3 kB / 0.5985 GB, free: 5.09 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=9): time 1.372e-06/0.1317, allocations: 0 / 0.5985 GB, free: 5.09 MB / 0.4981 GB Notification: Performance of matching and sorting (n=9): time 0.00057/0.1323, allocations: 209.3 kB / 0.5987 GB, free: 4.879 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.273e-05/0.1323, allocations: 55.47 kB / 0.5988 GB, free: 4.812 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.636e-05/0.1324, allocations: 145.8 kB / 0.5989 GB, free: 4.66 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.632e-05/0.1324, allocations: 25.7 kB / 0.5989 GB, free: 4.629 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 4.977e-05/0.1325, allocations: 96.08 kB / 0.599 GB, free: 4.531 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.225e-05/0.1325, allocations: 31.61 kB / 0.5991 GB, free: 4.5 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.752e-05/0.1326, allocations: 29.7 kB / 0.5991 GB, free: 4.465 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 8.59e-05/0.1327, allocations: 326.9 kB / 0.5994 GB, free: 4.137 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001752/0.1328, allocations: 55.89 kB / 0.5994 GB, free: 4.082 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001588/0.133, allocations: 55.95 kB / 0.5995 GB, free: 4.027 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000325/0.1333, allocations: 146.5 kB / 0.5996 GB, free: 3.875 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.523e-06/0.1333, allocations: 0 / 0.5996 GB, free: 3.875 MB / 0.4981 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0003991/0.1337, allocations: 195.2 kB / 0.5998 GB, free: 3.672 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.815e-05/0.1338, allocations: 33.69 kB / 0.5999 GB, free: 3.633 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.488e-06/0.1338, allocations: 0 / 0.5999 GB, free: 3.633 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.121e-05/0.1338, allocations: 4 kB / 0.5999 GB, free: 3.629 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001245/0.1339, allocations: 19.98 kB / 0.5999 GB, free: 3.609 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.908e-06/0.1339, allocations: 0 / 0.5999 GB, free: 3.609 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001367/0.1341, allocations: 27.81 kB / 0.5999 GB, free: 3.582 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.45e-05/0.1341, allocations: 7.938 kB / 0.5999 GB, free: 3.574 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 7.467e-05/0.1342, allocations: 117.8 kB / 0.6 GB, free: 3.449 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.912e-05/0.1342, allocations: 12.38 kB / 0.6 GB, free: 3.438 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.048e-05/0.1342, allocations: 12.7 kB / 0.6 GB, free: 3.422 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.194e-05/0.1343, allocations: 8 kB / 0.6001 GB, free: 3.414 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.047e-06/0.1343, allocations: 7.938 kB / 0.6001 GB, free: 3.406 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.695e-06/0.1343, allocations: 0 / 0.6001 GB, free: 3.406 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000138/0.1344, allocations: 209.5 kB / 0.6003 GB, free: 3.152 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.112e-06/0.1344, allocations: 0 / 0.6003 GB, free: 3.152 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001036/0.1345, allocations: 15.98 kB / 0.6003 GB, free: 3.137 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.463e-06/0.1345, allocations: 0 / 0.6003 GB, free: 3.137 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.127e-05/0.1346, allocations: 3.984 kB / 0.6003 GB, free: 3.133 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.052e-06/0.1346, allocations: 0 / 0.6003 GB, free: 3.133 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.21e-07/0.1346, allocations: 0 / 0.6003 GB, free: 3.133 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003815/0.135, allocations: 188.8 kB / 0.6005 GB, free: 2.93 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 3.086e-05/0.135, allocations: 81.02 kB / 0.6005 GB, free: 2.832 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.351e-05/0.135, allocations: 8 kB / 0.6005 GB, free: 2.824 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000119/0.1351, allocations: 11.98 kB / 0.6006 GB, free: 2.812 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.871e-05/0.1352, allocations: 19.97 kB / 0.6006 GB, free: 2.793 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.415e-06/0.1352, allocations: 4 kB / 0.6006 GB, free: 2.789 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 5.934e-05/0.1353, allocations: 113.6 kB / 0.6007 GB, free: 2.68 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.1e-07/0.1353, allocations: 0 / 0.6007 GB, free: 2.68 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002068/0.1355, allocations: 39.98 kB / 0.6007 GB, free: 2.641 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.0006354/0.1361, allocations: 0.7332 MB / 0.6014 GB, free: 1.879 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0004138/0.1366, allocations: 199.2 kB / 0.6016 GB, free: 1.672 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.483e-06/0.1366, allocations: 0 / 0.6016 GB, free: 1.672 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001812/0.1368, allocations: 64.19 kB / 0.6017 GB, free: 1.609 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001701/0.1369, allocations: 8.328 kB / 0.6017 GB, free: 1.602 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1864/0.3233, allocations: 1.704 MB / 0.6034 GB, free: 43.36 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001071/0.3235, allocations: 0.6969 MB / 0.604 GB, free: 42.67 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 9.23e-05/0.3236, allocations: 13.66 kB / 0.6041 GB, free: 42.67 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.476e-05/0.3236, allocations: 28.59 kB / 0.6041 GB, free: 42.66 MB / 0.4981 GB Notification: Performance of SimCode: time 5.52e-07/0.3237, allocations: 1.75 kB / 0.6041 GB, free: 42.66 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0167/0.3404, allocations: 2.716 MB / 0.6067 GB, free: 42.39 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.337/6.677, allocations: 4.953 kB / 0.6067 GB, free: 42.39 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 & python3 -m fmpy simulate --output-file BuildSysPro_BuildSysPro.IBPSA.Controls.Continuous.Examples.SignalRanker_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 BuildSysPro_BuildSysPro_IBPSA_Controls_Continuous_Examples_SignalRanker.fmu > BuildSysPro_BuildSysPro.IBPSA.Controls.Continuous.Examples.SignalRanker.pipe 2>&1)