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.0008662/0.0008662, allocations: 97.48 kB / 15.36 MB, free: 0.7344 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.005377/0.005377, allocations: 168.3 kB / 16.26 MB, free: 6.652 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.183/1.183, allocations: 223.2 MB / 240.3 MB, free: 5.367 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001614/0.001614, allocations: 266.9 kB / 291.7 MB, free: 1.898 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 30.91/30.91, allocations: 169.5 MB / 0.5004 GB, free: 14.11 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004357/0.0004357, allocations: 12.09 kB / 0.5988 GB, free: 27.9 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2233/0.2237, allocations: 88.55 MB / 0.6852 GB, free: 14.97 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Airflow.Multizone.Examples.OneRoom): time 0.8649/1.089, allocations: 208.6 MB / 0.8889 GB, free: 14.53 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.01604/1.105, allocations: 10.19 MB / 0.8989 GB, free: 4.977 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002068/1.107, allocations: 35.75 kB / 0.8989 GB, free: 4.941 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.00223/1.109, allocations: 0.723 MB / 0.8996 GB, free: 4.215 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.00852/1.118, allocations: 2.726 MB / 0.9023 GB, free: 1.48 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.004314/1.122, allocations: 1.296 MB / 0.9035 GB, free: 188 kB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.006614/1.129, allocations: 4.64 MB / 0.9081 GB, free: 11.53 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001669/1.13, allocations: 0.8517 MB / 0.9089 GB, free: 10.66 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002272/1.133, allocations: 0.9491 MB / 0.9098 GB, free: 9.707 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002477/1.135, allocations: 1.089 MB / 0.9109 GB, free: 8.621 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 0.000157/1.135, allocations: 60 kB / 0.911 GB, free: 8.562 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006426/1.142, allocations: 3.187 MB / 0.9141 GB, free: 5.363 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.0006605/1.142, allocations: 422.7 kB / 0.9145 GB, free: 4.949 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.001076/1.143, allocations: 0.6743 MB / 0.9151 GB, free: 4.266 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.005813/1.149, allocations: 2.905 MB / 0.918 GB, free: 1.352 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 5.851e-06/1.149, allocations: 3.984 kB / 0.918 GB, free: 1.348 MB / 0.6231 GB Notification: Performance of FrontEnd: time 2.936e-06/1.149, allocations: 0 / 0.918 GB, free: 1.348 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 1.751e-05/1.149, allocations: 3.938 kB / 0.918 GB, free: 1.344 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.0037/1.153, allocations: 1.547 MB / 0.9195 GB, free: 15.74 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 4.354e-05/1.153, allocations: 12.03 kB / 0.9195 GB, free: 15.73 MB / 0.6387 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001915/1.153, allocations: 152 kB / 0.9196 GB, free: 15.57 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002842/1.156, allocations: 422 kB / 0.92 GB, free: 15.16 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001338/1.157, allocations: 0.8628 MB / 0.9209 GB, free: 14.25 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.083e-05/1.158, allocations: 77.98 kB / 0.921 GB, free: 14.18 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001401/1.158, allocations: 92 kB / 0.921 GB, free: 14.09 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001938/1.16, allocations: 1.198 MB / 0.9222 GB, free: 12.86 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.314e-05/1.16, allocations: 7.984 kB / 0.9222 GB, free: 12.85 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.784e-05/1.16, allocations: 36 kB / 0.9223 GB, free: 12.81 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.736e-05/1.16, allocations: 53.98 kB / 0.9223 GB, free: 12.76 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001781/1.162, allocations: 1.07 MB / 0.9234 GB, free: 11.69 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.005351/1.167, allocations: 4.746 MB / 0.928 GB, free: 6.551 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001399/1.168, allocations: 0.9841 MB / 0.929 GB, free: 5.523 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009335/1.169, allocations: 0.5636 MB / 0.9295 GB, free: 4.961 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006283/1.17, allocations: 0.6772 MB / 0.9302 GB, free: 4.133 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.591e-05/1.17, allocations: 43.22 kB / 0.9302 GB, free: 4.082 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=82): time 2.064e-06/1.17, allocations: 0 / 0.9302 GB, free: 4.082 MB / 0.6387 GB Notification: Performance of matching and sorting (n=83): time 0.004285/1.174, allocations: 2.3 MB / 0.9324 GB, free: 1.734 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.361e-05/1.174, allocations: 64.34 kB / 0.9325 GB, free: 1.66 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000734/1.175, allocations: 0.6449 MB / 0.9331 GB, free: 1.008 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 5.827e-05/1.175, allocations: 41.7 kB / 0.9332 GB, free: 0.9609 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002902/1.175, allocations: 456.1 kB / 0.9336 GB, free: 0.5078 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002351/1.176, allocations: 295.6 kB / 0.9339 GB, free: 220 kB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.693e-05/1.176, allocations: 69.69 kB / 0.934 GB, free: 144 kB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.0001676/1.176, allocations: 394.7 kB / 0.9343 GB, free: 15.75 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005018/1.177, allocations: 325.8 kB / 0.9347 GB, free: 15.43 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005576/1.177, allocations: 426.5 kB / 0.9351 GB, free: 14.98 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001116/1.178, allocations: 0.7807 MB / 0.9358 GB, free: 14.17 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.953e-06/1.178, allocations: 0 / 0.9358 GB, free: 14.17 MB / 0.6544 GB Notification: Performance of matching and sorting (n=97) (initialization): time 0.001425/1.18, allocations: 0.9504 MB / 0.9367 GB, free: 13.21 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.599e-05/1.18, allocations: 8 kB / 0.9368 GB, free: 13.21 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.702e-06/1.18, allocations: 0 / 0.9368 GB, free: 13.21 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002227/1.18, allocations: 64.77 kB / 0.9368 GB, free: 13.14 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006413/1.181, allocations: 155.7 kB / 0.937 GB, free: 12.99 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004679/1.181, allocations: 0.6109 MB / 0.9376 GB, free: 12.35 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001015/1.182, allocations: 111.7 kB / 0.9377 GB, free: 12.24 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.186e-05/1.182, allocations: 24 kB / 0.9377 GB, free: 12.22 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.0004957/1.183, allocations: 307.5 kB / 0.938 GB, free: 11.91 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000145/1.183, allocations: 90.97 kB / 0.9381 GB, free: 11.82 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001532/1.184, allocations: 0.9246 MB / 0.939 GB, free: 10.89 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.576e-06/1.184, allocations: 8 kB / 0.939 GB, free: 10.88 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.479e-06/1.184, allocations: 0 / 0.939 GB, free: 10.88 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001194/1.186, allocations: 0.9348 MB / 0.9399 GB, free: 9.891 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003094/1.189, allocations: 2.122 MB / 0.942 GB, free: 7.715 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.939e-06/1.189, allocations: 3.984 kB / 0.942 GB, free: 7.711 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008739/1.19, allocations: 187.8 kB / 0.9422 GB, free: 7.527 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.054e-06/1.19, allocations: 4 kB / 0.9422 GB, free: 7.523 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.326e-05/1.19, allocations: 19.94 kB / 0.9422 GB, free: 7.504 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.489e-06/1.19, allocations: 4 kB / 0.9422 GB, free: 7.5 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.162e-06/1.19, allocations: 0 / 0.9422 GB, free: 7.5 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001942/1.192, allocations: 1.392 MB / 0.9435 GB, free: 6.094 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004416/1.192, allocations: 248 kB / 0.9438 GB, free: 5.832 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001108/1.192, allocations: 19.94 kB / 0.9438 GB, free: 5.812 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008091/1.193, allocations: 83.78 kB / 0.9439 GB, free: 5.73 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001156/1.193, allocations: 48.92 kB / 0.9439 GB, free: 5.684 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.825e-05/1.193, allocations: 35.92 kB / 0.944 GB, free: 5.648 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0005281/1.194, allocations: 455 kB / 0.9444 GB, free: 5.207 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.5e-07/1.194, allocations: 0 / 0.9444 GB, free: 5.207 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0009164/1.195, allocations: 323.9 kB / 0.9447 GB, free: 4.891 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.002403/1.197, allocations: 2.048 MB / 0.9467 GB, free: 2.82 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.001345/1.198, allocations: 0.809 MB / 0.9475 GB, free: 2.008 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 5.39e-06/1.198, allocations: 4 kB / 0.9475 GB, free: 2.004 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0005846/1.199, allocations: 438 kB / 0.9479 GB, free: 1.578 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002558/1.202, allocations: 0.5671 MB / 0.9485 GB, free: 1.023 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0109/1.212, allocations: 8.357 MB / 0.9566 GB, free: 8.445 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006745/1.213, allocations: 1.12 MB / 0.9577 GB, free: 7.293 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.001143/1.214, allocations: 251.8 kB / 0.958 GB, free: 7.043 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005051/1.215, allocations: 387.3 kB / 0.9583 GB, free: 6.664 MB / 0.67 GB Notification: Performance of SimCode: time 1.252e-06/1.215, allocations: 4 kB / 0.9583 GB, free: 6.66 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2903/1.505, allocations: 26.55 MB / 0.9843 GB, free: 12.54 MB / 0.7012 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001912/1.505, allocations: 234.4 kB / 0.9845 GB, free: 12.28 MB / 0.7012 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.323/3.829, allocations: 0 / 0.9845 GB, free: 12.28 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)