Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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(Buildings.Airflow.Multizone.Examples.OneRoom,fileNamePrefix="Buildings_8_Buildings_Airflow_Multizone_Examples_OneRoom",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Airflow.Multizone.Examples.OneRoom,fileNamePrefix="Buildings_8_Buildings_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.0006512/0.0006512, allocations: 86.95 kB / 15.06 MB, free: 1.09 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.0007145/0.0007146, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.12/1.12, allocations: 205.4 MB / 222.1 MB, free: 5.656 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.499/1.499, allocations: 292.7 MB / 0.5499 GB, free: 14.54 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0004494/0.0004494, allocations: 17.42 kB / 0.6738 GB, free: 26.18 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1718/0.1723, allocations: 116.3 MB / 0.7874 GB, free: 11.85 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.OneRoom): time 0.5166/0.6889, allocations: 194.6 MB / 0.9774 GB, free: 3.352 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.01035/0.6993, allocations: 9.463 MB / 0.9866 GB, free: 2.68 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001163/0.7005, allocations: 30 kB / 0.9867 GB, free: 2.668 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.00136/0.7019, allocations: 0.5405 MB / 0.9872 GB, free: 2.508 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.00461/0.7065, allocations: 2.069 MB / 0.9892 GB, free: 1.996 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.002497/0.709, allocations: 1.001 MB / 0.9902 GB, free: 1.832 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.003588/0.7126, allocations: 3.849 MB / 0.994 GB, free: 460 kB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001204/0.7138, allocations: 0.7578 MB / 0.9947 GB, free: 136 kB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00184/0.7157, allocations: 0.9757 MB / 0.9957 GB, free: 15.76 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00176/0.7174, allocations: 1.029 MB / 0.9967 GB, free: 15.31 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 0.00025/0.7177, allocations: 58.44 kB / 0.9967 GB, free: 15.31 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003714/0.7214, allocations: 1.351 MB / 0.998 GB, free: 14.86 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.0006251/0.722, allocations: 431 kB / 0.9984 GB, free: 14.66 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.0005788/0.7226, allocations: 284.2 kB / 0.9987 GB, free: 14.59 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.002553/0.7252, allocations: 1.831 MB / 1.001 GB, free: 13.62 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 3.717e-06/0.7252, allocations: 0 / 1.001 GB, free: 13.62 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.443e-06/0.7252, allocations: 0 / 1.001 GB, free: 13.62 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 5.696e-05/0.7253, allocations: 0 / 1.001 GB, free: 13.62 MB / 0.7325 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.00371/0.729, allocations: 1.565 MB / 1.002 GB, free: 12.57 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.341e-05/0.729, allocations: 8.812 kB / 1.002 GB, free: 12.57 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002815/0.7293, allocations: 158.4 kB / 1.002 GB, free: 12.5 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002739/0.7321, allocations: 422.7 kB / 1.003 GB, free: 12.33 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001394/0.7335, allocations: 0.8152 MB / 1.003 GB, free: 11.86 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.106e-05/0.7335, allocations: 75.31 kB / 1.003 GB, free: 11.86 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001634/0.7337, allocations: 94.81 kB / 1.004 GB, free: 11.86 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001856/0.7356, allocations: 1.189 MB / 1.005 GB, free: 11.5 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.231e-05/0.7356, allocations: 10.83 kB / 1.005 GB, free: 11.49 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.258e-05/0.7357, allocations: 43.89 kB / 1.005 GB, free: 11.48 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.476e-05/0.7358, allocations: 52.8 kB / 1.005 GB, free: 11.47 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00164/0.7374, allocations: 1.055 MB / 1.006 GB, free: 11.3 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.004662/0.7421, allocations: 4.726 MB / 1.01 GB, free: 7.871 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001166/0.7433, allocations: 0.9926 MB / 1.011 GB, free: 7.543 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008063/0.7441, allocations: 0.5588 MB / 1.012 GB, free: 7.457 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005201/0.7446, allocations: 0.6774 MB / 1.013 GB, free: 6.684 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.573e-05/0.7447, allocations: 43.53 kB / 1.013 GB, free: 6.645 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=82): time 2.705e-06/0.7447, allocations: 0 / 1.013 GB, free: 6.645 MB / 0.7325 GB Notification: Performance of matching and sorting (n=83): time 0.003852/0.7485, allocations: 2.297 MB / 1.015 GB, free: 5.973 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.96e-05/0.7486, allocations: 60.38 kB / 1.015 GB, free: 5.906 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006582/0.7492, allocations: 0.6228 MB / 1.016 GB, free: 5.688 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 5.454e-05/0.7493, allocations: 43.3 kB / 1.016 GB, free: 5.656 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002459/0.7495, allocations: 455.9 kB / 1.016 GB, free: 5.402 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002144/0.7498, allocations: 294.4 kB / 1.016 GB, free: 5.184 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.837e-05/0.7498, allocations: 16.91 kB / 1.016 GB, free: 5.18 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001358/0.75, allocations: 393.2 kB / 1.017 GB, free: 4.84 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004345/0.7504, allocations: 319.8 kB / 1.017 GB, free: 4.797 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004831/0.7509, allocations: 428 kB / 1.017 GB, free: 4.648 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005088/0.7514, allocations: 387.4 kB / 1.018 GB, free: 4.602 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.054e-06/0.7514, allocations: 0 / 1.018 GB, free: 4.602 MB / 0.7325 GB Notification: Performance of matching and sorting (n=97) (initialization): time 0.001274/0.7527, allocations: 0.94 MB / 1.019 GB, free: 4.406 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.738e-05/0.7527, allocations: 6.156 kB / 1.019 GB, free: 4.406 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.793e-06/0.7527, allocations: 0 / 1.019 GB, free: 4.406 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002159/0.753, allocations: 63.44 kB / 1.019 GB, free: 4.387 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000621/0.7536, allocations: 155.1 kB / 1.019 GB, free: 4.359 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003991/0.754, allocations: 0.6081 MB / 1.02 GB, free: 3.824 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008275/0.7548, allocations: 83.22 kB / 1.02 GB, free: 3.797 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.815e-05/0.7549, allocations: 25.5 kB / 1.02 GB, free: 3.797 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 5} Notification: Performance of prepare postOptimizeDAE: time 0.0003928/0.7553, allocations: 309.5 kB / 1.02 GB, free: 3.648 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001488/0.7555, allocations: 91.08 kB / 1.02 GB, free: 3.602 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001353/0.7568, allocations: 0.9189 MB / 1.021 GB, free: 3.398 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.554e-06/0.7568, allocations: 12.66 kB / 1.021 GB, free: 3.395 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.691e-06/0.7568, allocations: 0 / 1.021 GB, free: 3.395 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00104/0.7579, allocations: 0.9234 MB / 1.022 GB, free: 3.039 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002809/0.7607, allocations: 2.103 MB / 1.024 GB, free: 2.309 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.356e-06/0.7607, allocations: 0 / 1.024 GB, free: 2.309 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008317/0.7616, allocations: 194.8 kB / 1.024 GB, free: 2.273 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.678e-06/0.7616, allocations: 2.406 kB / 1.024 GB, free: 2.273 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.322e-05/0.7616, allocations: 20.61 kB / 1.024 GB, free: 2.27 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.452e-06/0.7616, allocations: 2.844 kB / 1.024 GB, free: 2.27 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.172e-06/0.7617, allocations: 1.859 kB / 1.024 GB, free: 2.27 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001702/0.7634, allocations: 1.472 MB / 1.026 GB, free: 1.926 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000381/0.7638, allocations: 248.6 kB / 1.026 GB, free: 1.762 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001308/0.7639, allocations: 22.78 kB / 1.026 GB, free: 1.758 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007447/0.7646, allocations: 84.08 kB / 1.026 GB, free: 1.727 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001068/0.7648, allocations: 56.67 kB / 1.026 GB, free: 1.703 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.146e-05/0.7648, allocations: 29.77 kB / 1.026 GB, free: 1.699 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0004476/0.7653, allocations: 446.7 kB / 1.026 GB, free: 1.543 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.51e-07/0.7653, allocations: 0 / 1.026 GB, free: 1.543 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0007923/0.7661, allocations: 319.9 kB / 1.027 GB, free: 1.539 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.U,volEas.dynBal.m,volEas.dynBal.mXi[1],oriOutBot.mExc,oriOutTop.mExc,volOut.dynBal.U,volOut.dynBal.m,volOut.dynBal.mXi[1]) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002135/0.7682, allocations: 2.132 MB / 1.029 GB, free: 0.6172 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.001159/0.7694, allocations: 0.8185 MB / 1.03 GB, free: 492 kB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 3.877e-06/0.7694, allocations: 6.828 kB / 1.03 GB, free: 488 kB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0005026/0.7699, allocations: 437.5 kB / 1.03 GB, free: 420 kB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002177/0.7721, allocations: 0.5704 MB / 1.031 GB, free: 224 kB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008499/0.7806, allocations: 6.174 MB / 1.037 GB, free: 11.28 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006525/0.7813, allocations: 1.12 MB / 1.038 GB, free: 10.12 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.001011/0.7823, allocations: 251.8 kB / 1.038 GB, free: 9.875 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005165/0.7828, allocations: 391.3 kB / 1.038 GB, free: 9.492 MB / 0.7481 GB Notification: Performance of SimCode: time 8.31e-07/0.7829, allocations: 0 / 1.038 GB, free: 9.492 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04234/0.8252, allocations: 27.66 MB / 1.065 GB, free: 14.23 MB / 0.7794 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001799/0.8254, allocations: 209.8 kB / 1.066 GB, free: 13.99 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.028/2.854, allocations: 0 / 1.066 GB, free: 13.99 MB / 0.7794 GB (rm -f Buildings_8_Buildings.Airflow.Multizone.Examples.OneRoom.pipe ; mkfifo Buildings_8_Buildings.Airflow.Multizone.Examples.OneRoom.pipe ; head -c 1048576 < Buildings_8_Buildings.Airflow.Multizone.Examples.OneRoom.pipe >> ../files/Buildings_8_Buildings.Airflow.Multizone.Examples.OneRoom.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Airflow_Multizone_Examples_OneRoom_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Airflow_Multizone_Examples_OneRoom.fmu > Buildings_8_Buildings.Airflow.Multizone.Examples.OneRoom.pipe 2>&1) Environment - environmentSimulation: