Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.OneRoom.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: "" <> buildModelFMU(BuildingSystems.Airflow.Multizone.Examples.OneRoom,fileNamePrefix="BuildingSystems_BuildingSystems_Airflow_Multizone_Examples_OneRoom",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Airflow.Multizone.Examples.OneRoom,fileNamePrefix="BuildingSystems_BuildingSystems_Airflow_Multizone_Examples_OneRoom",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.00115/0.00115, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001138/0.001138, allocations: 193.7 kB / 16.53 MB, free: 6.391 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.29/1.29, allocations: 222.9 MB / 240.2 MB, free: 4.406 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002153/0.002153, allocations: 282.8 kB / 290.7 MB, free: 2.008 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9582/0.9582, allocations: 169.3 MB / 0.4982 GB, free: 13.93 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001703/0.001703, allocations: 98.36 kB / 0.5953 GB, free: 27.82 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1424/0.1441, allocations: 86.98 MB / 0.6803 GB, free: 0.6172 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Airflow.Multizone.Examples.OneRoom): time 0.4609/0.605, allocations: 213.6 MB / 0.8889 GB, free: 13.32 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.01259/0.6176, allocations: 10.2 MB / 0.8989 GB, free: 5.027 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001259/0.6189, allocations: 37.66 kB / 0.8989 GB, free: 5.016 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.001817/0.6208, allocations: 0.8384 MB / 0.8997 GB, free: 4.332 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.005795/0.6266, allocations: 2.894 MB / 0.9025 GB, free: 2.113 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.002972/0.6296, allocations: 1.399 MB / 0.9039 GB, free: 1.039 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.003156/0.6328, allocations: 3.18 MB / 0.907 GB, free: 15.16 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001146/0.6339, allocations: 1.02 MB / 0.908 GB, free: 14.12 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001342/0.6353, allocations: 1.121 MB / 0.9091 GB, free: 13 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001599/0.6369, allocations: 1.076 MB / 0.9101 GB, free: 11.92 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 0.000172/0.6371, allocations: 123.9 kB / 0.9103 GB, free: 11.8 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004741/0.6418, allocations: 2.739 MB / 0.9129 GB, free: 9.055 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.0004989/0.6423, allocations: 494.7 kB / 0.9134 GB, free: 8.566 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.0008644/0.6432, allocations: 0.7273 MB / 0.9141 GB, free: 7.836 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.003994/0.6472, allocations: 2.793 MB / 0.9169 GB, free: 5.035 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 4.358e-06/0.6472, allocations: 0 / 0.9169 GB, free: 5.035 MB / 0.6231 GB Notification: Performance of FrontEnd: time 1.523e-06/0.6472, allocations: 0 / 0.9169 GB, free: 5.035 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 1.663e-05/0.6472, allocations: 0 / 0.9169 GB, free: 5.035 MB / 0.6231 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 244 * Number of variables: 244 Notification: Performance of Generate backend data structure: time 0.00359/0.6508, allocations: 1.792 MB / 0.9186 GB, free: 3.191 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 3.638e-05/0.6509, allocations: 8.031 kB / 0.9186 GB, free: 3.184 MB / 0.6231 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000176/0.6511, allocations: 152 kB / 0.9188 GB, free: 3.027 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002841/0.6539, allocations: 432.1 kB / 0.9192 GB, free: 2.605 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001217/0.6551, allocations: 0.8589 MB / 0.92 GB, free: 1.703 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.916e-05/0.6552, allocations: 74 kB / 0.9201 GB, free: 1.629 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001392/0.6554, allocations: 92 kB / 0.9202 GB, free: 1.539 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001781/0.6571, allocations: 1.198 MB / 0.9213 GB, free: 316 kB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.659e-05/0.6572, allocations: 11.91 kB / 0.9213 GB, free: 304 kB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001012/0.6573, allocations: 39.98 kB / 0.9214 GB, free: 264 kB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.789e-05/0.6574, allocations: 49.98 kB / 0.9214 GB, free: 212 kB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00177/0.6591, allocations: 1.073 MB / 0.9225 GB, free: 15.13 MB / 0.6387 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.005049/0.6642, allocations: 4.781 MB / 0.9271 GB, free: 9.953 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001412/0.6656, allocations: 0.993 MB / 0.9281 GB, free: 8.918 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009468/0.6666, allocations: 0.5675 MB / 0.9287 GB, free: 8.352 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005792/0.6672, allocations: 0.6772 MB / 0.9293 GB, free: 7.523 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.947e-05/0.6672, allocations: 47.22 kB / 0.9294 GB, free: 7.469 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=82): time 2.665e-06/0.6672, allocations: 0 / 0.9294 GB, free: 7.469 MB / 0.6387 GB Notification: Performance of matching and sorting (n=83): time 0.004087/0.6713, allocations: 2.292 MB / 0.9316 GB, free: 5.129 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.448e-05/0.6714, allocations: 60.41 kB / 0.9317 GB, free: 5.059 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007254/0.6721, allocations: 0.6449 MB / 0.9323 GB, free: 4.41 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 6.132e-05/0.6722, allocations: 45.7 kB / 0.9323 GB, free: 4.359 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003081/0.6725, allocations: 464 kB / 0.9328 GB, free: 3.898 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 0.000245/0.6727, allocations: 295.7 kB / 0.9331 GB, free: 3.605 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002146/0.673, allocations: 142.5 kB / 0.9332 GB, free: 3.457 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.0001837/0.6731, allocations: 390.8 kB / 0.9336 GB, free: 3.066 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005341/0.6737, allocations: 321.8 kB / 0.9339 GB, free: 2.754 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005811/0.6743, allocations: 426.5 kB / 0.9343 GB, free: 2.312 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001153/0.6754, allocations: 0.7846 MB / 0.9351 GB, free: 1.5 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.695e-06/0.6754, allocations: 0 / 0.9351 GB, free: 1.5 MB / 0.6387 GB Notification: Performance of matching and sorting (n=97) (initialization): time 0.001523/0.677, allocations: 0.9426 MB / 0.936 GB, free: 0.5469 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 1.849e-05/0.677, allocations: 8.031 kB / 0.936 GB, free: 0.5391 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.122e-05/0.677, allocations: 7.984 kB / 0.936 GB, free: 0.5312 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000238/0.6773, allocations: 58.41 kB / 0.9361 GB, free: 484 kB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006713/0.6779, allocations: 155.7 kB / 0.9362 GB, free: 328 kB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004395/0.6784, allocations: 0.6109 MB / 0.9368 GB, free: 15.68 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008182/0.6792, allocations: 23.91 kB / 0.9368 GB, free: 15.66 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.795e-05/0.6793, allocations: 24 kB / 0.9368 GB, free: 15.64 MB / 0.6544 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (92): * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,5)} Notification: Performance of prepare postOptimizeDAE: time 0.0004347/0.6797, allocations: 312.8 kB / 0.9371 GB, free: 15.32 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001742/0.6799, allocations: 90.97 kB / 0.9372 GB, free: 15.23 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001564/0.6815, allocations: 0.9258 MB / 0.9381 GB, free: 14.3 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.102e-05/0.6815, allocations: 8 kB / 0.9381 GB, free: 14.29 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.242e-06/0.6815, allocations: 0 / 0.9381 GB, free: 14.29 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001193/0.6827, allocations: 0.9309 MB / 0.939 GB, free: 13.31 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003023/0.6858, allocations: 2.12 MB / 0.9411 GB, free: 11.13 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.597e-06/0.6858, allocations: 0 / 0.9411 GB, free: 11.13 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009349/0.6867, allocations: 187.8 kB / 0.9413 GB, free: 10.95 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.095e-05/0.6867, allocations: 4 kB / 0.9413 GB, free: 10.95 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.012e-05/0.6868, allocations: 19.94 kB / 0.9413 GB, free: 10.93 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.184e-06/0.6868, allocations: 7.984 kB / 0.9413 GB, free: 10.92 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.222e-06/0.6868, allocations: 0 / 0.9413 GB, free: 10.92 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001921/0.6887, allocations: 1.384 MB / 0.9427 GB, free: 9.52 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003786/0.6891, allocations: 255.9 kB / 0.9429 GB, free: 9.25 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001386/0.6893, allocations: 19.94 kB / 0.9429 GB, free: 9.23 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006854/0.69, allocations: 29.05 kB / 0.943 GB, free: 9.203 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001175/0.6901, allocations: 52.92 kB / 0.943 GB, free: 9.152 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.301e-05/0.6902, allocations: 22.25 kB / 0.943 GB, free: 9.133 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0005229/0.6907, allocations: 455 kB / 0.9435 GB, free: 8.695 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.7e-07/0.6907, allocations: 0 / 0.9435 GB, free: 8.695 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0008082/0.6915, allocations: 328 kB / 0.9438 GB, free: 8.375 MB / 0.6544 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 8 (volEas.dynBal.medium.Xi[1],volEas.dynBal.U,volEas.dynBal.m,oriOutBot.mExc,oriOutTop.mExc,volOut.dynBal.medium.Xi[1],volOut.dynBal.U,volOut.dynBal.m) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (83): * Single equations (assignments): 83 * 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.002398/0.6939, allocations: 2.039 MB / 0.9458 GB, free: 6.309 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0021/0.696, allocations: 1 MB / 0.9468 GB, free: 5.312 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 2.865e-06/0.696, allocations: 0 / 0.9468 GB, free: 5.312 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0006137/0.6967, allocations: 445.5 kB / 0.9472 GB, free: 4.875 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002526/0.6992, allocations: 0.5872 MB / 0.9478 GB, free: 4.305 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01066/0.7099, allocations: 7.808 MB / 0.9554 GB, free: 12.28 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000681/0.7106, allocations: 1.12 MB / 0.9565 GB, free: 11.13 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.001064/0.7117, allocations: 251.7 kB / 0.9567 GB, free: 10.88 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005226/0.7122, allocations: 391.3 kB / 0.9571 GB, free: 10.5 MB / 0.67 GB Notification: Performance of SimCode: time 5.41e-07/0.7122, allocations: 0 / 0.9571 GB, free: 10.5 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0528/0.765, allocations: 27.87 MB / 0.9843 GB, free: 15.04 MB / 0.7012 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.95/11.71, allocations: 6.109 kB / 0.9843 GB, free: 15.04 MB / 0.7012 GB (rm -f BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.OneRoom.pipe ; mkfifo BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.OneRoom.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.OneRoom.pipe >> ../files/BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.OneRoom.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Airflow_Multizone_Examples_OneRoom_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Airflow_Multizone_Examples_OneRoom.fmu > BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.OneRoom.pipe 2>&1)