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: "" <> buildModelFMU(IDEAS.Airflow.Multizone.Examples.ZonalFlow,fileNamePrefix="IDEAS_IDEAS_Airflow_Multizone_Examples_ZonalFlow",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Airflow.Multizone.Examples.ZonalFlow,fileNamePrefix="IDEAS_IDEAS_Airflow_Multizone_Examples_ZonalFlow",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00532/0.00532, allocations: 100.2 kB / 15.73 MB, free: 6.043 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.001384/0.001384, allocations: 196.2 kB / 16.67 MB, free: 5.977 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.278/1.278, allocations: 222.9 MB / 240.4 MB, free: 4.328 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7248/0.7248, allocations: 132.2 MB / 422.7 MB, free: 1.699 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001119/0.001119, allocations: 68.22 kB / 0.5809 GB, free: 1.125 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1558/0.1569, allocations: 80.21 MB / 0.6592 GB, free: 14.02 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Airflow.Multizone.Examples.ZonalFlow): time 0.5467/0.7036, allocations: 204.1 MB / 0.8585 GB, free: 2.566 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.01048/0.7142, allocations: 6.351 MB / 0.8648 GB, free: 2.465 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001541/0.7157, allocations: 37.5 kB / 0.8648 GB, free: 2.465 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.001828/0.7176, allocations: 0.7282 MB / 0.8655 GB, free: 2.449 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.00539/0.723, allocations: 2.675 MB / 0.8681 GB, free: 2.328 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.001388/0.7244, allocations: 0.7109 MB / 0.8688 GB, free: 2.309 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.002679/0.7271, allocations: 3.269 MB / 0.872 GB, free: 2.305 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001138/0.7283, allocations: 1.148 MB / 0.8731 GB, free: 2.188 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001574/0.7298, allocations: 1.274 MB / 0.8744 GB, free: 2.133 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001451/0.7313, allocations: 1.095 MB / 0.8754 GB, free: 1.992 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 0.0001436/0.7315, allocations: 128.8 kB / 0.8756 GB, free: 1.992 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003619/0.7351, allocations: 2.357 MB / 0.8779 GB, free: 1.969 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.0004114/0.7355, allocations: 0.5139 MB / 0.8784 GB, free: 1.918 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.0007684/0.7363, allocations: 0.7355 MB / 0.8791 GB, free: 1.742 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.003332/0.7396, allocations: 2.799 MB / 0.8818 GB, free: 1.453 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 4.237e-06/0.7396, allocations: 1.094 kB / 0.8818 GB, free: 1.453 MB / 0.6387 GB Notification: Performance of FrontEnd: time 1.482e-06/0.7396, allocations: 3.938 kB / 0.8818 GB, free: 1.449 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 1.667e-05/0.7397, allocations: 0 / 0.8818 GB, free: 1.449 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.003489/0.7432, allocations: 1.771 MB / 0.8835 GB, free: 0.6172 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 4.546e-05/0.7432, allocations: 10.97 kB / 0.8836 GB, free: 0.6172 MB / 0.6387 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001724/0.7434, allocations: 159.2 kB / 0.8837 GB, free: 0.5742 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002075/0.7455, allocations: 346.1 kB / 0.884 GB, free: 0.5117 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00111/0.7466, allocations: 0.8777 MB / 0.8849 GB, free: 188 kB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.676e-05/0.7467, allocations: 78.84 kB / 0.885 GB, free: 184 kB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001301/0.7468, allocations: 105.5 kB / 0.8851 GB, free: 180 kB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001665/0.7485, allocations: 1.188 MB / 0.8862 GB, free: 96 kB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.647e-05/0.7485, allocations: 1.625 kB / 0.8862 GB, free: 96 kB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001146/0.7486, allocations: 45.44 kB / 0.8863 GB, free: 96 kB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.108e-05/0.7487, allocations: 61.53 kB / 0.8863 GB, free: 92 kB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002098/0.7508, allocations: 1.286 MB / 0.8876 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.005973/0.7568, allocations: 5.083 MB / 0.8926 GB, free: 12.41 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0013/0.7581, allocations: 1.146 MB / 0.8937 GB, free: 11.7 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006406/0.7587, allocations: 0.5113 MB / 0.8942 GB, free: 11.49 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 5.35e-05/0.7588, allocations: 18.7 kB / 0.8942 GB, free: 11.49 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006653/0.7595, allocations: 486.9 kB / 0.8947 GB, free: 11.29 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=76): time 2.835e-06/0.7595, allocations: 0 / 0.8947 GB, free: 11.29 MB / 0.6544 GB Notification: Performance of matching and sorting (n=76): time 0.001933/0.7614, allocations: 1.157 MB / 0.8958 GB, free: 10.82 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.257e-05/0.7615, allocations: 60.19 kB / 0.8958 GB, free: 10.76 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006974/0.7622, allocations: 0.5717 MB / 0.8964 GB, free: 10.5 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 6.315e-05/0.7623, allocations: 38.73 kB / 0.8964 GB, free: 10.46 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.000417/0.7627, allocations: 471.8 kB / 0.8969 GB, free: 10.1 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 0.000302/0.763, allocations: 262.5 kB / 0.8971 GB, free: 9.898 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002358/0.7633, allocations: 139.9 kB / 0.8973 GB, free: 9.828 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001825/0.7634, allocations: 386.5 kB / 0.8976 GB, free: 9.48 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004586/0.7639, allocations: 326.9 kB / 0.898 GB, free: 9.359 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005549/0.7645, allocations: 464.6 kB / 0.8984 GB, free: 9.082 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009753/0.7655, allocations: 0.8204 MB / 0.8992 GB, free: 8.605 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.717e-06/0.7655, allocations: 0 / 0.8992 GB, free: 8.605 MB / 0.6544 GB Notification: Performance of matching and sorting (n=91) (initialization): time 0.001188/0.7667, allocations: 0.9296 MB / 0.9001 GB, free: 8.141 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.609e-05/0.7667, allocations: 8.5 kB / 0.9001 GB, free: 8.141 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.667e-06/0.7667, allocations: 3.469 kB / 0.9001 GB, free: 8.141 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.806e-05/0.7667, allocations: 5.906 kB / 0.9001 GB, free: 8.141 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006059/0.7673, allocations: 152.2 kB / 0.9003 GB, free: 8.121 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.21e-05/0.7674, allocations: 9.469 kB / 0.9003 GB, free: 8.121 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006873/0.768, allocations: 64.05 kB / 0.9003 GB, free: 8.074 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.772e-05/0.7681, allocations: 26.69 kB / 0.9004 GB, free: 8.066 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.0004813/0.7686, allocations: 335.6 kB / 0.9007 GB, free: 7.828 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001167/0.7687, allocations: 80.47 kB / 0.9008 GB, free: 7.789 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002023/0.7689, allocations: 104.4 kB / 0.9009 GB, free: 7.699 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.616e-06/0.7689, allocations: 13.45 kB / 0.9009 GB, free: 7.695 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.324e-05/0.769, allocations: 0 / 0.9009 GB, free: 7.695 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001148/0.7701, allocations: 1.093 MB / 0.9019 GB, free: 6.891 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.002998/0.7731, allocations: 2.308 MB / 0.9042 GB, free: 5.32 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.826e-06/0.7731, allocations: 1.812 kB / 0.9042 GB, free: 5.32 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008083/0.774, allocations: 179.4 kB / 0.9044 GB, free: 5.289 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.205e-06/0.774, allocations: 2.625 kB / 0.9044 GB, free: 5.289 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.696e-05/0.774, allocations: 22.98 kB / 0.9044 GB, free: 5.273 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.532e-06/0.774, allocations: 5.094 kB / 0.9044 GB, free: 5.273 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.362e-06/0.7741, allocations: 0.9375 kB / 0.9044 GB, free: 5.273 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001736/0.7758, allocations: 1.483 MB / 0.9058 GB, free: 4.43 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00037/0.7762, allocations: 257.9 kB / 0.9061 GB, free: 4.215 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001183/0.7763, allocations: 13.38 kB / 0.9061 GB, free: 4.207 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005851/0.7769, allocations: 22.56 kB / 0.9061 GB, free: 4.191 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.619e-05/0.777, allocations: 42.34 kB / 0.9062 GB, free: 4.172 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.885e-05/0.777, allocations: 30.14 kB / 0.9062 GB, free: 4.16 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0004438/0.7775, allocations: 414.3 kB / 0.9066 GB, free: 3.922 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.4e-07/0.7775, allocations: 4.844 kB / 0.9066 GB, free: 3.918 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0008074/0.7783, allocations: 366.2 kB / 0.9069 GB, free: 3.848 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.002239/0.7805, allocations: 2.104 MB / 0.909 GB, free: 2.109 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.001094/0.7817, allocations: 0.7949 MB / 0.9098 GB, free: 1.328 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 5.971e-06/0.7817, allocations: 4 kB / 0.9098 GB, free: 1.324 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0004948/0.7822, allocations: 431.4 kB / 0.9102 GB, free: 0.918 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002237/0.7844, allocations: 0.5883 MB / 0.9108 GB, free: 372 kB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01003/0.7945, allocations: 7.228 MB / 0.9178 GB, free: 9.012 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007695/0.7953, allocations: 1.14 MB / 0.9189 GB, free: 7.848 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.0008831/0.7962, allocations: 279.1 kB / 0.9192 GB, free: 7.57 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005919/0.7968, allocations: 379.3 kB / 0.9196 GB, free: 7.199 MB / 0.67 GB Notification: Performance of SimCode: time 7.71e-07/0.7968, allocations: 0 / 0.9196 GB, free: 7.199 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04805/0.8448, allocations: 26.4 MB / 0.9453 GB, free: 13.21 MB / 0.7012 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.149/8.994, allocations: 12.31 kB / 0.9454 GB, free: 13.2 MB / 0.7012 GB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Airflow_Multizone_Examples_ZonalFlow_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Airflow_Multizone_Examples_ZonalFlow.fmu > IDEAS_IDEAS.Airflow.Multizone.Examples.ZonalFlow.pipe 2>&1)