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.004716/0.004716, allocations: 98.64 kB / 15.73 MB, free: 6.047 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.001248/0.001248, allocations: 194.3 kB / 16.68 MB, free: 5.969 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.371/1.371, allocations: 222.9 MB / 240.4 MB, free: 4.328 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002477/0.002477, allocations: 275 kB / 290.8 MB, free: 1.926 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.067/1.067, allocations: 178.6 MB / 0.5074 GB, free: 4.473 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00268/0.00268, allocations: 96.19 kB / 0.6943 GB, free: 3.621 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4358/0.4384, allocations: 89.14 MB / 0.7813 GB, free: 13.84 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Airflow.Multizone.Examples.OneRoom): time 0.2377/0.6762, allocations: 213.6 MB / 0.99 GB, free: 8.887 MB / 0.7481 GB Notification: Performance of NFInst.instExpressions: time 0.01476/0.691, allocations: 10.21 MB / 0.9999 GB, free: 14.66 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001457/0.6925, allocations: 39.81 kB / 1 GB, free: 14.62 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 0.002292/0.6948, allocations: 0.8352 MB / 1.001 GB, free: 13.78 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 0.007186/0.702, allocations: 2.89 MB / 1.004 GB, free: 10.88 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.003608/0.7057, allocations: 1.409 MB / 1.005 GB, free: 9.469 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 0.004441/0.7101, allocations: 3.178 MB / 1.008 GB, free: 6.285 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001525/0.7117, allocations: 1.026 MB / 1.009 GB, free: 5.238 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001951/0.7136, allocations: 1.125 MB / 1.01 GB, free: 4.109 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002076/0.7157, allocations: 1.08 MB / 1.011 GB, free: 3.031 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 0.0002297/0.716, allocations: 124 kB / 1.011 GB, free: 2.91 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005238/0.7212, allocations: 2.732 MB / 1.014 GB, free: 176 kB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 0.0006439/0.7219, allocations: 0.4908 MB / 1.014 GB, free: 15.68 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.000969/0.7229, allocations: 0.7273 MB / 1.015 GB, free: 14.95 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.005101/0.728, allocations: 2.821 MB / 1.018 GB, free: 12.12 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 4.348e-06/0.728, allocations: 0 / 1.018 GB, free: 12.12 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.543e-06/0.728, allocations: 0 / 1.018 GB, free: 12.12 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 3.106e-05/0.7281, allocations: 0 / 1.018 GB, free: 12.12 MB / 0.7794 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.004255/0.7323, allocations: 1.851 MB / 1.02 GB, free: 10.21 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.861e-05/0.7324, allocations: 8.031 kB / 1.02 GB, free: 10.21 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001933/0.7326, allocations: 152 kB / 1.02 GB, free: 10.05 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002957/0.7355, allocations: 434.7 kB / 1.02 GB, free: 9.625 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00155/0.7371, allocations: 0.891 MB / 1.021 GB, free: 8.691 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.129e-05/0.7372, allocations: 70 kB / 1.021 GB, free: 8.621 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001517/0.7373, allocations: 92 kB / 1.021 GB, free: 8.531 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002058/0.7394, allocations: 1.206 MB / 1.023 GB, free: 7.293 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.172e-05/0.7394, allocations: 7.922 kB / 1.023 GB, free: 7.285 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001051/0.7395, allocations: 43.98 kB / 1.023 GB, free: 7.242 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.307e-05/0.7396, allocations: 57.92 kB / 1.023 GB, free: 7.184 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00198/0.7416, allocations: 1.07 MB / 1.024 GB, free: 6.117 MB / 0.7794 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.006161/0.7478, allocations: 4.755 MB / 1.028 GB, free: 0.9648 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001621/0.7494, allocations: 0.9812 MB / 1.029 GB, free: 15.94 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00115/0.7506, allocations: 0.5948 MB / 1.03 GB, free: 15.34 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007325/0.7513, allocations: 0.6771 MB / 1.031 GB, free: 14.52 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.627e-05/0.7514, allocations: 43.22 kB / 1.031 GB, free: 14.47 MB / 0.795 GB Notification: Performance of pre-optimization done (n=82): time 2.795e-06/0.7514, allocations: 0 / 1.031 GB, free: 14.47 MB / 0.795 GB Notification: Performance of matching and sorting (n=83): time 0.004558/0.756, allocations: 2.318 MB / 1.033 GB, free: 12.1 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.637e-05/0.756, allocations: 60.41 kB / 1.033 GB, free: 12.03 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008709/0.7569, allocations: 0.6488 MB / 1.034 GB, free: 11.37 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 6.691e-05/0.757, allocations: 41.7 kB / 1.034 GB, free: 11.32 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003606/0.7574, allocations: 461 kB / 1.034 GB, free: 10.87 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002796/0.7576, allocations: 313.3 kB / 1.034 GB, free: 10.56 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002264/0.7579, allocations: 138.6 kB / 1.034 GB, free: 10.42 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0002008/0.7581, allocations: 390.8 kB / 1.035 GB, free: 10.03 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000541/0.7586, allocations: 321.8 kB / 1.035 GB, free: 9.711 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006136/0.7593, allocations: 418.5 kB / 1.036 GB, free: 9.277 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001252/0.7605, allocations: 0.7923 MB / 1.036 GB, free: 8.461 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.946e-06/0.7605, allocations: 0 / 1.036 GB, free: 8.461 MB / 0.795 GB Notification: Performance of matching and sorting (n=97) (initialization): time 0.001672/0.7622, allocations: 0.9507 MB / 1.037 GB, free: 7.496 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 2.451e-05/0.7622, allocations: 11.94 kB / 1.037 GB, free: 7.484 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.945e-06/0.7623, allocations: 0 / 1.037 GB, free: 7.484 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002789/0.7625, allocations: 61.08 kB / 1.037 GB, free: 7.422 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000685/0.7632, allocations: 155.8 kB / 1.037 GB, free: 7.27 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005447/0.7638, allocations: 0.6148 MB / 1.038 GB, free: 6.629 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007801/0.7646, allocations: 20 kB / 1.038 GB, free: 6.609 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.646e-05/0.7647, allocations: 24 kB / 1.038 GB, free: 6.586 MB / 0.795 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.0004936/0.7652, allocations: 313.5 kB / 1.038 GB, free: 6.273 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001731/0.7653, allocations: 99.38 kB / 1.038 GB, free: 6.176 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001667/0.767, allocations: 0.9207 MB / 1.039 GB, free: 5.238 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.087e-06/0.767, allocations: 15.94 kB / 1.039 GB, free: 5.223 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.993e-06/0.767, allocations: 4 kB / 1.039 GB, free: 5.219 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00132/0.7684, allocations: 0.9232 MB / 1.04 GB, free: 4.25 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003168/0.7715, allocations: 2.106 MB / 1.042 GB, free: 2.09 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.83e-06/0.7716, allocations: 0 / 1.042 GB, free: 2.09 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000942/0.7725, allocations: 191.7 kB / 1.043 GB, free: 1.902 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.869e-06/0.7725, allocations: 11.94 kB / 1.043 GB, free: 1.891 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.699e-05/0.7726, allocations: 20 kB / 1.043 GB, free: 1.871 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.128e-06/0.7726, allocations: 0 / 1.043 GB, free: 1.871 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.396e-06/0.7726, allocations: 7.938 kB / 1.043 GB, free: 1.863 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002099/0.7747, allocations: 1.393 MB / 1.044 GB, free: 464 kB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004018/0.7751, allocations: 256.4 kB / 1.044 GB, free: 188 kB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001182/0.7753, allocations: 16 kB / 1.044 GB, free: 172 kB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006439/0.7759, allocations: 27.97 kB / 1.044 GB, free: 144 kB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001328/0.7761, allocations: 56.92 kB / 1.044 GB, free: 88 kB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.7e-05/0.7761, allocations: 20 kB / 1.044 GB, free: 68 kB / 0.795 GB Notification: Performance of sorting global known variables: time 0.0006014/0.7767, allocations: 463 kB / 1.045 GB, free: 15.62 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.51e-07/0.7767, allocations: 0 / 1.045 GB, free: 15.62 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0008166/0.7776, allocations: 319.9 kB / 1.045 GB, free: 15.31 MB / 0.8106 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.002634/0.7802, allocations: 2.05 MB / 1.047 GB, free: 13.23 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.001444/0.7817, allocations: 0.8207 MB / 1.048 GB, free: 12.41 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 2.925e-06/0.7817, allocations: 0 / 1.048 GB, free: 12.41 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.0006474/0.7823, allocations: 437.6 kB / 1.048 GB, free: 11.98 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002578/0.7849, allocations: 0.5887 MB / 1.049 GB, free: 11.41 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0111/0.796, allocations: 7.563 MB / 1.056 GB, free: 3.664 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008198/0.7969, allocations: 1.12 MB / 1.057 GB, free: 2.512 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 0.0009592/0.7978, allocations: 255.7 kB / 1.058 GB, free: 2.258 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005848/0.7984, allocations: 395.3 kB / 1.058 GB, free: 1.875 MB / 0.8106 GB Notification: Performance of SimCode: time 2.304e-06/0.7985, allocations: 0 / 1.058 GB, free: 1.875 MB / 0.8106 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3539/1.152, allocations: 28.1 MB / 1.085 GB, free: 273.3 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.78/13.93, allocations: 5.797 kB / 1.085 GB, free: 273.3 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 & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.OneRoom_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 BuildingSystems_BuildingSystems_Airflow_Multizone_Examples_OneRoom.fmu > BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.OneRoom.pipe 2>&1)