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.001299/0.001299, allocations: 109.5 kB / 16.42 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.001302/0.001302, allocations: 189.5 kB / 17.35 MB, free: 5.73 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.353/1.353, allocations: 222.9 MB / 241 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.002112/0.002113, allocations: 294 kB / 291.5 MB, free: 14.46 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9599/0.9599, allocations: 169.2 MB / 0.499 GB, free: 4.422 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001918/0.001918, allocations: 103.8 kB / 0.6821 GB, free: 6.969 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4816/0.4836, allocations: 86.98 MB / 0.767 GB, free: 3.906 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Airflow.Multizone.Examples.ZonalFlow): time 0.7138/1.197, allocations: 204.1 MB / 0.9664 GB, free: 1.844 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.01027/1.208, allocations: 6.373 MB / 0.9726 GB, free: 1.801 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001816/1.21, allocations: 38.55 kB / 0.9727 GB, free: 1.801 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.001877/1.211, allocations: 0.7353 MB / 0.9734 GB, free: 1.785 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.007032/1.219, allocations: 2.678 MB / 0.976 GB, free: 1.68 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.001917/1.221, allocations: 0.709 MB / 0.9767 GB, free: 1.664 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.004106/1.225, allocations: 3.271 MB / 0.9799 GB, free: 1.66 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001496/1.226, allocations: 1.144 MB / 0.981 GB, free: 1.543 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002703/1.229, allocations: 1.271 MB / 0.9822 GB, free: 1.535 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002346/1.231, allocations: 1.098 MB / 0.9833 GB, free: 1.531 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.0002026/1.231, allocations: 127.4 kB / 0.9834 GB, free: 1.531 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00454/1.236, allocations: 2.353 MB / 0.9857 GB, free: 1.512 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0005742/1.237, allocations: 0.5183 MB / 0.9862 GB, free: 1.508 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.001041/1.238, allocations: 0.7374 MB / 0.9869 GB, free: 1.508 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.004586/1.242, allocations: 2.794 MB / 0.9897 GB, free: 1.367 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 6.882e-06/1.242, allocations: 1.781 kB / 0.9897 GB, free: 1.367 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.774e-06/1.242, allocations: 1.766 kB / 0.9897 GB, free: 1.367 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 1.887e-05/1.242, allocations: 0 / 0.9897 GB, free: 1.367 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.004118/1.246, allocations: 1.771 MB / 0.9914 GB, free: 16.54 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.403e-05/1.246, allocations: 10.88 kB / 0.9914 GB, free: 16.54 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002299/1.249, allocations: 347.6 kB / 0.9918 GB, free: 16.48 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001326/1.25, allocations: 0.875 MB / 0.9926 GB, free: 16.16 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.143e-05/1.25, allocations: 78.3 kB / 0.9927 GB, free: 16.16 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001402/1.25, allocations: 102.3 kB / 0.9928 GB, free: 16.16 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00181/1.252, allocations: 1.187 MB / 0.9939 GB, free: 16.08 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.483e-05/1.252, allocations: 1.094 kB / 0.9939 GB, free: 16.08 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001057/1.252, allocations: 43.59 kB / 0.994 GB, free: 16.08 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.497e-05/1.252, allocations: 58.94 kB / 0.994 GB, free: 16.07 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001665/1.254, allocations: 1.254 MB / 0.9953 GB, free: 16.06 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.005938/1.26, allocations: 5.103 MB / 1 GB, free: 13.57 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001399/1.261, allocations: 1.16 MB / 1.001 GB, free: 13.16 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006502/1.262, allocations: 0.507 MB / 1.002 GB, free: 13.15 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 5.415e-05/1.262, allocations: 17.19 kB / 1.002 GB, free: 13.15 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006818/1.263, allocations: 484.9 kB / 1.002 GB, free: 13.1 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=76): time 3.867e-06/1.263, allocations: 0 / 1.002 GB, free: 13.1 MB / 0.7325 GB Notification: Performance of matching and sorting (n=76): time 0.001799/1.265, allocations: 1.159 MB / 1.003 GB, free: 13.01 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.058e-05/1.265, allocations: 59.94 kB / 1.004 GB, free: 12.95 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006658/1.265, allocations: 0.582 MB / 1.004 GB, free: 12.8 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 8.127e-05/1.265, allocations: 40.67 kB / 1.004 GB, free: 12.77 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.000284/1.266, allocations: 456.9 kB / 1.005 GB, free: 12.55 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002641/1.266, allocations: 272.2 kB / 1.005 GB, free: 12.38 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002108/1.266, allocations: 133.5 kB / 1.005 GB, free: 12.36 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001861/1.266, allocations: 388.1 kB / 1.005 GB, free: 12.05 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004441/1.267, allocations: 329.6 kB / 1.006 GB, free: 12.05 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005871/1.267, allocations: 447.8 kB / 1.006 GB, free: 11.95 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00106/1.269, allocations: 0.8267 MB / 1.007 GB, free: 11.84 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.997e-06/1.269, allocations: 0.9375 kB / 1.007 GB, free: 11.84 MB / 0.7325 GB Notification: Performance of matching and sorting (n=91) (initialization): time 0.001389/1.27, allocations: 0.9299 MB / 1.008 GB, free: 11.75 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.829e-05/1.27, allocations: 7.938 kB / 1.008 GB, free: 11.75 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.316e-06/1.27, allocations: 4.188 kB / 1.008 GB, free: 11.75 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.883e-05/1.27, allocations: 5.062 kB / 1.008 GB, free: 11.75 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000671/1.271, allocations: 157.4 kB / 1.008 GB, free: 11.75 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.107e-05/1.271, allocations: 18.72 kB / 1.008 GB, free: 11.75 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008036/1.272, allocations: 56.59 kB / 1.008 GB, free: 11.71 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.82e-05/1.272, allocations: 27.53 kB / 1.008 GB, free: 11.71 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.000567/1.272, allocations: 329.2 kB / 1.008 GB, free: 11.6 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001409/1.272, allocations: 82.03 kB / 1.008 GB, free: 11.56 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002823/1.273, allocations: 108.1 kB / 1.009 GB, free: 11.55 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001167/1.274, allocations: 1.098 MB / 1.01 GB, free: 11.09 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.547e-06/1.274, allocations: 0.625 kB / 1.01 GB, free: 11.09 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000374/1.274, allocations: 251.7 kB / 1.01 GB, free: 10.95 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001115/1.274, allocations: 16.69 kB / 1.01 GB, free: 10.95 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005956/1.275, allocations: 18.98 kB / 1.01 GB, free: 10.95 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.507e-05/1.275, allocations: 44.59 kB / 1.01 GB, free: 10.95 MB / 0.7325 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.00167/1.277, allocations: 1.02 MB / 1.011 GB, free: 10.82 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001764/1.278, allocations: 1.471 MB / 1.012 GB, free: 10.55 MB / 0.7325 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0004886/1.279, allocations: 414.7 kB / 1.013 GB, free: 10.55 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0005303/1.279, allocations: 418 kB / 1.013 GB, free: 10.45 MB / 0.7325 GB Notification: Performance of Backend: time 1.032e-06/1.279, allocations: 1.031 kB / 1.013 GB, free: 10.45 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0027/1.282, allocations: 1.032 MB / 1.014 GB, free: 10.3 MB / 0.7325 GB Notification: Performance of SimCode: time 0.004607/1.287, allocations: 2.665 MB / 1.017 GB, free: 8.957 MB / 0.7325 GB Notification: Performance of Templates: time 0.04003/1.327, allocations: 23.98 MB / 1.04 GB, free: 12.81 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)