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.00153/0.001531, allocations: 110.1 kB / 16.42 MB, free: 6.453 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.001781/0.001781, allocations: 187.9 kB / 17.35 MB, free: 5.715 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.373/1.373, 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.002243/0.002243, allocations: 287.6 kB / 291.5 MB, free: 14.44 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9534/0.9534, allocations: 169.3 MB / 0.499 GB, free: 4.41 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001832/0.001832, allocations: 99.77 kB / 0.6821 GB, free: 6.949 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4256/0.4275, allocations: 86.97 MB / 0.767 GB, free: 3.898 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Airflow.Multizone.Examples.ZonalFlow): time 0.5905/1.018, allocations: 204.1 MB / 0.9664 GB, free: 1.812 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.008474/1.027, allocations: 6.382 MB / 0.9726 GB, free: 1.77 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008328/1.027, allocations: 36.16 kB / 0.9727 GB, free: 1.77 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.001512/1.029, allocations: 0.7697 MB / 0.9734 GB, free: 1.754 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.005106/1.034, allocations: 2.755 MB / 0.9761 GB, free: 1.652 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.001466/1.036, allocations: 0.7122 MB / 0.9768 GB, free: 1.637 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.002941/1.039, allocations: 3.283 MB / 0.98 GB, free: 1.629 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00115/1.04, allocations: 1.135 MB / 0.9811 GB, free: 1.52 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001701/1.041, allocations: 1.299 MB / 0.9824 GB, free: 1.512 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001513/1.043, allocations: 1.095 MB / 0.9835 GB, free: 1.508 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.0001578/1.043, allocations: 128.1 kB / 0.9836 GB, free: 1.508 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004201/1.047, allocations: 2.36 MB / 0.9859 GB, free: 1.488 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0004343/1.048, allocations: 0.5177 MB / 0.9864 GB, free: 1.484 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0008532/1.049, allocations: 0.7377 MB / 0.9871 GB, free: 1.484 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.003541/1.052, allocations: 2.793 MB / 0.9898 GB, free: 1.34 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 5.11e-06/1.052, allocations: 2.531 kB / 0.9898 GB, free: 1.34 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.523e-06/1.052, allocations: 1.062 kB / 0.9898 GB, free: 1.34 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 1.454e-05/1.052, allocations: 0 / 0.9898 GB, free: 1.34 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.003756/1.056, allocations: 1.772 MB / 0.9916 GB, free: 16.52 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.683e-05/1.056, allocations: 10.19 kB / 0.9916 GB, free: 16.52 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002219/1.058, allocations: 350 kB / 0.9919 GB, free: 16.45 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001479/1.06, allocations: 0.8765 MB / 0.9928 GB, free: 16.14 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.707e-05/1.06, allocations: 78.98 kB / 0.9928 GB, free: 16.13 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001468/1.06, allocations: 102.1 kB / 0.9929 GB, free: 16.13 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001826/1.062, allocations: 1.191 MB / 0.9941 GB, free: 16.05 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.838e-05/1.062, allocations: 1.031 kB / 0.9941 GB, free: 16.05 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001172/1.062, allocations: 44.72 kB / 0.9941 GB, free: 16.05 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.774e-05/1.062, allocations: 59.56 kB / 0.9942 GB, free: 16.05 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001687/1.064, allocations: 1.246 MB / 0.9954 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.006105/1.07, allocations: 5.101 MB / 1 GB, free: 13.54 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001362/1.071, allocations: 1.162 MB / 1.002 GB, free: 13.14 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006081/1.072, allocations: 0.5009 MB / 1.002 GB, free: 13.13 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 5.189e-05/1.072, allocations: 20.59 kB / 1.002 GB, free: 13.13 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006458/1.073, allocations: 492.4 kB / 1.003 GB, free: 13.07 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=76): time 3.166e-06/1.073, allocations: 0 / 1.003 GB, free: 13.07 MB / 0.7325 GB Notification: Performance of matching and sorting (n=76): time 0.001728/1.074, allocations: 1.151 MB / 1.004 GB, free: 12.98 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.501e-05/1.074, allocations: 59.34 kB / 1.004 GB, free: 12.92 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006112/1.075, allocations: 0.5871 MB / 1.004 GB, free: 12.78 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 6.627e-05/1.075, allocations: 38.48 kB / 1.004 GB, free: 12.75 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002509/1.075, allocations: 460.4 kB / 1.005 GB, free: 12.53 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.000221/1.076, allocations: 268.5 kB / 1.005 GB, free: 12.36 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000193/1.076, allocations: 135.1 kB / 1.005 GB, free: 12.34 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001513/1.076, allocations: 384.8 kB / 1.005 GB, free: 12.02 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004053/1.076, allocations: 338.2 kB / 1.006 GB, free: 12.02 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004717/1.077, allocations: 444.1 kB / 1.006 GB, free: 11.93 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009507/1.078, allocations: 0.8211 MB / 1.007 GB, free: 11.82 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.42e-06/1.078, allocations: 3.469 kB / 1.007 GB, free: 11.82 MB / 0.7325 GB Notification: Performance of matching and sorting (n=91) (initialization): time 0.00138/1.079, allocations: 0.9308 MB / 1.008 GB, free: 11.73 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.617e-05/1.079, allocations: 6.281 kB / 1.008 GB, free: 11.73 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.036e-06/1.079, allocations: 2.625 kB / 1.008 GB, free: 11.73 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.173e-05/1.079, allocations: 6.062 kB / 1.008 GB, free: 11.73 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006645/1.08, allocations: 158.9 kB / 1.008 GB, free: 11.73 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.3e-05/1.08, allocations: 14.38 kB / 1.008 GB, free: 11.72 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007486/1.081, allocations: 65.55 kB / 1.008 GB, free: 11.69 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.972e-05/1.081, allocations: 23.97 kB / 1.008 GB, free: 11.69 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.0005054/1.081, allocations: 332.2 kB / 1.009 GB, free: 11.57 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000121/1.081, allocations: 80.03 kB / 1.009 GB, free: 11.54 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002557/1.082, allocations: 108.4 kB / 1.009 GB, free: 11.52 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001145/1.083, allocations: 1.096 MB / 1.01 GB, free: 11.07 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.735e-06/1.083, allocations: 0 / 1.01 GB, free: 11.07 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004384/1.083, allocations: 256.2 kB / 1.01 GB, free: 10.92 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001111/1.083, allocations: 15.5 kB / 1.01 GB, free: 10.92 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005815/1.084, allocations: 20.83 kB / 1.01 GB, free: 10.92 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.375e-05/1.084, allocations: 41.94 kB / 1.01 GB, free: 10.92 MB / 0.7325 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001632/1.086, allocations: 1.022 MB / 1.011 GB, free: 10.8 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001656/1.087, allocations: 1.47 MB / 1.013 GB, free: 10.53 MB / 0.7325 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0004447/1.088, allocations: 418.3 kB / 1.013 GB, free: 10.52 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0004144/1.088, allocations: 411 kB / 1.013 GB, free: 10.43 MB / 0.7325 GB Notification: Performance of Backend: time 1.503e-06/1.088, allocations: 0 / 1.013 GB, free: 10.43 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.002246/1.09, allocations: 1.043 MB / 1.014 GB, free: 10.27 MB / 0.7325 GB Notification: Performance of SimCode: time 0.004067/1.095, allocations: 2.651 MB / 1.017 GB, free: 8.934 MB / 0.7325 GB Notification: Performance of Templates: time 0.03571/1.13, allocations: 23.98 MB / 1.04 GB, free: 12.69 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 -lv LOG_STATS > BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.ZonalFlow.pipe 2>&1)