Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.OneEffectiveAirLeakageArea.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.OneEffectiveAirLeakageArea,fileNamePrefix="BuildingSystems_BuildingSystems_Airflow_Multizone_Examples_OneEffectiveAirLeakageArea",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Airflow.Multizone.Examples.OneEffectiveAirLeakageArea,fileNamePrefix="BuildingSystems_BuildingSystems_Airflow_Multizone_Examples_OneEffectiveAirLeakageArea",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.005639/0.005639, allocations: 98.28 kB / 15.73 MB, free: 6.02 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.001559/0.001559, allocations: 190.8 kB / 16.67 MB, free: 5.938 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.363/1.363, 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.002376/0.002376, allocations: 278.6 kB / 290.8 MB, free: 14.45 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 27.45/27.45, allocations: 169.2 MB / 0.4983 GB, free: 4.434 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002629/0.002629, allocations: 95.86 kB / 0.681 GB, free: 7.477 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.637/0.6396, allocations: 86.97 MB / 0.7659 GB, free: 3.863 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Airflow.Multizone.Examples.OneEffectiveAirLeakageArea): time 0.2635/0.9032, allocations: 188.4 MB / 0.9499 GB, free: 6.762 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.01748/0.9208, allocations: 6.1 MB / 0.9558 GB, free: 0.6523 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003364/0.9242, allocations: 35.81 kB / 0.9559 GB, free: 0.6172 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.002778/0.9271, allocations: 0.5126 MB / 0.9564 GB, free: 104 kB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.67/1.597, allocations: 1.883 MB / 0.9582 GB, free: 2.18 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.003624/1.601, allocations: 0.9494 MB / 0.9591 GB, free: 2.164 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.006984/1.608, allocations: 2.485 MB / 0.9615 GB, free: 2.164 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001696/1.61, allocations: 0.7602 MB / 0.9623 GB, free: 2.102 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002627/1.612, allocations: 0.8685 MB / 0.9631 GB, free: 2.098 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002404/1.615, allocations: 0.7753 MB / 0.9639 GB, free: 2.098 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.0001681/1.615, allocations: 89.62 kB / 0.964 GB, free: 2.098 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004462/1.619, allocations: 1.591 MB / 0.9655 GB, free: 2.082 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0006116/1.62, allocations: 366.7 kB / 0.9659 GB, free: 2.082 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.001096/1.621, allocations: 0.5506 MB / 0.9664 GB, free: 2.082 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.004825/1.626, allocations: 1.933 MB / 0.9683 GB, free: 1.969 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 5.761e-06/1.626, allocations: 0 / 0.9683 GB, free: 1.969 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.194e-06/1.626, allocations: 0.75 kB / 0.9683 GB, free: 1.969 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 3.176e-05/1.626, allocations: 1.281 kB / 0.9683 GB, free: 1.969 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: 166 * Number of variables: 166 Notification: Performance of Generate backend data structure: time 0.002962/1.629, allocations: 1.409 MB / 0.9697 GB, free: 17.19 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 5.524e-05/1.629, allocations: 10.22 kB / 0.9697 GB, free: 17.19 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001501/1.629, allocations: 114.3 kB / 0.9698 GB, free: 17.15 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00216/1.631, allocations: 325.5 kB / 0.9701 GB, free: 17.09 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001358/1.633, allocations: 0.7914 MB / 0.9709 GB, free: 16.77 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.523e-05/1.633, allocations: 47.06 kB / 0.9709 GB, free: 16.77 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001157/1.633, allocations: 78.42 kB / 0.971 GB, free: 16.77 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001305/1.634, allocations: 0.7832 MB / 0.9718 GB, free: 16.68 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.43e-05/1.634, allocations: 0.875 kB / 0.9718 GB, free: 16.68 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.178e-05/1.634, allocations: 28.56 kB / 0.9718 GB, free: 16.68 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.389e-05/1.634, allocations: 34.61 kB / 0.9718 GB, free: 16.68 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001072/1.635, allocations: 0.6358 MB / 0.9725 GB, free: 16.68 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.004399/1.64, allocations: 3.369 MB / 0.9757 GB, free: 14.79 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008341/1.641, allocations: 0.4941 MB / 0.9762 GB, free: 14.76 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004154/1.641, allocations: 291.3 kB / 0.9765 GB, free: 14.75 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008497/1.642, allocations: 0.6756 MB / 0.9772 GB, free: 14 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.831e-05/1.642, allocations: 41 kB / 0.9772 GB, free: 13.96 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=51): time 3.226e-06/1.642, allocations: 7.344 kB / 0.9772 GB, free: 13.96 MB / 0.7325 GB Notification: Performance of matching and sorting (n=51): time 0.001752/1.644, allocations: 0.7698 MB / 0.978 GB, free: 13.88 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.7e-05/1.644, allocations: 58.28 kB / 0.978 GB, free: 13.82 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007684/1.645, allocations: 0.5983 MB / 0.9786 GB, free: 13.69 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 6.217e-05/1.645, allocations: 34.7 kB / 0.9786 GB, free: 13.66 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003146/1.645, allocations: 392.7 kB / 0.979 GB, free: 13.48 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.000195/1.645, allocations: 192.2 kB / 0.9792 GB, free: 13.36 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001573/1.645, allocations: 95.7 kB / 0.9793 GB, free: 13.33 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0002516/1.646, allocations: 383.4 kB / 0.9797 GB, free: 13.02 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003784/1.646, allocations: 211 kB / 0.9799 GB, free: 13.02 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004298/1.646, allocations: 285.6 kB / 0.9801 GB, free: 12.96 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008247/1.647, allocations: 0.5023 MB / 0.9806 GB, free: 12.91 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.456e-06/1.647, allocations: 3.094 kB / 0.9806 GB, free: 12.91 MB / 0.7325 GB Notification: Performance of matching and sorting (n=62) (initialization): time 0.00106/1.648, allocations: 0.6298 MB / 0.9812 GB, free: 12.82 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.867e-05/1.648, allocations: 6.844 kB / 0.9812 GB, free: 12.82 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.819e-06/1.648, allocations: 7.75 kB / 0.9812 GB, free: 12.82 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.285e-05/1.648, allocations: 3.688 kB / 0.9812 GB, free: 12.82 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005778/1.649, allocations: 132.2 kB / 0.9814 GB, free: 12.82 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.758e-06/1.649, allocations: 4.25 kB / 0.9814 GB, free: 12.82 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006992/1.65, allocations: 42.25 kB / 0.9814 GB, free: 12.8 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.465e-05/1.65, allocations: 22.03 kB / 0.9814 GB, free: 12.8 MB / 0.7325 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * 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 (62): * Single equations (assignments): 62 * 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 prepare postOptimizeDAE: time 0.0003683/1.65, allocations: 263.7 kB / 0.9817 GB, free: 12.68 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001196/1.65, allocations: 76.84 kB / 0.9818 GB, free: 12.64 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001022/1.651, allocations: 0.6025 MB / 0.9824 GB, free: 12.59 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.925e-06/1.651, allocations: 5.375 kB / 0.9824 GB, free: 12.59 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.111e-06/1.651, allocations: 0 / 0.9824 GB, free: 12.59 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001/1.652, allocations: 0.8148 MB / 0.9832 GB, free: 12.14 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002411/1.655, allocations: 1.546 MB / 0.9847 GB, free: 11.8 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.058e-06/1.655, allocations: 3.594 kB / 0.9847 GB, free: 11.8 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007363/1.656, allocations: 155.3 kB / 0.9848 GB, free: 11.8 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.232e-06/1.656, allocations: 4.156 kB / 0.9848 GB, free: 11.8 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.754e-05/1.656, allocations: 11.75 kB / 0.9848 GB, free: 11.8 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.31e-06/1.656, allocations: 6.219 kB / 0.9848 GB, free: 11.8 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.084e-06/1.656, allocations: 0 / 0.9848 GB, free: 11.8 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001408/1.657, allocations: 0.9536 MB / 0.9858 GB, free: 11.58 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003452/1.657, allocations: 220.2 kB / 0.986 GB, free: 11.44 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001129/1.657, allocations: 11.66 kB / 0.986 GB, free: 11.44 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005746/1.658, allocations: 24.95 kB / 0.986 GB, free: 11.44 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001088/1.658, allocations: 36.39 kB / 0.986 GB, free: 11.44 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.838e-05/1.658, allocations: 19.92 kB / 0.9861 GB, free: 11.44 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0005199/1.659, allocations: 426 kB / 0.9865 GB, free: 11.35 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.4e-07/1.659, allocations: 0 / 0.9865 GB, free: 11.35 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0009634/1.66, allocations: 280.6 kB / 0.9867 GB, free: 11.31 MB / 0.7325 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 7 (volA.dynBal.medium.Xi[1],volA.dynBal.U,volA.dynBal.m,volB.dynBal.medium.Xi[1],volB.dynBal.U,volB.dynBal.m,cra.mExc) * 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 (51): * Single equations (assignments): 51 * 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.002228/1.662, allocations: 1.606 MB / 0.9883 GB, free: 10.56 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0009623/1.663, allocations: 0.5018 MB / 0.9888 GB, free: 10.55 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 5.179e-06/1.663, allocations: 3.281 kB / 0.9888 GB, free: 10.55 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0004036/1.663, allocations: 274.8 kB / 0.9891 GB, free: 10.54 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002068/1.665, allocations: 492.4 kB / 0.9895 GB, free: 10.48 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00933/1.675, allocations: 6.001 MB / 0.9954 GB, free: 8.477 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006874/1.676, allocations: 1.029 MB / 0.9964 GB, free: 7.762 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0007806/1.676, allocations: 187.9 kB / 0.9966 GB, free: 7.715 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003911/1.677, allocations: 304.8 kB / 0.9969 GB, free: 7.707 MB / 0.7325 GB Notification: Performance of SimCode: time 1.353e-06/1.677, allocations: 0 / 0.9969 GB, free: 7.707 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05767/1.734, allocations: 21.99 MB / 1.018 GB, free: 3.027 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.16/10.89, allocations: 10.64 kB / 1.018 GB, free: 3.023 MB / 0.7325 GB (rm -f BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.OneEffectiveAirLeakageArea.pipe ; mkfifo BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.OneEffectiveAirLeakageArea.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.OneEffectiveAirLeakageArea.pipe >> ../files/BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.OneEffectiveAirLeakageArea.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Airflow_Multizone_Examples_OneEffectiveAirLeakageArea_fmu --startTime=0 --stopTime=7200 --timeout=50 --tolerance=1e-08 BuildingSystems_BuildingSystems_Airflow_Multizone_Examples_OneEffectiveAirLeakageArea.fmu > BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.OneEffectiveAirLeakageArea.pipe 2>&1)