Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.ZonalFlow.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.Examples.ZonalFlow,fileNamePrefix="BuildingSystems_BuildingSystems_Airflow_Multizone_Examples_ZonalFlow",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Airflow.Multizone.Examples.ZonalFlow,fileNamePrefix="BuildingSystems_BuildingSystems_Airflow_Multizone_Examples_ZonalFlow",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.008478/0.008478, allocations: 97.92 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.002206/0.002206, allocations: 194.9 kB / 16.68 MB, free: 5.969 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.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002541/0.002541, allocations: 282.1 kB / 290.8 MB, free: 14.45 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.035/1.035, allocations: 169.2 MB / 0.4983 GB, free: 4.414 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002668/0.002668, allocations: 100.1 kB / 0.681 GB, free: 7.449 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4141/0.4167, allocations: 86.98 MB / 0.7659 GB, free: 3.84 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Airflow.Multizone.Examples.ZonalFlow): time 0.6739/1.091, allocations: 204.1 MB / 0.9652 GB, free: 1.902 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.00998/1.101, allocations: 6.381 MB / 0.9715 GB, free: 1.859 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001276/1.102, allocations: 40.34 kB / 0.9715 GB, free: 1.859 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.001714/1.104, allocations: 0.7227 MB / 0.9722 GB, free: 1.844 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.005921/1.11, allocations: 2.678 MB / 0.9748 GB, free: 1.742 MB / 0.7169 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/Airflow/Multizone/ZonalFlow_ACS.mo:29:3-37:11:writable] Warning: initial() may only be used as a when condition (when initial() or when {..., initial(), ...}), but got condition 'zonFlo.useDefaultProperties and initial()'. Notification: Performance of NFTyping.typeClassSections: time 0.001636/1.111, allocations: 0.711 MB / 0.9755 GB, free: 1.723 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.003092/1.114, allocations: 3.275 MB / 0.9787 GB, free: 1.719 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001091/1.116, allocations: 1.131 MB / 0.9798 GB, free: 1.609 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001551/1.117, allocations: 1.254 MB / 0.9811 GB, free: 1.605 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001534/1.119, allocations: 1.101 MB / 0.9821 GB, free: 1.598 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.000146/1.119, allocations: 130.1 kB / 0.9823 GB, free: 1.598 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003564/1.122, allocations: 2.351 MB / 0.9846 GB, free: 1.578 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.000401/1.123, allocations: 0.5176 MB / 0.9851 GB, free: 1.574 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0006879/1.123, allocations: 0.7366 MB / 0.9858 GB, free: 1.574 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.003235/1.127, allocations: 2.804 MB / 0.9885 GB, free: 1.422 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 5.219e-06/1.127, allocations: 7.281 kB / 0.9885 GB, free: 1.422 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.383e-06/1.127, allocations: 0 / 0.9885 GB, free: 1.422 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 1.705e-05/1.127, allocations: 1.156 kB / 0.9885 GB, free: 1.422 MB / 0.7169 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 265 * Number of variables: 265 Notification: Performance of Generate backend data structure: time 0.003788/1.131, allocations: 1.806 MB / 0.9903 GB, free: 16.56 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.377e-05/1.131, allocations: 11.72 kB / 0.9903 GB, free: 16.56 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000188/1.131, allocations: 161.4 kB / 0.9905 GB, free: 16.52 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002074/1.133, allocations: 354.3 kB / 0.9908 GB, free: 16.45 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001237/1.134, allocations: 0.8809 MB / 0.9917 GB, free: 16.13 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.294e-05/1.134, allocations: 77.34 kB / 0.9917 GB, free: 16.12 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001423/1.134, allocations: 100.4 kB / 0.9918 GB, free: 16.12 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001594/1.136, allocations: 1.198 MB / 0.993 GB, free: 16.04 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.787e-05/1.136, allocations: 4.922 kB / 0.993 GB, free: 16.04 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.556e-05/1.136, allocations: 39.78 kB / 0.993 GB, free: 16.04 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.777e-05/1.136, allocations: 60.22 kB / 0.9931 GB, free: 16.03 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001571/1.138, allocations: 1.253 MB / 0.9943 GB, free: 16.02 MB / 0.7325 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.00568/1.143, allocations: 5.109 MB / 0.9993 GB, free: 13.52 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001302/1.145, allocations: 1.153 MB / 1 GB, free: 13.11 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005957/1.145, allocations: 0.5076 MB / 1.001 GB, free: 13.1 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 4.922e-05/1.145, allocations: 17.95 kB / 1.001 GB, free: 13.1 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005949/1.146, allocations: 486.7 kB / 1.001 GB, free: 13.04 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=76): time 2.605e-06/1.146, allocations: 0 / 1.001 GB, free: 13.04 MB / 0.7325 GB Notification: Performance of matching and sorting (n=76): time 0.001653/1.148, allocations: 1.162 MB / 1.003 GB, free: 12.95 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.39e-05/1.148, allocations: 66.16 kB / 1.003 GB, free: 12.88 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005816/1.148, allocations: 0.5717 MB / 1.003 GB, free: 12.75 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 7.536e-05/1.148, allocations: 43.48 kB / 1.003 GB, free: 12.72 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003073/1.149, allocations: 474.1 kB / 1.004 GB, free: 12.48 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002564/1.149, allocations: 276.7 kB / 1.004 GB, free: 12.3 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001852/1.149, allocations: 132.6 kB / 1.004 GB, free: 12.29 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0002088/1.149, allocations: 385.2 kB / 1.004 GB, free: 11.97 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004108/1.15, allocations: 336 kB / 1.005 GB, free: 11.97 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005157/1.15, allocations: 446.7 kB / 1.005 GB, free: 11.88 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009757/1.151, allocations: 0.8246 MB / 1.006 GB, free: 11.77 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.506e-06/1.151, allocations: 3.938 kB / 1.006 GB, free: 11.76 MB / 0.7325 GB Notification: Performance of matching and sorting (n=91) (initialization): time 0.00133/1.153, allocations: 0.9308 MB / 1.007 GB, free: 11.68 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.942e-05/1.153, allocations: 7.125 kB / 1.007 GB, free: 11.68 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.496e-06/1.153, allocations: 2.25 kB / 1.007 GB, free: 11.68 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.087e-05/1.153, allocations: 8.656 kB / 1.007 GB, free: 11.68 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006399/1.153, allocations: 166.3 kB / 1.007 GB, free: 11.67 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.119e-05/1.153, allocations: 5.75 kB / 1.007 GB, free: 11.67 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007158/1.154, allocations: 63.12 kB / 1.007 GB, free: 11.63 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.284e-05/1.154, allocations: 29.72 kB / 1.007 GB, free: 11.63 MB / 0.7325 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 1 ($whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (91): * Single equations (assignments): 91 * 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.000505/1.155, allocations: 336.5 kB / 1.007 GB, free: 11.52 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001302/1.155, allocations: 83.08 kB / 1.008 GB, free: 11.47 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002145/1.155, allocations: 110.2 kB / 1.008 GB, free: 11.46 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.558e-06/1.155, allocations: 11.69 kB / 1.008 GB, free: 11.45 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.158e-05/1.155, allocations: 3.25 kB / 1.008 GB, free: 11.45 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001176/1.156, allocations: 1.087 MB / 1.009 GB, free: 11 MB / 0.7325 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 postOpt removeSimpleEquations (simulation): time 0.00274/1.159, allocations: 2.316 MB / 1.011 GB, free: 10.49 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.637e-06/1.159, allocations: 0 / 1.011 GB, free: 10.49 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007722/1.16, allocations: 174.6 kB / 1.011 GB, free: 10.49 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.21e-06/1.16, allocations: 2.906 kB / 1.011 GB, free: 10.49 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.516e-05/1.16, allocations: 20 kB / 1.011 GB, free: 10.49 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.807e-06/1.16, allocations: 3.781 kB / 1.011 GB, free: 10.49 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.533e-06/1.16, allocations: 0 / 1.011 GB, free: 10.49 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001643/1.162, allocations: 1.361 MB / 1.013 GB, free: 10.28 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003534/1.162, allocations: 256.6 kB / 1.013 GB, free: 10.13 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.425e-05/1.162, allocations: 16.88 kB / 1.013 GB, free: 10.13 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006079/1.163, allocations: 24.28 kB / 1.013 GB, free: 10.12 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.639e-05/1.163, allocations: 42.14 kB / 1.013 GB, free: 10.12 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.123e-05/1.163, allocations: 27.45 kB / 1.013 GB, free: 10.12 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0004398/1.163, allocations: 418.1 kB / 1.013 GB, free: 10.03 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.41e-07/1.163, allocations: 0.7188 kB / 1.013 GB, free: 10.03 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0009585/1.164, allocations: 368.5 kB / 1.014 GB, free: 9.984 MB / 0.7325 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 6 (rooA.dynBal.medium.Xi[1],rooA.dynBal.U,rooA.dynBal.m,rooB.dynBal.medium.Xi[1],rooB.dynBal.U,rooB.dynBal.m) * Number of discrete variables: 1 ($whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (76): * Single equations (assignments): 76 * 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.00214/1.166, allocations: 1.979 MB / 1.016 GB, free: 9.246 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.001107/1.167, allocations: 0.8043 MB / 1.016 GB, free: 9.227 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.946e-06/1.167, allocations: 4.406 kB / 1.016 GB, free: 9.227 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0004911/1.168, allocations: 427.6 kB / 1.017 GB, free: 9.227 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002509/1.171, allocations: 0.5959 MB / 1.017 GB, free: 9.141 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009461/1.18, allocations: 7.273 MB / 1.024 GB, free: 6.918 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007907/1.181, allocations: 1.14 MB / 1.026 GB, free: 6.207 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0009108/1.182, allocations: 272.8 kB / 1.026 GB, free: 6.152 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004743/1.182, allocations: 380.2 kB / 1.026 GB, free: 6.145 MB / 0.7325 GB Notification: Performance of SimCode: time 7.92e-07/1.182, allocations: 4 kB / 1.026 GB, free: 6.141 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05518/1.237, allocations: 25.94 MB / 1.052 GB, free: 2.598 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.435/10.67, allocations: 4.625 kB / 1.052 GB, free: 2.594 MB / 0.7481 GB (rm -f BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.ZonalFlow.pipe ; mkfifo BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.ZonalFlow.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.ZonalFlow.pipe >> ../files/BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.ZonalFlow.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Airflow_Multizone_Examples_ZonalFlow_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Airflow_Multizone_Examples_ZonalFlow.fmu > BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.ZonalFlow.pipe 2>&1)