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: "" <> buildModelFMU(IDEAS.Airflow.Multizone.Examples.ZonalFlow,fileNamePrefix="IDEAS_dev_IDEAS_Airflow_Multizone_Examples_ZonalFlow",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Airflow.Multizone.Examples.ZonalFlow,fileNamePrefix="IDEAS_dev_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.006161/0.006161, allocations: 101.4 kB / 15.73 MB, free: 6.02 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.001299/0.001299, allocations: 187.5 kB / 16.67 MB, free: 5.938 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.363/1.363, allocations: 222.9 MB / 240.4 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8185/0.8185, allocations: 135.6 MB / 426.1 MB, free: 3.652 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001831/0.001831, allocations: 66.03 kB / 0.5857 GB, free: 21.55 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1324/0.1342, allocations: 81.03 MB / 0.6649 GB, free: 5.617 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Airflow.Multizone.Examples.ZonalFlow): time 0.4868/0.6211, allocations: 204.2 MB / 0.8642 GB, free: 1.656 MB / 0.6231 GB Notification: Performance of NFInst.instExpressions: time 0.009476/0.6306, allocations: 6.355 MB / 0.8704 GB, free: 11.91 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008136/0.6315, allocations: 39.81 kB / 0.8705 GB, free: 11.87 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.001682/0.6332, allocations: 0.7304 MB / 0.8712 GB, free: 11.14 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.005625/0.6388, allocations: 2.676 MB / 0.8738 GB, free: 8.453 MB / 0.6387 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.001553/0.6404, allocations: 0.7055 MB / 0.8745 GB, free: 7.75 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.003661/0.6441, allocations: 3.263 MB / 0.8777 GB, free: 4.477 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001389/0.6455, allocations: 1.145 MB / 0.8788 GB, free: 3.309 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001777/0.6472, allocations: 1.249 MB / 0.88 GB, free: 2.055 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001848/0.6491, allocations: 1.1 MB / 0.8811 GB, free: 0.957 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 0.0001981/0.6493, allocations: 128 kB / 0.8812 GB, free: 0.832 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00411/0.6534, allocations: 2.358 MB / 0.8835 GB, free: 14.47 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.0005366/0.654, allocations: 0.5143 MB / 0.884 GB, free: 13.95 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.000824/0.6548, allocations: 0.7391 MB / 0.8847 GB, free: 13.21 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.003781/0.6586, allocations: 2.806 MB / 0.8875 GB, free: 10.4 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 5.73e-06/0.6586, allocations: 3.984 kB / 0.8875 GB, free: 10.39 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.262e-06/0.6586, allocations: 0 / 0.8875 GB, free: 10.39 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 1.558e-05/0.6586, allocations: 4 kB / 0.8875 GB, free: 10.39 MB / 0.6544 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.003884/0.6625, allocations: 1.811 MB / 0.8892 GB, free: 8.523 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.108e-05/0.6626, allocations: 13.11 kB / 0.8893 GB, free: 8.512 MB / 0.6544 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002025/0.6628, allocations: 164.5 kB / 0.8894 GB, free: 8.34 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002223/0.665, allocations: 350.9 kB / 0.8897 GB, free: 7.996 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001394/0.6664, allocations: 0.8824 MB / 0.8906 GB, free: 7.066 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.534e-05/0.6665, allocations: 74.02 kB / 0.8907 GB, free: 6.992 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001642/0.6667, allocations: 104 kB / 0.8908 GB, free: 6.891 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001946/0.6686, allocations: 1.187 MB / 0.8919 GB, free: 5.672 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.683e-05/0.6687, allocations: 4 kB / 0.8919 GB, free: 5.668 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001055/0.6688, allocations: 40 kB / 0.892 GB, free: 5.629 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.601e-05/0.6689, allocations: 68.31 kB / 0.892 GB, free: 5.562 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002/0.6709, allocations: 1.242 MB / 0.8933 GB, free: 4.312 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.006358/0.6772, allocations: 5.1 MB / 0.8982 GB, free: 14.76 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001532/0.6788, allocations: 1.154 MB / 0.8994 GB, free: 13.53 MB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000763/0.6796, allocations: 0.5051 MB / 0.8999 GB, free: 13.02 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 6.468e-05/0.6796, allocations: 24.72 kB / 0.8999 GB, free: 12.99 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007462/0.6804, allocations: 484.2 kB / 0.9003 GB, free: 12.51 MB / 0.67 GB Notification: Performance of pre-optimization done (n=76): time 2.564e-06/0.6804, allocations: 0 / 0.9003 GB, free: 12.51 MB / 0.67 GB Notification: Performance of matching and sorting (n=76): time 0.001997/0.6824, allocations: 1.161 MB / 0.9015 GB, free: 11.34 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.495e-05/0.6825, allocations: 60.06 kB / 0.9015 GB, free: 11.27 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006843/0.6832, allocations: 0.5706 MB / 0.9021 GB, free: 10.69 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 6.06e-05/0.6832, allocations: 41.7 kB / 0.9021 GB, free: 10.64 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003474/0.6836, allocations: 476.6 kB / 0.9026 GB, free: 10.17 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002447/0.6838, allocations: 277.6 kB / 0.9029 GB, free: 9.898 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002205/0.6841, allocations: 130.7 kB / 0.903 GB, free: 9.762 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 0.000189/0.6843, allocations: 382.8 kB / 0.9033 GB, free: 9.379 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005181/0.6848, allocations: 329.8 kB / 0.9037 GB, free: 9.059 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000611/0.6854, allocations: 458.5 kB / 0.9041 GB, free: 8.57 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001209/0.6866, allocations: 0.8272 MB / 0.9049 GB, free: 7.703 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.141e-06/0.6866, allocations: 0 / 0.9049 GB, free: 7.703 MB / 0.67 GB Notification: Performance of matching and sorting (n=91) (initialization): time 0.001421/0.6881, allocations: 0.9339 MB / 0.9058 GB, free: 6.762 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 1.65e-05/0.6881, allocations: 7.938 kB / 0.9058 GB, free: 6.754 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.065e-06/0.6881, allocations: 4 kB / 0.9058 GB, free: 6.75 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.811e-05/0.6881, allocations: 4 kB / 0.9058 GB, free: 6.746 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006656/0.6888, allocations: 159.8 kB / 0.906 GB, free: 6.59 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.556e-05/0.6888, allocations: 8.281 kB / 0.906 GB, free: 6.582 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006815/0.6895, allocations: 70.19 kB / 0.9061 GB, free: 6.516 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.388e-05/0.6896, allocations: 28.73 kB / 0.9061 GB, free: 6.488 MB / 0.67 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.0004315/0.69, allocations: 333.5 kB / 0.9064 GB, free: 6.152 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001444/0.6901, allocations: 87.42 kB / 0.9065 GB, free: 6.066 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002396/0.6904, allocations: 107.8 kB / 0.9066 GB, free: 5.953 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.496e-06/0.6904, allocations: 8 kB / 0.9066 GB, free: 5.945 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.602e-06/0.6904, allocations: 3.938 kB / 0.9066 GB, free: 5.941 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001332/0.6918, allocations: 1.085 MB / 0.9077 GB, free: 4.773 MB / 0.67 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.003116/0.6949, allocations: 2.303 MB / 0.9099 GB, free: 2.383 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.737e-06/0.6949, allocations: 0.875 kB / 0.9099 GB, free: 2.383 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008626/0.6958, allocations: 183.8 kB / 0.9101 GB, free: 2.203 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.005e-06/0.6958, allocations: 4 kB / 0.9101 GB, free: 2.199 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.948e-05/0.6958, allocations: 16 kB / 0.9101 GB, free: 2.184 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.06e-06/0.6959, allocations: 4.031 kB / 0.9101 GB, free: 2.18 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.499e-06/0.6959, allocations: 11.88 kB / 0.9101 GB, free: 2.168 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002051/0.6979, allocations: 1.496 MB / 0.9116 GB, free: 0.6484 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003419/0.6983, allocations: 248.5 kB / 0.9118 GB, free: 396 kB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001046/0.6984, allocations: 16 kB / 0.9118 GB, free: 380 kB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005951/0.699, allocations: 23.98 kB / 0.9119 GB, free: 356 kB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.783e-05/0.6991, allocations: 44.59 kB / 0.9119 GB, free: 312 kB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.905e-05/0.6992, allocations: 27.92 kB / 0.9119 GB, free: 284 kB / 0.67 GB Notification: Performance of sorting global known variables: time 0.0004905/0.6997, allocations: 415.1 kB / 0.9123 GB, free: 15.88 MB / 0.6856 GB Notification: Performance of sort global known variables: time 1.3e-07/0.6997, allocations: 0 / 0.9123 GB, free: 15.88 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.0008109/0.7005, allocations: 371.2 kB / 0.9127 GB, free: 15.52 MB / 0.6856 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.002505/0.703, allocations: 2.098 MB / 0.9147 GB, free: 13.39 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.001218/0.7042, allocations: 0.8098 MB / 0.9155 GB, free: 12.58 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 2.364e-06/0.7042, allocations: 0 / 0.9155 GB, free: 12.58 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 0.0005939/0.7048, allocations: 427.5 kB / 0.9159 GB, free: 12.16 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002632/0.7075, allocations: 0.6022 MB / 0.9165 GB, free: 11.57 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009667/0.7172, allocations: 7.246 MB / 0.9236 GB, free: 4.156 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008028/0.718, allocations: 1.14 MB / 0.9247 GB, free: 2.992 MB / 0.6856 GB Notification: Performance of simCode: alias equations: time 0.0008428/0.7188, allocations: 267.2 kB / 0.925 GB, free: 2.727 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005647/0.7194, allocations: 383.3 kB / 0.9253 GB, free: 2.352 MB / 0.6856 GB Notification: Performance of SimCode: time 5.01e-07/0.7194, allocations: 0 / 0.9253 GB, free: 2.352 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4608/1.18, allocations: 25.99 MB / 0.9507 GB, free: 8.645 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.244/10.42, allocations: 14.33 kB / 0.9507 GB, free: 8.633 MB / 0.7169 GB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Airflow_Multizone_Examples_ZonalFlow_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Airflow_Multizone_Examples_ZonalFlow.fmu > IDEAS_dev_IDEAS.Airflow.Multizone.Examples.ZonalFlow.pipe 2>&1)