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.004257/0.004257, allocations: 98.89 kB / 15.73 MB, free: 6.031 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.001175/0.001175, allocations: 193.8 kB / 16.67 MB, free: 5.953 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.272/1.272, 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/NcDataReader2 2.5.1-master/package.mo): time 0.002336/0.002336, allocations: 293.7 kB / 290.8 MB, free: 14.43 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 24.39/24.39, allocations: 169.2 MB / 0.4983 GB, free: 4.434 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00244/0.00244, allocations: 99.84 kB / 0.681 GB, free: 7.484 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6376/0.64, allocations: 86.97 MB / 0.7659 GB, free: 3.883 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Airflow.Multizone.Examples.OneRoom): time 0.9523/1.592, allocations: 213.6 MB / 0.9745 GB, free: 1.879 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.01751/1.61, allocations: 10.21 MB / 0.9845 GB, free: 1.797 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002838/1.613, allocations: 40.03 kB / 0.9845 GB, free: 1.797 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.002711/1.615, allocations: 0.8356 MB / 0.9853 GB, free: 1.777 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.009603/1.625, allocations: 2.894 MB / 0.9882 GB, free: 1.656 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.004685/1.63, allocations: 1.415 MB / 0.9895 GB, free: 1.617 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.005552/1.635, allocations: 3.164 MB / 0.9926 GB, free: 1.617 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001865/1.637, allocations: 1.034 MB / 0.9936 GB, free: 1.504 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002701/1.64, allocations: 1.126 MB / 0.9947 GB, free: 1.504 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002861/1.643, allocations: 1.069 MB / 0.9958 GB, free: 1.504 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.0002819/1.643, allocations: 125.6 kB / 0.9959 GB, free: 1.504 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007214/1.65, allocations: 2.731 MB / 0.9986 GB, free: 1.477 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0008981/1.651, allocations: 0.492 MB / 0.999 GB, free: 1.469 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.001582/1.653, allocations: 0.7292 MB / 0.9998 GB, free: 1.469 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.007545/1.66, allocations: 2.826 MB / 1.003 GB, free: 1.191 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 5.531e-06/1.661, allocations: 3.938 kB / 1.003 GB, free: 1.188 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.814e-06/1.661, allocations: 0 / 1.003 GB, free: 1.188 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 2.958e-05/1.661, allocations: 0.75 kB / 1.003 GB, free: 1.188 MB / 0.7169 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.004771/1.665, allocations: 1.834 MB / 1.004 GB, free: 16.26 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 5.358e-05/1.665, allocations: 10.75 kB / 1.004 GB, free: 16.26 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000203/1.666, allocations: 149.1 kB / 1.004 GB, free: 16.22 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003048/1.669, allocations: 438.2 kB / 1.005 GB, free: 16.15 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001793/1.671, allocations: 0.8963 MB / 1.006 GB, free: 15.81 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.322e-05/1.671, allocations: 69.44 kB / 1.006 GB, free: 15.81 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001711/1.671, allocations: 98.03 kB / 1.006 GB, free: 15.81 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002157/1.673, allocations: 1.201 MB / 1.007 GB, free: 15.68 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.191e-05/1.673, allocations: 3.938 kB / 1.007 GB, free: 15.67 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001011/1.673, allocations: 44.83 kB / 1.007 GB, free: 15.67 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.239e-05/1.673, allocations: 51.66 kB / 1.007 GB, free: 15.67 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001733/1.675, allocations: 1.073 MB / 1.008 GB, free: 15.66 MB / 0.7325 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.006229/1.681, allocations: 4.765 MB / 1.013 GB, free: 12.96 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001528/1.683, allocations: 0.9878 MB / 1.014 GB, free: 12.74 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001137/1.684, allocations: 0.5925 MB / 1.014 GB, free: 12.73 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007912/1.685, allocations: 0.6749 MB / 1.015 GB, free: 11.98 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.6e-05/1.685, allocations: 41.25 kB / 1.015 GB, free: 11.94 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=82): time 2.545e-06/1.685, allocations: 1.031 kB / 1.015 GB, free: 11.94 MB / 0.7325 GB Notification: Performance of matching and sorting (n=83): time 0.004483/1.689, allocations: 2.312 MB / 1.017 GB, free: 11.44 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.44e-05/1.689, allocations: 68.28 kB / 1.017 GB, free: 11.38 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008321/1.69, allocations: 0.6373 MB / 1.018 GB, free: 11.25 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 6.952e-05/1.69, allocations: 42.3 kB / 1.018 GB, free: 11.21 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003507/1.691, allocations: 466.9 kB / 1.019 GB, free: 11 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003068/1.691, allocations: 307.8 kB / 1.019 GB, free: 10.8 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002189/1.691, allocations: 136.5 kB / 1.019 GB, free: 10.78 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0002342/1.691, allocations: 397 kB / 1.019 GB, free: 10.46 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004825/1.692, allocations: 322.2 kB / 1.02 GB, free: 10.46 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005804/1.692, allocations: 424.5 kB / 1.02 GB, free: 10.38 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001216/1.694, allocations: 0.7855 MB / 1.021 GB, free: 10.3 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.825e-06/1.694, allocations: 0 / 1.021 GB, free: 10.3 MB / 0.7325 GB Notification: Performance of matching and sorting (n=97) (initialization): time 0.001734/1.695, allocations: 0.9545 MB / 1.022 GB, free: 10.18 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 2.137e-05/1.695, allocations: 10.38 kB / 1.022 GB, free: 10.18 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.085e-05/1.695, allocations: 3.438 kB / 1.022 GB, free: 10.18 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002982/1.696, allocations: 55.17 kB / 1.022 GB, free: 10.17 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007031/1.696, allocations: 161.8 kB / 1.022 GB, free: 10.16 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006094/1.697, allocations: 0.612 MB / 1.023 GB, free: 9.641 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008766/1.698, allocations: 23.3 kB / 1.023 GB, free: 9.641 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.648e-05/1.698, allocations: 24.22 kB / 1.023 GB, free: 9.641 MB / 0.7325 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.0006182/1.699, allocations: 305.9 kB / 1.023 GB, free: 9.527 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001834/1.699, allocations: 101.8 kB / 1.023 GB, free: 9.473 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001631/1.7, allocations: 0.9299 MB / 1.024 GB, free: 9.398 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.021e-05/1.701, allocations: 10.81 kB / 1.024 GB, free: 9.398 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.751e-06/1.701, allocations: 0 / 1.024 GB, free: 9.398 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001192/1.702, allocations: 0.9297 MB / 1.025 GB, free: 9.125 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003556/1.705, allocations: 2.11 MB / 1.027 GB, free: 8.797 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.907e-06/1.705, allocations: 3.094 kB / 1.027 GB, free: 8.797 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000924/1.706, allocations: 188.8 kB / 1.027 GB, free: 8.797 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.565e-05/1.706, allocations: 2.406 kB / 1.027 GB, free: 8.797 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.213e-05/1.706, allocations: 18.83 kB / 1.027 GB, free: 8.797 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.845e-06/1.706, allocations: 3.438 kB / 1.027 GB, free: 8.797 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.725e-06/1.706, allocations: 5.484 kB / 1.027 GB, free: 8.793 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002161/1.709, allocations: 1.394 MB / 1.028 GB, free: 8.578 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005515/1.709, allocations: 250.7 kB / 1.029 GB, free: 8.438 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001913/1.709, allocations: 19.58 kB / 1.029 GB, free: 8.438 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000813/1.71, allocations: 29.23 kB / 1.029 GB, free: 8.434 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001488/1.71, allocations: 50.77 kB / 1.029 GB, free: 8.434 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.557e-05/1.71, allocations: 27.25 kB / 1.029 GB, free: 8.434 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0007459/1.711, allocations: 457.1 kB / 1.029 GB, free: 8.34 MB / 0.7325 GB Notification: Performance of sort global known variables: time 2.7e-07/1.711, allocations: 0 / 1.029 GB, free: 8.34 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.001306/1.712, allocations: 319 kB / 1.03 GB, free: 8.336 MB / 0.7325 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.002726/1.715, allocations: 2.055 MB / 1.032 GB, free: 7.582 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.001578/1.717, allocations: 0.8173 MB / 1.032 GB, free: 7.465 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 4.378e-06/1.717, allocations: 0.8438 kB / 1.032 GB, free: 7.465 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.000726/1.717, allocations: 439.4 kB / 1.033 GB, free: 7.324 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002993/1.72, allocations: 0.6013 MB / 1.033 GB, free: 7.156 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01309/1.734, allocations: 7.556 MB / 1.041 GB, free: 3.227 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009091/1.735, allocations: 1.124 MB / 1.042 GB, free: 2.473 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.001143/1.736, allocations: 255.8 kB / 1.042 GB, free: 2.406 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006875/1.736, allocations: 386.8 kB / 1.042 GB, free: 2.129 MB / 0.7325 GB Notification: Performance of SimCode: time 8.31e-07/1.736, allocations: 0 / 1.042 GB, free: 2.129 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07035/1.807, allocations: 28.1 MB / 1.07 GB, free: 7.766 MB / 0.7637 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.38/15.19, allocations: 13.23 kB / 1.07 GB, free: 7.754 MB / 0.7637 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)