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: translateModel(BuildingSystems.Airflow.Multizone.Examples.ZonalFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.ZonalFlow") translateModel(BuildingSystems.Airflow.Multizone.Examples.ZonalFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.ZonalFlow") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.006598/0.006597, allocations: 100.9 kB / 15.73 MB, free: 6.043 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.001346/0.001346, allocations: 186.9 kB / 16.67 MB, free: 5.977 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.567/1.567, allocations: 222.9 MB / 240.4 MB, free: 4.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002203/0.002203, allocations: 270.9 kB / 290.8 MB, free: 1.941 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.971/0.971, allocations: 169.3 MB / 0.4983 GB, free: 13.82 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001728/0.001728, allocations: 96.28 kB / 0.6814 GB, free: 15.54 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2465/0.2482, allocations: 86.97 MB / 0.7664 GB, free: 8.484 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Airflow.Multizone.Examples.ZonalFlow): time 0.8623/1.111, allocations: 204.2 MB / 0.9657 GB, free: 6.598 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.01306/1.124, allocations: 6.372 MB / 0.972 GB, free: 212 kB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002913/1.127, allocations: 35.81 kB / 0.972 GB, free: 176 kB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.002868/1.13, allocations: 0.7265 MB / 0.9727 GB, free: 15.44 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.009346/1.139, allocations: 2.681 MB / 0.9753 GB, free: 12.75 MB / 0.7325 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.002651/1.142, allocations: 0.7109 MB / 0.976 GB, free: 12.05 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.006132/1.148, allocations: 3.269 MB / 0.9792 GB, free: 8.766 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002045/1.15, allocations: 1.151 MB / 0.9803 GB, free: 7.594 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003706/1.154, allocations: 1.253 MB / 0.9816 GB, free: 6.336 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003623/1.157, allocations: 1.102 MB / 0.9826 GB, free: 5.234 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 0.0003189/1.158, allocations: 128 kB / 0.9828 GB, free: 5.109 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006447/1.164, allocations: 2.35 MB / 0.9851 GB, free: 2.754 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.0009127/1.165, allocations: 0.5182 MB / 0.9856 GB, free: 2.234 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.00148/1.167, allocations: 0.7391 MB / 0.9863 GB, free: 1.492 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.007402/1.174, allocations: 2.797 MB / 0.989 GB, free: 14.69 MB / 0.7481 GB Notification: Performance of FrontEnd - DAE generated: time 8.005e-06/1.174, allocations: 4 kB / 0.989 GB, free: 14.68 MB / 0.7481 GB Notification: Performance of FrontEnd: time 2.214e-06/1.174, allocations: 0 / 0.989 GB, free: 14.68 MB / 0.7481 GB Notification: Performance of Transformations before backend: time 3.077e-05/1.174, allocations: 0 / 0.989 GB, free: 14.68 MB / 0.7481 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.005255/1.179, allocations: 1.773 MB / 0.9908 GB, free: 12.86 MB / 0.7481 GB Notification: Performance of prepare preOptimizeDAE: time 6.969e-05/1.179, allocations: 12.02 kB / 0.9908 GB, free: 12.84 MB / 0.7481 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0024/1.182, allocations: 346.2 kB / 0.9911 GB, free: 12.5 MB / 0.7481 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001717/1.184, allocations: 0.874 MB / 0.9919 GB, free: 11.59 MB / 0.7481 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.343e-05/1.184, allocations: 81.94 kB / 0.992 GB, free: 11.51 MB / 0.7481 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001705/1.184, allocations: 100 kB / 0.9921 GB, free: 11.41 MB / 0.7481 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002258/1.186, allocations: 1.191 MB / 0.9933 GB, free: 10.19 MB / 0.7481 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.836e-05/1.186, allocations: 0 / 0.9933 GB, free: 10.19 MB / 0.7481 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001125/1.186, allocations: 40 kB / 0.9933 GB, free: 10.15 MB / 0.7481 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.778e-05/1.186, allocations: 58.08 kB / 0.9934 GB, free: 10.09 MB / 0.7481 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001968/1.188, allocations: 1.25 MB / 0.9946 GB, free: 8.832 MB / 0.7481 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.007104/1.195, allocations: 5.098 MB / 0.9996 GB, free: 3.277 MB / 0.7481 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001543/1.197, allocations: 1.168 MB / 1.001 GB, free: 2.031 MB / 0.7481 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007214/1.198, allocations: 0.5011 MB / 1.001 GB, free: 1.527 MB / 0.7481 GB Notification: Performance of preOpt evalFunc (simulation): time 6.277e-05/1.198, allocations: 16.64 kB / 1.001 GB, free: 1.512 MB / 0.7481 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007807/1.199, allocations: 488.2 kB / 1.002 GB, free: 1.023 MB / 0.7481 GB Notification: Performance of pre-optimization done (n=76): time 6.342e-06/1.199, allocations: 7.984 kB / 1.002 GB, free: 1.016 MB / 0.7481 GB Notification: Performance of matching and sorting (n=76): time 0.002173/1.201, allocations: 1.157 MB / 1.003 GB, free: 15.85 MB / 0.7637 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.737e-05/1.201, allocations: 60.06 kB / 1.003 GB, free: 15.78 MB / 0.7637 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000697/1.202, allocations: 0.5782 MB / 1.003 GB, free: 15.19 MB / 0.7637 GB Notification: Performance of collectPreVariables (initialization): time 6.341e-05/1.202, allocations: 41.7 kB / 1.003 GB, free: 15.14 MB / 0.7637 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003842/1.202, allocations: 459.8 kB / 1.004 GB, free: 14.69 MB / 0.7637 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002984/1.202, allocations: 268.1 kB / 1.004 GB, free: 14.42 MB / 0.7637 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002025/1.203, allocations: 138.6 kB / 1.004 GB, free: 14.28 MB / 0.7637 GB Notification: Performance of setup shared object (initialization): time 0.0002034/1.203, allocations: 382.8 kB / 1.005 GB, free: 13.9 MB / 0.7637 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005019/1.203, allocations: 329.8 kB / 1.005 GB, free: 13.57 MB / 0.7637 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005447/1.204, allocations: 449.5 kB / 1.005 GB, free: 13.1 MB / 0.7637 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001095/1.205, allocations: 0.8239 MB / 1.006 GB, free: 12.24 MB / 0.7637 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.359e-06/1.205, allocations: 0 / 1.006 GB, free: 12.24 MB / 0.7637 GB Notification: Performance of matching and sorting (n=91) (initialization): time 0.001421/1.206, allocations: 0.9337 MB / 1.007 GB, free: 11.3 MB / 0.7637 GB Notification: Performance of prepare postOptimizeDAE: time 2.316e-05/1.206, allocations: 8 kB / 1.007 GB, free: 11.29 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.518e-06/1.206, allocations: 4 kB / 1.007 GB, free: 11.29 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.737e-05/1.206, allocations: 7.938 kB / 1.007 GB, free: 11.28 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006971/1.207, allocations: 159.4 kB / 1.007 GB, free: 11.12 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.328e-05/1.207, allocations: 7.938 kB / 1.007 GB, free: 11.12 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007397/1.208, allocations: 63.36 kB / 1.007 GB, free: 11.05 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.743e-05/1.208, allocations: 24 kB / 1.007 GB, free: 11.03 MB / 0.7637 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.0006003/1.209, allocations: 330.1 kB / 1.008 GB, free: 10.7 MB / 0.7637 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001251/1.209, allocations: 83.06 kB / 1.008 GB, free: 10.62 MB / 0.7637 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00025/1.209, allocations: 107.8 kB / 1.008 GB, free: 10.51 MB / 0.7637 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.026e-06/1.209, allocations: 7.938 kB / 1.008 GB, free: 10.5 MB / 0.7637 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.016e-05/1.209, allocations: 4 kB / 1.008 GB, free: 10.5 MB / 0.7637 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001359/1.21, allocations: 1.089 MB / 1.009 GB, free: 9.324 MB / 0.7637 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.003438/1.214, allocations: 2.307 MB / 1.011 GB, free: 6.93 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.709e-06/1.214, allocations: 4.031 kB / 1.011 GB, free: 6.926 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008437/1.215, allocations: 171.8 kB / 1.011 GB, free: 6.758 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.097e-05/1.215, allocations: 4 kB / 1.011 GB, free: 6.754 MB / 0.7637 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.099e-05/1.215, allocations: 19.98 kB / 1.011 GB, free: 6.734 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.452e-06/1.215, allocations: 4 kB / 1.011 GB, free: 6.73 MB / 0.7637 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.428e-06/1.215, allocations: 3.938 kB / 1.011 GB, free: 6.727 MB / 0.7637 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002079/1.217, allocations: 1.359 MB / 1.013 GB, free: 5.344 MB / 0.7637 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004086/1.217, allocations: 256 kB / 1.013 GB, free: 5.074 MB / 0.7637 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001077/1.217, allocations: 12 kB / 1.013 GB, free: 5.062 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000633/1.218, allocations: 30.36 kB / 1.013 GB, free: 5.035 MB / 0.7637 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001005/1.218, allocations: 40.59 kB / 1.013 GB, free: 4.996 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.896e-05/1.218, allocations: 27.98 kB / 1.013 GB, free: 4.969 MB / 0.7637 GB Notification: Performance of sorting global known variables: time 0.0005749/1.219, allocations: 411.1 kB / 1.013 GB, free: 4.57 MB / 0.7637 GB Notification: Performance of sort global known variables: time 1.3e-07/1.219, allocations: 4 kB / 1.013 GB, free: 4.566 MB / 0.7637 GB Notification: Performance of remove unused functions: time 0.001164/1.22, allocations: 367.1 kB / 1.014 GB, free: 4.207 MB / 0.7637 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.0003976/1.22, allocations: 185.6 kB / 1.014 GB, free: 4.02 MB / 0.7637 GB Notification: Performance of simCode: created initialization part: time 0.00141/1.222, allocations: 0.8019 MB / 1.015 GB, free: 3.215 MB / 0.7637 GB Notification: Performance of simCode: created event and clocks part: time 3.727e-06/1.222, allocations: 0 / 1.015 GB, free: 3.215 MB / 0.7637 GB Notification: Performance of simCode: created simulation system equations: time 0.0005548/1.222, allocations: 427.5 kB / 1.015 GB, free: 2.801 MB / 0.7637 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002589/1.225, allocations: 0.5935 MB / 1.016 GB, free: 2.234 MB / 0.7637 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003601/1.229, allocations: 2.168 MB / 1.018 GB, free: 32 kB / 0.7637 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007536/1.229, allocations: 1.139 MB / 1.019 GB, free: 14.86 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 0.0009583/1.23, allocations: 279.1 kB / 1.019 GB, free: 14.59 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002217/1.231, allocations: 71.44 kB / 1.019 GB, free: 14.52 MB / 0.7794 GB Notification: Performance of SimCode: time 9.82e-07/1.231, allocations: 0 / 1.019 GB, free: 14.52 MB / 0.7794 GB Notification: Performance of Templates: time 0.03959/1.27, allocations: 19.23 MB / 1.038 GB, free: 11.54 MB / 0.795 GB make -j1 -f BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.ZonalFlow.makefile (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 & ./BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.ZonalFlow -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.ZonalFlow.pipe 2>&1)