Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_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/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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_IDEAS.Airflow.Multizone.Examples.ZonalFlow") translateModel(IDEAS.Airflow.Multizone.Examples.ZonalFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_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.004532/0.004536, allocations: 99.56 kB / 15.73 MB, free: 6.039 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.001025/0.001025, allocations: 193.7 kB / 16.67 MB, free: 5.965 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.292/1.292, allocations: 222.9 MB / 240.4 MB, free: 4.309 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7353/0.7353, allocations: 132.2 MB / 422.7 MB, free: 1.711 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001244/0.001245, allocations: 66.59 kB / 0.5813 GB, free: 0.8672 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1787/0.1799, allocations: 80.2 MB / 0.6597 GB, free: 13.53 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Airflow.Multizone.Examples.ZonalFlow): time 0.5785/0.7585, allocations: 204.1 MB / 0.859 GB, free: 2.797 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.009763/0.7683, allocations: 6.356 MB / 0.8652 GB, free: 2.695 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001262/0.7696, allocations: 36.91 kB / 0.8653 GB, free: 2.695 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.001659/0.7713, allocations: 0.7325 MB / 0.866 GB, free: 2.676 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.005333/0.7767, allocations: 2.668 MB / 0.8686 GB, free: 2.562 MB / 0.6387 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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.001373/0.7781, allocations: 0.7108 MB / 0.8693 GB, free: 2.543 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.002837/0.7809, allocations: 3.265 MB / 0.8725 GB, free: 2.539 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001147/0.7821, allocations: 1.149 MB / 0.8736 GB, free: 2.422 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001554/0.7836, allocations: 1.255 MB / 0.8748 GB, free: 2.363 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001502/0.7851, allocations: 1.101 MB / 0.8759 GB, free: 2.223 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 0.0001658/0.7853, allocations: 132.2 kB / 0.876 GB, free: 2.219 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003784/0.7891, allocations: 2.353 MB / 0.8783 GB, free: 2.195 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.000481/0.7896, allocations: 0.5189 MB / 0.8788 GB, free: 2.141 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.000828/0.7904, allocations: 0.7406 MB / 0.8796 GB, free: 1.961 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.003612/0.7941, allocations: 2.809 MB / 0.8823 GB, free: 1.664 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 3.276e-06/0.7941, allocations: 0 / 0.8823 GB, free: 1.664 MB / 0.6387 GB Notification: Performance of FrontEnd: time 1.432e-06/0.7941, allocations: 0 / 0.8823 GB, free: 1.664 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 1.713e-05/0.7941, allocations: 0.8438 kB / 0.8823 GB, free: 1.664 MB / 0.6387 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.003637/0.7977, allocations: 1.808 MB / 0.8841 GB, free: 0.793 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 4.372e-05/0.7978, allocations: 10.31 kB / 0.8841 GB, free: 0.793 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002083/0.7999, allocations: 350.2 kB / 0.8844 GB, free: 0.7227 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001326/0.8012, allocations: 0.8807 MB / 0.8853 GB, free: 404 kB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.288e-05/0.8013, allocations: 80.98 kB / 0.8853 GB, free: 400 kB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001614/0.8015, allocations: 101.3 kB / 0.8854 GB, free: 396 kB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001719/0.8032, allocations: 1.195 MB / 0.8866 GB, free: 304 kB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.7e-05/0.8032, allocations: 1.781 kB / 0.8866 GB, free: 304 kB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.614e-05/0.8033, allocations: 43.55 kB / 0.8867 GB, free: 272 kB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.658e-05/0.8034, allocations: 59.09 kB / 0.8867 GB, free: 264 kB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001691/0.8051, allocations: 1.247 MB / 0.8879 GB, free: 15.87 MB / 0.6544 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.00551/0.8106, allocations: 5.092 MB / 0.8929 GB, free: 12.41 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00129/0.8119, allocations: 1.146 MB / 0.894 GB, free: 11.69 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006619/0.8126, allocations: 0.5066 MB / 0.8945 GB, free: 11.49 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 6.333e-05/0.8127, allocations: 21.25 kB / 0.8945 GB, free: 11.48 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006554/0.8133, allocations: 488.4 kB / 0.895 GB, free: 11.29 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=76): time 2.284e-06/0.8133, allocations: 1.031 kB / 0.895 GB, free: 11.29 MB / 0.6544 GB Notification: Performance of matching and sorting (n=76): time 0.001743/0.8151, allocations: 1.154 MB / 0.8961 GB, free: 10.82 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.032e-05/0.8151, allocations: 62.53 kB / 0.8962 GB, free: 10.76 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005884/0.8157, allocations: 0.5777 MB / 0.8968 GB, free: 10.49 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 5.328e-05/0.8158, allocations: 40.16 kB / 0.8968 GB, free: 10.45 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002789/0.8161, allocations: 473.9 kB / 0.8972 GB, free: 10.09 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002008/0.8163, allocations: 275.6 kB / 0.8975 GB, free: 9.875 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002218/0.8165, allocations: 139.7 kB / 0.8976 GB, free: 9.805 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001652/0.8167, allocations: 389.1 kB / 0.898 GB, free: 9.457 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004378/0.8171, allocations: 325.6 kB / 0.8983 GB, free: 9.336 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005119/0.8177, allocations: 457.8 kB / 0.8988 GB, free: 9.086 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001023/0.8187, allocations: 0.8299 MB / 0.8996 GB, free: 8.605 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.867e-06/0.8187, allocations: 1.125 kB / 0.8996 GB, free: 8.605 MB / 0.6544 GB Notification: Performance of matching and sorting (n=91) (initialization): time 0.001259/0.82, allocations: 0.9316 MB / 0.9005 GB, free: 8.141 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.899e-05/0.82, allocations: 8.094 kB / 0.9005 GB, free: 8.141 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.032e-05/0.82, allocations: 3.25 kB / 0.9005 GB, free: 8.141 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.039e-05/0.82, allocations: 4.781 kB / 0.9005 GB, free: 8.141 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006126/0.8207, allocations: 152.5 kB / 0.9006 GB, free: 8.121 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.407e-05/0.8207, allocations: 14.48 kB / 0.9007 GB, free: 8.113 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006646/0.8214, allocations: 67.5 kB / 0.9007 GB, free: 8.062 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.726e-05/0.8214, allocations: 22.81 kB / 0.9007 GB, free: 8.059 MB / 0.6544 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.000431/0.8218, allocations: 344.7 kB / 0.9011 GB, free: 7.816 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001181/0.822, allocations: 83.73 kB / 0.9011 GB, free: 7.773 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002262/0.8222, allocations: 105.3 kB / 0.9012 GB, free: 7.684 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.892e-06/0.8222, allocations: 8.125 kB / 0.9013 GB, free: 7.684 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.827e-05/0.8222, allocations: 11.36 kB / 0.9013 GB, free: 7.676 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001123/0.8234, allocations: 1.086 MB / 0.9023 GB, free: 6.875 MB / 0.6544 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.003046/0.8264, allocations: 2.307 MB / 0.9046 GB, free: 5.305 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.785e-06/0.8264, allocations: 0.875 kB / 0.9046 GB, free: 5.305 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007586/0.8272, allocations: 177.1 kB / 0.9047 GB, free: 5.277 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.376e-05/0.8272, allocations: 7.188 kB / 0.9048 GB, free: 5.273 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.222e-05/0.8273, allocations: 23.64 kB / 0.9048 GB, free: 5.258 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.292e-06/0.8273, allocations: 4.219 kB / 0.9048 GB, free: 5.258 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.693e-06/0.8273, allocations: 0 / 0.9048 GB, free: 5.258 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001975/0.8293, allocations: 1.486 MB / 0.9062 GB, free: 4.414 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003655/0.8297, allocations: 261.1 kB / 0.9065 GB, free: 4.195 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000115/0.8298, allocations: 14.16 kB / 0.9065 GB, free: 4.188 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006032/0.8304, allocations: 24.5 kB / 0.9065 GB, free: 4.172 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.989e-05/0.8305, allocations: 43.41 kB / 0.9066 GB, free: 4.152 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.732e-05/0.8306, allocations: 24.75 kB / 0.9066 GB, free: 4.145 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.000549/0.8311, allocations: 415 kB / 0.907 GB, free: 3.906 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.2e-07/0.8311, allocations: 0 / 0.907 GB, free: 3.906 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0009645/0.8321, allocations: 370.3 kB / 0.9073 GB, free: 3.832 MB / 0.6544 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.0002905/0.8324, allocations: 170.8 kB / 0.9075 GB, free: 3.715 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.001284/0.8337, allocations: 0.8052 MB / 0.9083 GB, free: 3.352 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 8.005e-06/0.8337, allocations: 4.75 kB / 0.9083 GB, free: 3.348 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0005976/0.8343, allocations: 435.4 kB / 0.9087 GB, free: 2.938 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002567/0.8369, allocations: 0.5776 MB / 0.9093 GB, free: 2.387 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003589/0.8405, allocations: 2.195 MB / 0.9114 GB, free: 172 kB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009581/0.8415, allocations: 1.14 MB / 0.9125 GB, free: 15 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.00092/0.8424, allocations: 271.2 kB / 0.9128 GB, free: 14.73 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002443/0.8426, allocations: 79.42 kB / 0.9129 GB, free: 14.65 MB / 0.67 GB Notification: Performance of SimCode: time 2.3e-07/0.8427, allocations: 0 / 0.9129 GB, free: 14.65 MB / 0.67 GB Notification: Performance of Templates: time 0.02965/0.8723, allocations: 19.31 MB / 0.9317 GB, free: 11.68 MB / 0.6856 GB make -j1 -f IDEAS_IDEAS.Airflow.Multizone.Examples.ZonalFlow.makefile (rm -f IDEAS_IDEAS.Airflow.Multizone.Examples.ZonalFlow.pipe ; mkfifo IDEAS_IDEAS.Airflow.Multizone.Examples.ZonalFlow.pipe ; head -c 1048576 < IDEAS_IDEAS.Airflow.Multizone.Examples.ZonalFlow.pipe >> ../files/IDEAS_IDEAS.Airflow.Multizone.Examples.ZonalFlow.sim & ./IDEAS_IDEAS.Airflow.Multizone.Examples.ZonalFlow -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Airflow.Multizone.Examples.ZonalFlow.pipe 2>&1)