Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.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/IDEAS 3.0.0-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-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(IDEAS.Airflow.Multizone.Examples.ZonalFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Airflow.Multizone.Examples.ZonalFlow") translateModel(IDEAS.Airflow.Multizone.Examples.ZonalFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.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.007105/0.007105, allocations: 101.9 kB / 15.73 MB, free: 6.008 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.001414/0.001414, allocations: 192.2 kB / 16.67 MB, free: 5.949 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.491/1.491, allocations: 222.9 MB / 240.4 MB, free: 4.32 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9806/0.9806, allocations: 135.1 MB / 425.7 MB, free: 12.02 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001498/0.001498, allocations: 67.89 kB / 0.5856 GB, free: 3.371 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4659/0.4674, allocations: 80.91 MB / 0.6646 GB, free: 7.609 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Airflow.Multizone.Examples.ZonalFlow): time 0.2392/0.7066, allocations: 204.2 MB / 0.864 GB, free: 4.793 MB / 0.6856 GB Notification: Performance of NFInst.instExpressions: time 0.4595/1.166, allocations: 6.347 MB / 0.8702 GB, free: 1.906 MB / 0.6856 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001894/1.168, allocations: 35.53 kB / 0.8702 GB, free: 1.906 MB / 0.6856 GB Notification: Performance of NFTyping.typeComponents: time 0.002022/1.17, allocations: 0.7593 MB / 0.871 GB, free: 1.906 MB / 0.6856 GB Notification: Performance of NFTyping.typeBindings: time 0.007065/1.177, allocations: 2.76 MB / 0.8737 GB, free: 1.852 MB / 0.6856 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.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.001849/1.179, allocations: 0.7158 MB / 0.8744 GB, free: 1.832 MB / 0.6856 GB Notification: Performance of NFFlatten.flatten: time 0.004792/1.184, allocations: 3.279 MB / 0.8776 GB, free: 1.824 MB / 0.6856 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001778/1.186, allocations: 1.14 MB / 0.8787 GB, free: 1.715 MB / 0.6856 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003135/1.189, allocations: 1.293 MB / 0.88 GB, free: 1.711 MB / 0.6856 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003051/1.192, allocations: 1.101 MB / 0.881 GB, free: 1.711 MB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 0.0003619/1.192, allocations: 128.1 kB / 0.8812 GB, free: 1.711 MB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005702/1.198, allocations: 2.352 MB / 0.8835 GB, free: 1.691 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 0.0008347/1.199, allocations: 0.5173 MB / 0.884 GB, free: 1.691 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 0.001883/1.201, allocations: 0.738 MB / 0.8847 GB, free: 1.691 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.006167/1.207, allocations: 2.8 MB / 0.8874 GB, free: 1.547 MB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 7.254e-06/1.207, allocations: 0.8438 kB / 0.8874 GB, free: 1.547 MB / 0.6856 GB Notification: Performance of FrontEnd: time 2.194e-06/1.207, allocations: 0 / 0.8874 GB, free: 1.547 MB / 0.6856 GB Notification: Performance of Transformations before backend: time 2.977e-05/1.207, allocations: 2 kB / 0.8874 GB, free: 1.547 MB / 0.6856 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.004993/1.212, allocations: 1.765 MB / 0.8891 GB, free: 16.73 MB / 0.7012 GB Notification: Performance of prepare preOptimizeDAE: time 4.67e-05/1.212, allocations: 13.84 kB / 0.8892 GB, free: 16.73 MB / 0.7012 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002328/1.214, allocations: 355.3 kB / 0.8895 GB, free: 16.66 MB / 0.7012 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001611/1.216, allocations: 0.8767 MB / 0.8903 GB, free: 16.34 MB / 0.7012 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.062e-05/1.216, allocations: 80.06 kB / 0.8904 GB, free: 16.33 MB / 0.7012 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001797/1.216, allocations: 101.2 kB / 0.8905 GB, free: 16.33 MB / 0.7012 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002032/1.218, allocations: 1.195 MB / 0.8917 GB, free: 16.25 MB / 0.7012 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.693e-05/1.218, allocations: 1.75 kB / 0.8917 GB, free: 16.25 MB / 0.7012 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001003/1.219, allocations: 39.84 kB / 0.8917 GB, free: 16.25 MB / 0.7012 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.124e-05/1.219, allocations: 65.53 kB / 0.8918 GB, free: 16.24 MB / 0.7012 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001854/1.22, allocations: 1.24 MB / 0.893 GB, free: 16.23 MB / 0.7012 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.006697/1.227, allocations: 5.081 MB / 0.898 GB, free: 13.75 MB / 0.7012 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001358/1.229, allocations: 1.151 MB / 0.8991 GB, free: 13.35 MB / 0.7012 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006151/1.229, allocations: 0.5064 MB / 0.8996 GB, free: 13.34 MB / 0.7012 GB Notification: Performance of preOpt evalFunc (simulation): time 6.121e-05/1.229, allocations: 17.92 kB / 0.8996 GB, free: 13.34 MB / 0.7012 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006152/1.23, allocations: 487.1 kB / 0.9001 GB, free: 13.29 MB / 0.7012 GB Notification: Performance of pre-optimization done (n=76): time 2.765e-06/1.23, allocations: 0.8438 kB / 0.9001 GB, free: 13.29 MB / 0.7012 GB Notification: Performance of matching and sorting (n=76): time 0.001747/1.232, allocations: 1.156 MB / 0.9012 GB, free: 13.21 MB / 0.7012 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.147e-05/1.232, allocations: 61.09 kB / 0.9012 GB, free: 13.15 MB / 0.7012 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006137/1.232, allocations: 0.5734 MB / 0.9018 GB, free: 13.02 MB / 0.7012 GB Notification: Performance of collectPreVariables (initialization): time 5.851e-05/1.232, allocations: 45.23 kB / 0.9019 GB, free: 12.99 MB / 0.7012 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002373/1.233, allocations: 458.2 kB / 0.9023 GB, free: 12.76 MB / 0.7012 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002109/1.233, allocations: 270.1 kB / 0.9025 GB, free: 12.59 MB / 0.7012 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002021/1.233, allocations: 131.7 kB / 0.9027 GB, free: 12.57 MB / 0.7012 GB Notification: Performance of setup shared object (initialization): time 0.0001658/1.233, allocations: 388.5 kB / 0.903 GB, free: 12.26 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003979/1.234, allocations: 327.5 kB / 0.9034 GB, free: 12.26 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000474/1.234, allocations: 461.3 kB / 0.9038 GB, free: 12.15 MB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009277/1.235, allocations: 0.8235 MB / 0.9046 GB, free: 12.04 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.677e-06/1.235, allocations: 0.9062 kB / 0.9046 GB, free: 12.04 MB / 0.7012 GB Notification: Performance of matching and sorting (n=91) (initialization): time 0.001173/1.236, allocations: 0.9265 MB / 0.9055 GB, free: 11.95 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 1.786e-05/1.236, allocations: 8.297 kB / 0.9055 GB, free: 11.95 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.738e-06/1.236, allocations: 3.281 kB / 0.9055 GB, free: 11.95 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.918e-05/1.236, allocations: 6.672 kB / 0.9055 GB, free: 11.95 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006093/1.237, allocations: 157.2 kB / 0.9057 GB, free: 11.95 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.398e-05/1.237, allocations: 7.688 kB / 0.9057 GB, free: 11.95 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007747/1.238, allocations: 63.03 kB / 0.9057 GB, free: 11.92 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.838e-05/1.238, allocations: 31.28 kB / 0.9058 GB, free: 11.91 MB / 0.7012 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.00047/1.238, allocations: 340.5 kB / 0.9061 GB, free: 11.8 MB / 0.7012 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00012/1.238, allocations: 79.62 kB / 0.9062 GB, free: 11.76 MB / 0.7012 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001933/1.239, allocations: 105.2 kB / 0.9063 GB, free: 11.74 MB / 0.7012 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.352e-06/1.239, allocations: 7.531 kB / 0.9063 GB, free: 11.74 MB / 0.7012 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.267e-05/1.239, allocations: 0.9688 kB / 0.9063 GB, free: 11.74 MB / 0.7012 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00107/1.24, allocations: 1.085 MB / 0.9073 GB, free: 11.29 MB / 0.7012 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.002786/1.242, allocations: 2.308 MB / 0.9096 GB, free: 10.78 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.226e-06/1.243, allocations: 2.812 kB / 0.9096 GB, free: 10.78 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007525/1.243, allocations: 178.5 kB / 0.9098 GB, free: 10.78 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.084e-06/1.243, allocations: 3.938 kB / 0.9098 GB, free: 10.78 MB / 0.7012 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.453e-05/1.243, allocations: 28.84 kB / 0.9098 GB, free: 10.77 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.779e-06/1.243, allocations: 5.406 kB / 0.9098 GB, free: 10.77 MB / 0.7012 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.114e-06/1.243, allocations: 0 / 0.9098 GB, free: 10.77 MB / 0.7012 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001641/1.245, allocations: 1.483 MB / 0.9112 GB, free: 10.57 MB / 0.7012 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004114/1.245, allocations: 256.8 kB / 0.9115 GB, free: 10.42 MB / 0.7012 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.595e-05/1.246, allocations: 19.56 kB / 0.9115 GB, free: 10.42 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005488/1.246, allocations: 21.66 kB / 0.9115 GB, free: 10.42 MB / 0.7012 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.454e-05/1.246, allocations: 42.97 kB / 0.9116 GB, free: 10.42 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.163e-05/1.246, allocations: 26.2 kB / 0.9116 GB, free: 10.42 MB / 0.7012 GB Notification: Performance of sorting global known variables: time 0.000421/1.247, allocations: 415.8 kB / 0.912 GB, free: 10.33 MB / 0.7012 GB Notification: Performance of sort global known variables: time 8.92e-07/1.247, allocations: 0.9688 kB / 0.912 GB, free: 10.33 MB / 0.7012 GB Notification: Performance of remove unused functions: time 0.0009496/1.248, allocations: 372.9 kB / 0.9124 GB, free: 10.28 MB / 0.7012 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 6 (rooA.dynBal.U,rooA.dynBal.m,rooA.dynBal.mXi[1],rooB.dynBal.U,rooB.dynBal.m,rooB.dynBal.mXi[1]) * 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.000271/1.248, allocations: 170.6 kB / 0.9125 GB, free: 10.19 MB / 0.7012 GB Notification: Performance of simCode: created initialization part: time 0.0009911/1.249, allocations: 0.8068 MB / 0.9133 GB, free: 10.18 MB / 0.7012 GB Notification: Performance of simCode: created event and clocks part: time 3.216e-06/1.249, allocations: 0 / 0.9133 GB, free: 10.18 MB / 0.7012 GB Notification: Performance of simCode: created simulation system equations: time 0.0004593/1.249, allocations: 430.2 kB / 0.9137 GB, free: 10.18 MB / 0.7012 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002139/1.252, allocations: 0.6001 MB / 0.9143 GB, free: 10.09 MB / 0.7012 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003337/1.255, allocations: 2.147 MB / 0.9164 GB, free: 9.32 MB / 0.7012 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006816/1.256, allocations: 1.137 MB / 0.9175 GB, free: 8.609 MB / 0.7012 GB Notification: Performance of simCode: alias equations: time 0.0008598/1.256, allocations: 271.4 kB / 0.9178 GB, free: 8.555 MB / 0.7012 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002072/1.257, allocations: 75.27 kB / 0.9178 GB, free: 8.547 MB / 0.7012 GB Notification: Performance of SimCode: time 5.81e-07/1.257, allocations: 2.781 kB / 0.9178 GB, free: 8.547 MB / 0.7012 GB Notification: Performance of Templates: time 0.03044/1.287, allocations: 19.31 MB / 0.9367 GB, free: 3.113 MB / 0.7012 GB make -j1 -f IDEAS_dev_IDEAS.Airflow.Multizone.Examples.ZonalFlow.makefile (rm -f IDEAS_dev_IDEAS.Airflow.Multizone.Examples.ZonalFlow.pipe ; mkfifo IDEAS_dev_IDEAS.Airflow.Multizone.Examples.ZonalFlow.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Airflow.Multizone.Examples.ZonalFlow.pipe >> ../files/IDEAS_dev_IDEAS.Airflow.Multizone.Examples.ZonalFlow.sim & ./IDEAS_dev_IDEAS.Airflow.Multizone.Examples.ZonalFlow -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Airflow.Multizone.Examples.ZonalFlow.pipe 2>&1)