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.001293/0.001293, allocations: 108.8 kB / 16.41 MB, free: 6.508 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.001301/0.001301, allocations: 184 kB / 17.34 MB, free: 5.738 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.472/1.472, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.00262/0.00262, allocations: 287.9 kB / 291.5 MB, free: 14.47 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.136/1.136, allocations: 169.3 MB / 0.499 GB, free: 4.441 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.003981/0.003981, allocations: 99.83 kB / 0.6821 GB, free: 6.969 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5061/0.5101, allocations: 86.98 MB / 0.767 GB, free: 3.93 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Airflow.Multizone.Examples.ZonalFlow): time 0.6962/1.206, allocations: 204.7 MB / 0.9669 GB, free: 1.828 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.01117/1.217, allocations: 6.385 MB / 0.9731 GB, free: 1.781 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00209/1.22, allocations: 38.97 kB / 0.9732 GB, free: 1.781 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.00209/1.222, allocations: 0.7712 MB / 0.9739 GB, free: 1.766 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.007331/1.229, allocations: 2.762 MB / 0.9766 GB, free: 1.66 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.002256/1.231, allocations: 0.7196 MB / 0.9773 GB, free: 1.641 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.004459/1.236, allocations: 3.278 MB / 0.9805 GB, free: 1.637 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001467/1.237, allocations: 0.9345 MB / 0.9814 GB, free: 1.574 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002604/1.24, allocations: 1.287 MB / 0.9827 GB, free: 1.57 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002485/1.242, allocations: 1.095 MB / 0.9838 GB, free: 1.57 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.0002288/1.243, allocations: 130.5 kB / 0.9839 GB, free: 1.57 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00477/1.247, allocations: 2.364 MB / 0.9862 GB, free: 1.547 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0006494/1.248, allocations: 0.5256 MB / 0.9867 GB, free: 1.543 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.001241/1.249, allocations: 0.7427 MB / 0.9874 GB, free: 1.543 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.005514/1.255, allocations: 2.803 MB / 0.9902 GB, free: 1.395 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 6.061e-06/1.255, allocations: 0 / 0.9902 GB, free: 1.395 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.144e-06/1.255, allocations: 1.422 kB / 0.9902 GB, free: 1.395 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 2.777e-05/1.255, allocations: 0.8438 kB / 0.9902 GB, free: 1.395 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.004297/1.259, allocations: 1.813 MB / 0.992 GB, free: 16.53 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.531e-05/1.259, allocations: 8.156 kB / 0.992 GB, free: 16.53 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002301/1.261, allocations: 360 kB / 0.9923 GB, free: 16.46 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001555/1.263, allocations: 0.8721 MB / 0.9932 GB, free: 16.14 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.49e-05/1.263, allocations: 80.78 kB / 0.9932 GB, free: 16.14 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001557/1.263, allocations: 101.2 kB / 0.9933 GB, free: 16.14 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001781/1.265, allocations: 1.191 MB / 0.9945 GB, free: 16.05 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.878e-05/1.265, allocations: 3.953 kB / 0.9945 GB, free: 16.05 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001014/1.265, allocations: 46.97 kB / 0.9945 GB, free: 16.05 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.248e-05/1.265, allocations: 59.33 kB / 0.9946 GB, free: 16.05 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001718/1.267, allocations: 1.252 MB / 0.9958 GB, free: 16.03 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.006761/1.274, allocations: 5.111 MB / 1.001 GB, free: 13.52 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001362/1.275, allocations: 1.135 MB / 1.002 GB, free: 13.12 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006016/1.276, allocations: 491.2 kB / 1.002 GB, free: 13.11 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 5.478e-05/1.276, allocations: 20.91 kB / 1.002 GB, free: 13.11 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006831/1.276, allocations: 488.6 kB / 1.003 GB, free: 13.05 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=76): time 2.955e-06/1.276, allocations: 1.156 kB / 1.003 GB, free: 13.05 MB / 0.7325 GB Notification: Performance of matching and sorting (n=76): time 0.001795/1.278, allocations: 1.159 MB / 1.004 GB, free: 12.96 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.32e-05/1.278, allocations: 64.5 kB / 1.004 GB, free: 12.89 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007023/1.279, allocations: 0.5736 MB / 1.005 GB, free: 12.76 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 7.554e-05/1.279, allocations: 42.62 kB / 1.005 GB, free: 12.73 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003298/1.279, allocations: 472 kB / 1.005 GB, free: 12.49 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002851/1.28, allocations: 277.1 kB / 1.005 GB, free: 12.31 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001978/1.28, allocations: 134.2 kB / 1.006 GB, free: 12.29 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001934/1.28, allocations: 387.2 kB / 1.006 GB, free: 11.98 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004403/1.28, allocations: 329 kB / 1.006 GB, free: 11.98 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000539/1.281, allocations: 448.8 kB / 1.007 GB, free: 11.88 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009881/1.282, allocations: 0.8218 MB / 1.007 GB, free: 11.77 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.007e-06/1.282, allocations: 0.75 kB / 1.007 GB, free: 11.77 MB / 0.7325 GB Notification: Performance of matching and sorting (n=91) (initialization): time 0.001459/1.283, allocations: 0.9317 MB / 1.008 GB, free: 11.69 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.975e-05/1.283, allocations: 6.078 kB / 1.008 GB, free: 11.69 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.023e-05/1.283, allocations: 6.156 kB / 1.008 GB, free: 11.69 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.984e-05/1.283, allocations: 3.406 kB / 1.008 GB, free: 11.69 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007117/1.284, allocations: 160.3 kB / 1.009 GB, free: 11.69 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.83e-05/1.284, allocations: 11.41 kB / 1.009 GB, free: 11.68 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008099/1.285, allocations: 64.58 kB / 1.009 GB, free: 11.65 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.965e-05/1.285, allocations: 27.34 kB / 1.009 GB, free: 11.65 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.0005168/1.286, allocations: 333.1 kB / 1.009 GB, free: 11.53 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001399/1.286, allocations: 92.14 kB / 1.009 GB, free: 11.48 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002579/1.286, allocations: 106.1 kB / 1.009 GB, free: 11.47 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.624e-06/1.286, allocations: 8.625 kB / 1.009 GB, free: 11.47 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.725e-05/1.286, allocations: 5.031 kB / 1.009 GB, free: 11.46 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001186/1.287, allocations: 1.088 MB / 1.01 GB, free: 11.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 postOpt removeSimpleEquations (simulation): time 0.00392/1.291, allocations: 2.312 MB / 1.012 GB, free: 10.5 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.284e-06/1.291, allocations: 2.406 kB / 1.012 GB, free: 10.5 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008648/1.292, allocations: 172.9 kB / 1.013 GB, free: 10.5 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.286e-06/1.292, allocations: 5.188 kB / 1.013 GB, free: 10.5 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.491e-05/1.292, allocations: 21.02 kB / 1.013 GB, free: 10.5 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.281e-06/1.292, allocations: 4.734 kB / 1.013 GB, free: 10.5 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.733e-06/1.292, allocations: 0 / 1.013 GB, free: 10.5 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001863/1.294, allocations: 1.36 MB / 1.014 GB, free: 10.29 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005208/1.294, allocations: 256.3 kB / 1.014 GB, free: 10.14 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000102/1.294, allocations: 19.88 kB / 1.014 GB, free: 10.14 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006261/1.295, allocations: 21.34 kB / 1.014 GB, free: 10.14 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.011e-05/1.295, allocations: 44.05 kB / 1.014 GB, free: 10.14 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.816e-05/1.295, allocations: 25.16 kB / 1.014 GB, free: 10.14 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0004767/1.296, allocations: 416.9 kB / 1.015 GB, free: 10.04 MB / 0.7325 GB Notification: Performance of sort global known variables: time 9.1e-08/1.296, allocations: 0 / 1.015 GB, free: 10.04 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0009667/1.297, allocations: 368.2 kB / 1.015 GB, free: 9.992 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.0002991/1.297, allocations: 185.3 kB / 1.015 GB, free: 9.898 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.001071/1.298, allocations: 0.7642 MB / 1.016 GB, free: 9.887 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 3.938e-06/1.298, allocations: 1.125 kB / 1.016 GB, free: 9.887 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.000474/1.299, allocations: 411.2 kB / 1.016 GB, free: 9.883 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00256/1.301, allocations: 0.5921 MB / 1.017 GB, free: 9.801 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003702/1.305, allocations: 2.206 MB / 1.019 GB, free: 8.953 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008328/1.306, allocations: 1.139 MB / 1.02 GB, free: 8.242 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.001089/1.307, allocations: 277.1 kB / 1.02 GB, free: 8.184 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002388/1.307, allocations: 72.75 kB / 1.021 GB, free: 8.176 MB / 0.7325 GB Notification: Performance of SimCode: time 1.252e-06/1.307, allocations: 0 / 1.021 GB, free: 8.176 MB / 0.7325 GB Notification: Performance of Templates: time 0.0343/1.341, allocations: 19.36 MB / 1.039 GB, free: 15.02 MB / 0.7481 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 -s cvode -lv LOG_STATS > BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.ZonalFlow.pipe 2>&1)