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.005486/0.005486, allocations: 99.8 kB / 15.73 MB, free: 6.043 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.001168/0.001168, allocations: 190.6 kB / 16.67 MB, free: 5.977 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.296/1.296, allocations: 222.9 MB / 240.4 MB, free: 4.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002063/0.002063, allocations: 283.2 kB / 290.8 MB, free: 1.93 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.913/0.913, allocations: 169.3 MB / 0.4983 GB, free: 13.8 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001638/0.001638, allocations: 103.9 kB / 0.681 GB, free: 15.99 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1453/0.147, allocations: 86.97 MB / 0.7659 GB, free: 8.945 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Airflow.Multizone.Examples.OneRoom): time 0.546/0.693, allocations: 213.6 MB / 0.9745 GB, free: 13.34 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.01414/0.7072, allocations: 10.2 MB / 0.9845 GB, free: 3.109 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001958/0.7092, allocations: 39.81 kB / 0.9845 GB, free: 3.07 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.002375/0.7116, allocations: 0.843 MB / 0.9853 GB, free: 2.223 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.007953/0.7196, allocations: 2.89 MB / 0.9881 GB, free: 15.32 MB / 0.7481 GB Notification: Performance of NFTyping.typeClassSections: time 0.003777/0.7234, allocations: 1.419 MB / 0.9895 GB, free: 13.9 MB / 0.7481 GB Notification: Performance of NFFlatten.flatten: time 0.004333/0.7277, allocations: 3.17 MB / 0.9926 GB, free: 10.73 MB / 0.7481 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001201/0.729, allocations: 1.022 MB / 0.9936 GB, free: 9.688 MB / 0.7481 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001575/0.7305, allocations: 1.129 MB / 0.9947 GB, free: 8.555 MB / 0.7481 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001769/0.7323, allocations: 1.072 MB / 0.9958 GB, free: 7.488 MB / 0.7481 GB Notification: Performance of NFPackage.collectConstants: time 0.0001651/0.7325, allocations: 120 kB / 0.9959 GB, free: 7.371 MB / 0.7481 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005785/0.7383, allocations: 2.736 MB / 0.9986 GB, free: 4.629 MB / 0.7481 GB Notification: Performance of NFScalarize.scalarize: time 0.0005322/0.7388, allocations: 0.4908 MB / 0.999 GB, free: 4.137 MB / 0.7481 GB Notification: Performance of NFVerifyModel.verify: time 0.0007984/0.7396, allocations: 0.7311 MB / 0.9998 GB, free: 3.402 MB / 0.7481 GB Notification: Performance of NFConvertDAE.convert: time 0.003875/0.7435, allocations: 2.805 MB / 1.002 GB, free: 0.5898 MB / 0.7481 GB Notification: Performance of FrontEnd - DAE generated: time 3.597e-06/0.7435, allocations: 0 / 1.002 GB, free: 0.5898 MB / 0.7481 GB Notification: Performance of FrontEnd: time 1.794e-06/0.7436, allocations: 4 kB / 1.002 GB, free: 0.5859 MB / 0.7481 GB Notification: Performance of Transformations before backend: time 1.559e-05/0.7436, allocations: 0 / 1.002 GB, free: 0.5859 MB / 0.7481 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.003809/0.7474, allocations: 1.792 MB / 1.004 GB, free: 14.74 MB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 4.448e-05/0.7474, allocations: 12.03 kB / 1.004 GB, free: 14.73 MB / 0.7637 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001803/0.7476, allocations: 153.8 kB / 1.004 GB, free: 14.57 MB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002802/0.7504, allocations: 426.1 kB / 1.005 GB, free: 14.15 MB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001476/0.7519, allocations: 0.8979 MB / 1.006 GB, free: 13.21 MB / 0.7637 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.833e-05/0.752, allocations: 70 kB / 1.006 GB, free: 13.14 MB / 0.7637 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001585/0.7521, allocations: 96 kB / 1.006 GB, free: 13.05 MB / 0.7637 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00183/0.754, allocations: 1.198 MB / 1.007 GB, free: 11.82 MB / 0.7637 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.7e-05/0.754, allocations: 3.938 kB / 1.007 GB, free: 11.81 MB / 0.7637 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.533e-05/0.7541, allocations: 36 kB / 1.007 GB, free: 11.78 MB / 0.7637 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.422e-05/0.7542, allocations: 61.97 kB / 1.007 GB, free: 11.72 MB / 0.7637 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001759/0.756, allocations: 1.073 MB / 1.008 GB, free: 10.64 MB / 0.7637 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.005641/0.7616, allocations: 4.746 MB / 1.013 GB, free: 5.5 MB / 0.7637 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001454/0.7631, allocations: 0.9996 MB / 1.014 GB, free: 4.453 MB / 0.7637 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001034/0.7641, allocations: 0.59 MB / 1.014 GB, free: 3.867 MB / 0.7637 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006477/0.7648, allocations: 0.6811 MB / 1.015 GB, free: 3.039 MB / 0.7637 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.571e-05/0.7648, allocations: 47.22 kB / 1.015 GB, free: 2.984 MB / 0.7637 GB Notification: Performance of pre-optimization done (n=82): time 2.695e-06/0.7648, allocations: 0 / 1.015 GB, free: 2.984 MB / 0.7637 GB Notification: Performance of matching and sorting (n=83): time 0.004054/0.7689, allocations: 2.292 MB / 1.017 GB, free: 0.6406 MB / 0.7637 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.964e-05/0.769, allocations: 68.28 kB / 1.017 GB, free: 0.5625 MB / 0.7637 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007423/0.7697, allocations: 0.6373 MB / 1.018 GB, free: 15.92 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 5.65e-05/0.7698, allocations: 41.7 kB / 1.018 GB, free: 15.87 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002999/0.7701, allocations: 460 kB / 1.018 GB, free: 15.41 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002347/0.7703, allocations: 299.6 kB / 1.019 GB, free: 15.12 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002156/0.7706, allocations: 134.6 kB / 1.019 GB, free: 14.98 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001641/0.7707, allocations: 390.8 kB / 1.019 GB, free: 14.59 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005051/0.7712, allocations: 321.8 kB / 1.02 GB, free: 14.27 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005676/0.7718, allocations: 422.5 kB / 1.02 GB, free: 13.84 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001116/0.7729, allocations: 0.7846 MB / 1.021 GB, free: 13.02 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.064e-06/0.7729, allocations: 3.938 kB / 1.021 GB, free: 13.02 MB / 0.7794 GB Notification: Performance of matching and sorting (n=97) (initialization): time 0.001429/0.7744, allocations: 0.9498 MB / 1.022 GB, free: 12.06 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.929e-05/0.7744, allocations: 7.984 kB / 1.022 GB, free: 12.05 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.658e-06/0.7744, allocations: 4 kB / 1.022 GB, free: 12.05 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002396/0.7747, allocations: 64.95 kB / 1.022 GB, free: 11.98 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006709/0.7754, allocations: 155.8 kB / 1.022 GB, free: 11.83 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004423/0.7758, allocations: 0.6054 MB / 1.022 GB, free: 11.2 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007408/0.7766, allocations: 20 kB / 1.022 GB, free: 11.18 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.133e-05/0.7766, allocations: 28 kB / 1.023 GB, free: 11.16 MB / 0.7794 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.0004182/0.777, allocations: 306.8 kB / 1.023 GB, free: 10.85 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001508/0.7772, allocations: 94.91 kB / 1.023 GB, free: 10.75 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00149/0.7787, allocations: 0.9246 MB / 1.024 GB, free: 9.82 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.276e-06/0.7787, allocations: 12 kB / 1.024 GB, free: 9.809 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.919e-06/0.7787, allocations: 0 / 1.024 GB, free: 9.809 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001191/0.7799, allocations: 0.9271 MB / 1.025 GB, free: 8.832 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003003/0.7829, allocations: 2.118 MB / 1.027 GB, free: 6.66 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.096e-06/0.7829, allocations: 0 / 1.027 GB, free: 6.66 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009066/0.7839, allocations: 191.8 kB / 1.027 GB, free: 6.473 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.611e-06/0.7839, allocations: 8 kB / 1.027 GB, free: 6.465 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.023e-05/0.7839, allocations: 19.94 kB / 1.027 GB, free: 6.445 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.49e-06/0.7839, allocations: 4 kB / 1.027 GB, free: 6.441 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.502e-06/0.7839, allocations: 0 / 1.027 GB, free: 6.441 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001875/0.7858, allocations: 1.388 MB / 1.028 GB, free: 5.035 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004183/0.7863, allocations: 255.9 kB / 1.029 GB, free: 4.766 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000117/0.7864, allocations: 16 kB / 1.029 GB, free: 4.75 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006489/0.787, allocations: 24.86 kB / 1.029 GB, free: 4.727 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001121/0.7872, allocations: 56.86 kB / 1.029 GB, free: 4.672 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.203e-05/0.7872, allocations: 24 kB / 1.029 GB, free: 4.648 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.0005034/0.7877, allocations: 459 kB / 1.029 GB, free: 4.203 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.9e-07/0.7877, allocations: 0 / 1.029 GB, free: 4.203 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0008324/0.7886, allocations: 316 kB / 1.029 GB, free: 3.895 MB / 0.7794 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.002356/0.7909, allocations: 2.053 MB / 1.031 GB, free: 1.816 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.001272/0.7922, allocations: 0.8129 MB / 1.032 GB, free: 1.008 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 3.938e-06/0.7922, allocations: 4 kB / 1.032 GB, free: 1.004 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0005743/0.7928, allocations: 437.6 kB / 1.033 GB, free: 0.5742 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002352/0.7952, allocations: 0.5996 MB / 1.033 GB, free: 0 / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009783/0.805, allocations: 7.514 MB / 1.041 GB, free: 8.305 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006564/0.8057, allocations: 1.12 MB / 1.042 GB, free: 7.156 MB / 0.795 GB Notification: Performance of simCode: alias equations: time 0.0009143/0.8066, allocations: 255.8 kB / 1.042 GB, free: 6.902 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005135/0.8071, allocations: 391.3 kB / 1.042 GB, free: 6.52 MB / 0.795 GB Notification: Performance of SimCode: time 6.61e-07/0.8071, allocations: 0 / 1.042 GB, free: 6.52 MB / 0.795 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.225/3.032, allocations: 27.89 MB / 1.07 GB, free: 11.05 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 17.68/20.71, allocations: 10.58 kB / 1.07 GB, free: 11.05 MB / 0.8262 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)