Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Airflow.Multizone.Validation.ThreeRoomsContam.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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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(BuildingSystems.Airflow.Multizone.Validation.ThreeRoomsContam,fileNamePrefix="BuildingSystems_BuildingSystems_Airflow_Multizone_Validation_ThreeRoomsContam",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Airflow.Multizone.Validation.ThreeRoomsContam,fileNamePrefix="BuildingSystems_BuildingSystems_Airflow_Multizone_Validation_ThreeRoomsContam",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.003936/0.003936, allocations: 98.38 kB / 15.73 MB, free: 6.496 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.001166/0.001166, allocations: 195.3 kB / 16.67 MB, free: 6.391 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.393/1.393, allocations: 222.9 MB / 240.4 MB, free: 4.316 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002561/0.002561, allocations: 286.5 kB / 290.8 MB, free: 1.91 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.009/1.009, allocations: 169.3 MB / 0.4983 GB, free: 13.78 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002757/0.002757, allocations: 100.1 kB / 0.681 GB, free: 15.98 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1503/0.1531, allocations: 86.97 MB / 0.7659 GB, free: 8.934 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Airflow.Multizone.Validation.ThreeRoomsContam): time 0.5654/0.7185, allocations: 284.2 MB / 1.043 GB, free: 6.461 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.02455/0.7431, allocations: 17.31 MB / 1.06 GB, free: 5.102 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001551/0.7446, allocations: 71.69 kB / 1.06 GB, free: 5.031 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.003664/0.7483, allocations: 1.709 MB / 1.062 GB, free: 3.312 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.01218/0.7605, allocations: 5.902 MB / 1.068 GB, free: 13.38 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.006259/0.7668, allocations: 2.805 MB / 1.071 GB, free: 10.58 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.007495/0.7743, allocations: 6.573 MB / 1.077 GB, free: 3.996 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00319/0.7775, allocations: 2.561 MB / 1.08 GB, free: 1.395 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003299/0.7808, allocations: 2.457 MB / 1.082 GB, free: 14.93 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003476/0.7843, allocations: 2.394 MB / 1.084 GB, free: 12.54 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 0.0004329/0.7848, allocations: 296 kB / 1.085 GB, free: 12.25 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0105/0.7953, allocations: 5.946 MB / 1.09 GB, free: 6.289 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 0.001333/0.7966, allocations: 1.298 MB / 1.092 GB, free: 4.988 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 0.00192/0.7985, allocations: 1.707 MB / 1.093 GB, free: 3.273 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.3629/1.161, allocations: 6.459 MB / 1.1 GB, free: 21.96 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 5.721e-06/1.161, allocations: 1.531 kB / 1.1 GB, free: 21.96 MB / 0.8419 GB Notification: Performance of FrontEnd: time 2.264e-06/1.162, allocations: 0 / 1.1 GB, free: 21.96 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 0.0001486/1.162, allocations: 4.188 kB / 1.1 GB, free: 21.96 MB / 0.8419 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 627 * Number of variables: 627 Notification: Performance of Generate backend data structure: time 0.009631/1.171, allocations: 3.842 MB / 1.103 GB, free: 20.34 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 3.57e-05/1.171, allocations: 11.44 kB / 1.103 GB, free: 20.34 MB / 0.8419 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004354/1.172, allocations: 349.4 kB / 1.104 GB, free: 20.29 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005126/1.177, allocations: 0.8277 MB / 1.105 GB, free: 20.12 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002669/1.18, allocations: 1.719 MB / 1.106 GB, free: 19.62 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001001/1.18, allocations: 182.3 kB / 1.106 GB, free: 19.61 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000336/1.18, allocations: 246.2 kB / 1.107 GB, free: 19.61 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0047/1.185, allocations: 3.098 MB / 1.11 GB, free: 19.32 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.833e-05/1.185, allocations: 7.812 kB / 1.11 GB, free: 19.32 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002488/1.185, allocations: 98.64 kB / 1.11 GB, free: 19.32 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001607/1.185, allocations: 134.5 kB / 1.11 GB, free: 19.31 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00472/1.19, allocations: 2.843 MB / 1.113 GB, free: 19.28 MB / 0.8419 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01087/1.201, allocations: 12.13 MB / 1.124 GB, free: 12.48 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003056/1.204, allocations: 2.282 MB / 1.127 GB, free: 12.05 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001824/1.206, allocations: 1.25 MB / 1.128 GB, free: 12.04 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000893/1.207, allocations: 1.366 MB / 1.129 GB, free: 10.54 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.4e-05/1.207, allocations: 56.66 kB / 1.129 GB, free: 10.5 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=197): time 3.697e-06/1.207, allocations: 0.875 kB / 1.129 GB, free: 10.5 MB / 0.8419 GB Notification: Performance of matching and sorting (n=197): time 0.004789/1.212, allocations: 2.833 MB / 1.132 GB, free: 10.31 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.007e-05/1.212, allocations: 76.22 kB / 1.132 GB, free: 10.24 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001582/1.213, allocations: 1.314 MB / 1.133 GB, free: 10.08 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 0.0001221/1.213, allocations: 63.89 kB / 1.134 GB, free: 10.05 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 0.000492/1.214, allocations: 0.9722 MB / 1.134 GB, free: 9.656 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004556/1.214, allocations: 0.7078 MB / 1.135 GB, free: 9.18 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005017/1.215, allocations: 303.6 kB / 1.135 GB, free: 9.156 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 3.185e-05/1.215, allocations: 307.1 kB / 1.136 GB, free: 8.855 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001226/1.216, allocations: 0.7812 MB / 1.137 GB, free: 8.852 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00127/1.217, allocations: 0.9668 MB / 1.137 GB, free: 8.734 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002745/1.22, allocations: 1.871 MB / 1.139 GB, free: 8.605 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.599e-06/1.22, allocations: 1.531 kB / 1.139 GB, free: 8.605 MB / 0.8419 GB Notification: Performance of matching and sorting (n=219) (initialization): time 0.003225/1.223, allocations: 2.17 MB / 1.141 GB, free: 8.426 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 1.562e-05/1.223, allocations: 7.406 kB / 1.141 GB, free: 8.426 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.876e-06/1.223, allocations: 4.25 kB / 1.141 GB, free: 8.426 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.017e-05/1.223, allocations: 10.94 kB / 1.141 GB, free: 8.426 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001525/1.225, allocations: 372.3 kB / 1.142 GB, free: 8.426 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.729e-05/1.225, allocations: 13.72 kB / 1.142 GB, free: 8.426 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001629/1.227, allocations: 145 kB / 1.142 GB, free: 8.344 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001299/1.227, allocations: 66.58 kB / 1.142 GB, free: 8.34 MB / 0.8419 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (219): * Single equations (assignments): 219 * Array equations: 0 * Algorithm blocks: 0 * 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 0.0007802/1.227, allocations: 0.5995 MB / 1.143 GB, free: 8.223 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003024/1.228, allocations: 206.8 kB / 1.143 GB, free: 8.117 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003319/1.231, allocations: 2.256 MB / 1.145 GB, free: 8.004 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.198e-05/1.231, allocations: 19.22 kB / 1.145 GB, free: 8.004 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.843e-06/1.231, allocations: 1.562 kB / 1.145 GB, free: 8.004 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002436/1.234, allocations: 1.874 MB / 1.147 GB, free: 7.891 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006269/1.24, allocations: 5.112 MB / 1.152 GB, free: 7.262 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.191e-06/1.24, allocations: 4.344 kB / 1.152 GB, free: 7.262 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001827/1.242, allocations: 426.2 kB / 1.152 GB, free: 7.262 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.679e-06/1.242, allocations: 10.53 kB / 1.152 GB, free: 7.262 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001216/1.242, allocations: 46.8 kB / 1.152 GB, free: 7.262 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.035e-05/1.242, allocations: 17.58 kB / 1.152 GB, free: 7.262 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.515e-06/1.242, allocations: 2.938 kB / 1.152 GB, free: 7.262 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004146/1.246, allocations: 3.418 MB / 1.156 GB, free: 6.848 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006747/1.247, allocations: 0.5073 MB / 1.156 GB, free: 6.621 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002776/1.247, allocations: 42.33 kB / 1.156 GB, free: 6.621 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001278/1.248, allocations: 51.38 kB / 1.156 GB, free: 6.621 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002283/1.249, allocations: 135.5 kB / 1.156 GB, free: 6.613 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001209/1.249, allocations: 62.84 kB / 1.156 GB, free: 6.613 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.001127/1.25, allocations: 0.9082 MB / 1.157 GB, free: 22.5 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.8e-07/1.25, allocations: 0 / 1.157 GB, free: 22.5 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.001596/1.251, allocations: 0.8504 MB / 1.158 GB, free: 22.38 MB / 0.8575 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 11 * Number of states: 16 (volEas.dynBal.medium.Xi[1],volEas.dynBal.U,volEas.dynBal.m,volEas.dynBal.mC[1],oriOutBot.mExc,oriOutTop.mExc,oriWesTop.mExc,volWes.dynBal.medium.Xi[1],volWes.dynBal.U,volWes.dynBal.m,volWes.dynBal.mC[1],oriEasTop.mExc,volTop.dynBal.medium.Xi[1],volTop.dynBal.U,volTop.dynBal.m,volTop.dynBal.mC[1]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (201): * Single equations (assignments): 201 * Array equations: 0 * Algorithm blocks: 0 * 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 Backend phase and start with SimCode phase: time 0.005046/1.256, allocations: 4.242 MB / 1.162 GB, free: 21.43 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.002518/1.259, allocations: 1.976 MB / 1.164 GB, free: 21.38 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 4.058e-06/1.259, allocations: 4.062 kB / 1.164 GB, free: 21.38 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.001287/1.26, allocations: 1.082 MB / 1.165 GB, free: 21.38 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004622/1.265, allocations: 1.252 MB / 1.166 GB, free: 21.23 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01911/1.284, allocations: 16.55 MB / 1.183 GB, free: 17.2 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001289/1.285, allocations: 1.83 MB / 1.184 GB, free: 16.42 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 0.001844/1.287, allocations: 0.6298 MB / 1.185 GB, free: 16.28 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001115/1.288, allocations: 0.9693 MB / 1.186 GB, free: 16.28 MB / 0.8575 GB Notification: Performance of SimCode: time 5.41e-07/1.288, allocations: 0 / 1.186 GB, free: 16.28 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09943/1.388, allocations: 61.16 MB / 1.246 GB, free: 14.23 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.57/12.95, allocations: 5.188 kB / 1.246 GB, free: 14.23 MB / 0.9044 GB (rm -f BuildingSystems_BuildingSystems.Airflow.Multizone.Validation.ThreeRoomsContam.pipe ; mkfifo BuildingSystems_BuildingSystems.Airflow.Multizone.Validation.ThreeRoomsContam.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Airflow.Multizone.Validation.ThreeRoomsContam.pipe >> ../files/BuildingSystems_BuildingSystems.Airflow.Multizone.Validation.ThreeRoomsContam.sim & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.Airflow.Multizone.Validation.ThreeRoomsContam_res.csv --start-time 0 --stop-time 3600 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 1.44 BuildingSystems_BuildingSystems_Airflow_Multizone_Validation_ThreeRoomsContam.fmu > BuildingSystems_BuildingSystems.Airflow.Multizone.Validation.ThreeRoomsContam.pipe 2>&1)