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.001621/0.001621, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001303/0.001303, allocations: 192.4 kB / 16.53 MB, free: 6.391 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.473/1.473, allocations: 222.9 MB / 240.2 MB, free: 4.262 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002529/0.002529, allocations: 279.2 kB / 290.7 MB, free: 1.875 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.077/1.077, allocations: 178.6 MB / 0.5073 GB, free: 4.582 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002785/0.002785, allocations: 97.59 kB / 0.6065 GB, free: 24.6 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1516/0.1544, allocations: 89.15 MB / 0.6936 GB, free: 4.25 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Airflow.Multizone.Examples.OneEffectiveAirLeakageArea): time 0.4644/0.6189, allocations: 188.4 MB / 0.8776 GB, free: 12.84 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.009219/0.6281, allocations: 6.072 MB / 0.8835 GB, free: 7.895 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006908/0.6288, allocations: 41.34 kB / 0.8835 GB, free: 7.879 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.001206/0.6301, allocations: 0.5146 MB / 0.884 GB, free: 7.449 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.003858/0.634, allocations: 1.894 MB / 0.8859 GB, free: 5.98 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.002118/0.6361, allocations: 0.9392 MB / 0.8868 GB, free: 5.258 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.002936/0.639, allocations: 2.497 MB / 0.8892 GB, free: 3.156 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001059/0.6401, allocations: 0.7681 MB / 0.89 GB, free: 2.375 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001363/0.6415, allocations: 0.8601 MB / 0.8908 GB, free: 1.512 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001718/0.6432, allocations: 0.7759 MB / 0.8916 GB, free: 0.7422 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.0001692/0.6434, allocations: 88 kB / 0.8917 GB, free: 0.6562 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003363/0.6468, allocations: 1.586 MB / 0.8932 GB, free: 15.07 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.0004416/0.6472, allocations: 370.9 kB / 0.8936 GB, free: 14.7 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.0006806/0.6479, allocations: 0.5522 MB / 0.8941 GB, free: 14.15 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.002876/0.6508, allocations: 1.893 MB / 0.896 GB, free: 12.25 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 3.015e-06/0.6508, allocations: 4 kB / 0.896 GB, free: 12.25 MB / 0.6231 GB Notification: Performance of FrontEnd: time 9.12e-07/0.6508, allocations: 0 / 0.896 GB, free: 12.25 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 1.078e-05/0.6508, allocations: 0 / 0.896 GB, free: 12.25 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: 166 * Number of variables: 166 Notification: Performance of Generate backend data structure: time 0.002383/0.6532, allocations: 1.387 MB / 0.8973 GB, free: 10.81 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 3.503e-05/0.6533, allocations: 8.031 kB / 0.8973 GB, free: 10.8 MB / 0.6231 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001452/0.6534, allocations: 110.5 kB / 0.8974 GB, free: 10.68 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002132/0.6556, allocations: 322.5 kB / 0.8977 GB, free: 10.37 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001207/0.6568, allocations: 0.7493 MB / 0.8985 GB, free: 9.57 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.163e-05/0.6568, allocations: 47.88 kB / 0.8985 GB, free: 9.527 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000121/0.657, allocations: 68 kB / 0.8986 GB, free: 9.461 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001412/0.6584, allocations: 0.7784 MB / 0.8993 GB, free: 8.66 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.738e-05/0.6584, allocations: 11.86 kB / 0.8994 GB, free: 8.648 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.484e-05/0.6585, allocations: 32 kB / 0.8994 GB, free: 8.617 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.824e-05/0.6585, allocations: 33.25 kB / 0.8994 GB, free: 8.582 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001264/0.6598, allocations: 0.6375 MB / 0.9 GB, free: 7.945 MB / 0.6231 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.004385/0.6642, allocations: 3.39 MB / 0.9034 GB, free: 4.258 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009634/0.6652, allocations: 0.498 MB / 0.9038 GB, free: 3.754 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005192/0.6657, allocations: 282.7 kB / 0.9041 GB, free: 3.477 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007402/0.6665, allocations: 0.6731 MB / 0.9048 GB, free: 2.652 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.382e-05/0.6665, allocations: 39 kB / 0.9048 GB, free: 2.605 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=51): time 2.114e-06/0.6665, allocations: 0 / 0.9048 GB, free: 2.605 MB / 0.6231 GB Notification: Performance of matching and sorting (n=51): time 0.001779/0.6683, allocations: 0.7792 MB / 0.9056 GB, free: 1.824 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.259e-05/0.6684, allocations: 59.84 kB / 0.9056 GB, free: 1.754 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007362/0.6691, allocations: 0.5941 MB / 0.9062 GB, free: 1.152 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 5.061e-05/0.6692, allocations: 33.7 kB / 0.9062 GB, free: 1.113 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003063/0.6695, allocations: 392.2 kB / 0.9066 GB, free: 0.7266 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001811/0.6697, allocations: 177.4 kB / 0.9068 GB, free: 0.5508 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001644/0.6698, allocations: 98.16 kB / 0.9069 GB, free: 460 kB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001996/0.67, allocations: 382.8 kB / 0.9072 GB, free: 68 kB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004509/0.6705, allocations: 209 kB / 0.9074 GB, free: 15.86 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004843/0.671, allocations: 275.2 kB / 0.9077 GB, free: 15.58 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009409/0.6719, allocations: 0.5036 MB / 0.9082 GB, free: 15.05 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.815e-06/0.672, allocations: 7.938 kB / 0.9082 GB, free: 15.05 MB / 0.6387 GB Notification: Performance of matching and sorting (n=62) (initialization): time 0.001156/0.6731, allocations: 0.6191 MB / 0.9088 GB, free: 14.43 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 1.585e-05/0.6731, allocations: 4 kB / 0.9088 GB, free: 14.42 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.104e-05/0.6732, allocations: 3.984 kB / 0.9088 GB, free: 14.42 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.77e-05/0.6732, allocations: 4 kB / 0.9088 GB, free: 14.41 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006305/0.6738, allocations: 132 kB / 0.9089 GB, free: 14.29 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.131e-05/0.6738, allocations: 7.938 kB / 0.9089 GB, free: 14.28 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006991/0.6745, allocations: 47.52 kB / 0.909 GB, free: 14.23 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.225e-05/0.6746, allocations: 21.44 kB / 0.909 GB, free: 14.21 MB / 0.6387 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.0003559/0.675, allocations: 259 kB / 0.9093 GB, free: 13.95 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001403/0.6751, allocations: 75.16 kB / 0.9093 GB, free: 13.88 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001192/0.6763, allocations: 0.6009 MB / 0.9099 GB, free: 13.27 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.773e-06/0.6763, allocations: 4 kB / 0.9099 GB, free: 13.26 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.961e-06/0.6763, allocations: 7.938 kB / 0.9099 GB, free: 13.25 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001116/0.6775, allocations: 0.8067 MB / 0.9107 GB, free: 12.36 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002523/0.68, allocations: 1.55 MB / 0.9122 GB, free: 10.75 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.166e-06/0.68, allocations: 4 kB / 0.9122 GB, free: 10.74 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008372/0.6809, allocations: 159.9 kB / 0.9124 GB, free: 10.59 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.244e-06/0.6809, allocations: 4 kB / 0.9124 GB, free: 10.58 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.167e-05/0.6809, allocations: 12 kB / 0.9124 GB, free: 10.57 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.553e-06/0.6809, allocations: 4 kB / 0.9124 GB, free: 10.57 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.789e-06/0.6809, allocations: 5.438 kB / 0.9124 GB, free: 10.56 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001673/0.6826, allocations: 0.9472 MB / 0.9133 GB, free: 9.586 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003248/0.683, allocations: 216 kB / 0.9135 GB, free: 9.355 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001006/0.6831, allocations: 12 kB / 0.9136 GB, free: 9.344 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006004/0.6837, allocations: 34.34 kB / 0.9136 GB, free: 9.312 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.745e-05/0.6838, allocations: 28.41 kB / 0.9136 GB, free: 9.285 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.35e-05/0.6838, allocations: 27.92 kB / 0.9136 GB, free: 9.258 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.0005595/0.6844, allocations: 427 kB / 0.914 GB, free: 8.848 MB / 0.6387 GB Notification: Performance of sort global known variables: time 1.81e-07/0.6844, allocations: 0 / 0.914 GB, free: 8.848 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.000767/0.6852, allocations: 271.4 kB / 0.9143 GB, free: 8.582 MB / 0.6387 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.002322/0.6875, allocations: 1.598 MB / 0.9159 GB, free: 6.957 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.001287/0.6888, allocations: 0.5798 MB / 0.9164 GB, free: 6.383 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 2.786e-06/0.6888, allocations: 0 / 0.9164 GB, free: 6.383 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.0004986/0.6893, allocations: 270.3 kB / 0.9167 GB, free: 6.117 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002241/0.6916, allocations: 492 kB / 0.9172 GB, free: 5.652 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009216/0.7008, allocations: 6.18 MB / 0.9232 GB, free: 15.33 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007413/0.7016, allocations: 1.024 MB / 0.9242 GB, free: 14.28 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.0007681/0.7023, allocations: 182.1 kB / 0.9244 GB, free: 14.1 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000479/0.7028, allocations: 311.3 kB / 0.9247 GB, free: 13.79 MB / 0.6544 GB Notification: Performance of SimCode: time 5.31e-07/0.7028, allocations: 0 / 0.9247 GB, free: 13.79 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05385/0.7567, allocations: 21.84 MB / 0.946 GB, free: 8.352 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.351/9.107, allocations: 4.062 kB / 0.946 GB, free: 8.348 MB / 0.67 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 & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.OneEffectiveAirLeakageArea_res.csv --start-time 0 --stop-time 7200 --timeout 50 --relative-tolerance 1e-08 --interface-type ModelExchange --solver CVode --output-interval 2.88 BuildingSystems_BuildingSystems_Airflow_Multizone_Examples_OneEffectiveAirLeakageArea.fmu > BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.OneEffectiveAirLeakageArea.pipe 2>&1)