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.001025/0.001026, 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.001033/0.001033, allocations: 198.3 kB / 16.54 MB, free: 6.672 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.313/1.313, allocations: 222.9 MB / 240.2 MB, free: 4.406 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002124/0.002124, allocations: 279.1 kB / 290.7 MB, free: 2.008 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9449/0.9449, allocations: 169.2 MB / 0.4982 GB, free: 13.95 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001867/0.001867, allocations: 93.34 kB / 0.5953 GB, free: 27.84 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1446/0.1465, allocations: 86.98 MB / 0.6803 GB, free: 0.582 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Airflow.Multizone.Examples.OneRoom): time 0.5137/0.6602, allocations: 213.6 MB / 0.8889 GB, free: 13.38 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.01321/0.6735, allocations: 10.18 MB / 0.8988 GB, free: 5.102 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001117/0.6746, allocations: 36.66 kB / 0.8989 GB, free: 5.09 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.001884/0.6766, allocations: 0.8399 MB / 0.8997 GB, free: 4.402 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.006987/0.6836, allocations: 2.895 MB / 0.9025 GB, free: 2.184 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.003299/0.6869, allocations: 1.409 MB / 0.9039 GB, free: 1.102 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.003873/0.6908, allocations: 3.171 MB / 0.907 GB, free: 15.26 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001734/0.6925, allocations: 1.021 MB / 0.908 GB, free: 14.22 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00251/0.695, allocations: 1.125 MB / 0.9091 GB, free: 13.09 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002423/0.6975, allocations: 1.081 MB / 0.9102 GB, free: 12.02 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 0.0003499/0.6978, allocations: 123.9 kB / 0.9103 GB, free: 11.9 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005863/0.7037, allocations: 2.735 MB / 0.9129 GB, free: 9.156 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.0007202/0.7044, allocations: 498.7 kB / 0.9134 GB, free: 8.668 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.001342/0.7058, allocations: 0.7273 MB / 0.9141 GB, free: 7.934 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.004885/0.7107, allocations: 2.793 MB / 0.9169 GB, free: 5.133 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 5.25e-06/0.7107, allocations: 0 / 0.9169 GB, free: 5.133 MB / 0.6231 GB Notification: Performance of FrontEnd: time 1.593e-06/0.7107, allocations: 0 / 0.9169 GB, free: 5.133 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 5.739e-05/0.7108, allocations: 0 / 0.9169 GB, free: 5.133 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: 244 * Number of variables: 244 Notification: Performance of Generate backend data structure: time 0.004527/0.7153, allocations: 1.788 MB / 0.9186 GB, free: 3.293 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 4.155e-05/0.7154, allocations: 12.03 kB / 0.9186 GB, free: 3.281 MB / 0.6231 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001882/0.7155, allocations: 152 kB / 0.9188 GB, free: 3.125 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002855/0.7184, allocations: 426 kB / 0.9192 GB, free: 2.707 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001391/0.7198, allocations: 0.855 MB / 0.92 GB, free: 1.809 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.937e-05/0.7199, allocations: 73.98 kB / 0.9201 GB, free: 1.734 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001434/0.72, allocations: 95.98 kB / 0.9202 GB, free: 1.641 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001811/0.7218, allocations: 1.198 MB / 0.9213 GB, free: 420 kB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.19e-05/0.7219, allocations: 7.906 kB / 0.9213 GB, free: 412 kB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.091e-05/0.722, allocations: 40 kB / 0.9214 GB, free: 372 kB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.383e-05/0.722, allocations: 53.98 kB / 0.9214 GB, free: 316 kB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0018/0.7239, allocations: 1.07 MB / 0.9225 GB, free: 15.24 MB / 0.6387 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.005207/0.7291, allocations: 4.784 MB / 0.9271 GB, free: 10.06 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001408/0.7305, allocations: 0.9841 MB / 0.9281 GB, free: 9.031 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009741/0.7315, allocations: 0.5753 MB / 0.9287 GB, free: 8.457 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005917/0.7321, allocations: 0.6772 MB / 0.9293 GB, free: 7.629 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.55e-05/0.7321, allocations: 47.2 kB / 0.9294 GB, free: 7.574 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=82): time 2.054e-06/0.7321, allocations: 0 / 0.9294 GB, free: 7.574 MB / 0.6387 GB Notification: Performance of matching and sorting (n=83): time 0.003983/0.7361, allocations: 2.304 MB / 0.9316 GB, free: 5.223 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.594e-05/0.7362, allocations: 60.41 kB / 0.9317 GB, free: 5.152 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007523/0.7369, allocations: 0.6449 MB / 0.9323 GB, free: 4.504 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 6.312e-05/0.737, allocations: 41.7 kB / 0.9323 GB, free: 4.457 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003055/0.7373, allocations: 460 kB / 0.9328 GB, free: 4 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002529/0.7376, allocations: 291.7 kB / 0.9331 GB, free: 3.711 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002154/0.7378, allocations: 142.6 kB / 0.9332 GB, free: 3.562 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.0001653/0.738, allocations: 390.8 kB / 0.9336 GB, free: 3.172 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000531/0.7385, allocations: 321.8 kB / 0.9339 GB, free: 2.859 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000564/0.7391, allocations: 422.5 kB / 0.9343 GB, free: 2.422 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001142/0.7402, allocations: 0.7924 MB / 0.9351 GB, free: 1.602 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.845e-06/0.7402, allocations: 0 / 0.9351 GB, free: 1.602 MB / 0.6387 GB Notification: Performance of matching and sorting (n=97) (initialization): time 0.001467/0.7417, allocations: 0.9424 MB / 0.936 GB, free: 0.6484 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 1.698e-05/0.7417, allocations: 4 kB / 0.936 GB, free: 0.6445 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.167e-06/0.7418, allocations: 5.562 kB / 0.936 GB, free: 0.6406 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002356/0.742, allocations: 65.02 kB / 0.9361 GB, free: 0.5742 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006694/0.7427, allocations: 151.8 kB / 0.9362 GB, free: 436 kB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004751/0.7432, allocations: 0.6069 MB / 0.9368 GB, free: 15.79 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007807/0.744, allocations: 23.94 kB / 0.9368 GB, free: 15.77 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.392e-05/0.744, allocations: 31.06 kB / 0.9368 GB, free: 15.74 MB / 0.6544 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.0003843/0.7444, allocations: 312.8 kB / 0.9371 GB, free: 15.43 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001594/0.7446, allocations: 90.97 kB / 0.9372 GB, free: 15.34 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001501/0.7461, allocations: 0.9285 MB / 0.9381 GB, free: 14.4 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.265e-06/0.7461, allocations: 8 kB / 0.9381 GB, free: 14.39 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.761e-06/0.7461, allocations: 0 / 0.9381 GB, free: 14.39 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001191/0.7473, allocations: 0.9309 MB / 0.939 GB, free: 13.41 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00292/0.7502, allocations: 2.115 MB / 0.9411 GB, free: 11.24 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.749e-06/0.7503, allocations: 0 / 0.9411 GB, free: 11.24 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009291/0.7512, allocations: 195.7 kB / 0.9413 GB, free: 11.05 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.097e-06/0.7512, allocations: 4 kB / 0.9413 GB, free: 11.04 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.307e-05/0.7513, allocations: 19.94 kB / 0.9413 GB, free: 11.02 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.45e-06/0.7513, allocations: 4 kB / 0.9413 GB, free: 11.02 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.633e-06/0.7513, allocations: 0 / 0.9413 GB, free: 11.02 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001977/0.7533, allocations: 1.384 MB / 0.9427 GB, free: 9.621 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003685/0.7537, allocations: 255.9 kB / 0.9429 GB, free: 9.352 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001352/0.7538, allocations: 19.94 kB / 0.9429 GB, free: 9.332 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006694/0.7545, allocations: 29.05 kB / 0.943 GB, free: 9.305 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001229/0.7546, allocations: 60.84 kB / 0.943 GB, free: 9.246 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.305e-05/0.7547, allocations: 20 kB / 0.943 GB, free: 9.227 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0005534/0.7552, allocations: 463 kB / 0.9435 GB, free: 8.781 MB / 0.6544 GB Notification: Performance of sort global known variables: time 2.1e-07/0.7552, allocations: 0 / 0.9435 GB, free: 8.781 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0007803/0.756, allocations: 316 kB / 0.9438 GB, free: 8.473 MB / 0.6544 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.002375/0.7584, allocations: 2.042 MB / 0.9458 GB, free: 6.402 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.001951/0.7604, allocations: 0.9968 MB / 0.9468 GB, free: 5.41 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 3.447e-06/0.7604, allocations: 4.125 kB / 0.9468 GB, free: 5.406 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0006078/0.761, allocations: 441.6 kB / 0.9472 GB, free: 4.973 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002541/0.7636, allocations: 0.5918 MB / 0.9478 GB, free: 4.402 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01058/0.7741, allocations: 7.81 MB / 0.9554 GB, free: 12.38 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007157/0.7749, allocations: 1.12 MB / 0.9565 GB, free: 11.23 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.0009815/0.7759, allocations: 247.8 kB / 0.9567 GB, free: 10.98 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005441/0.7764, allocations: 395.3 kB / 0.9571 GB, free: 10.6 MB / 0.67 GB Notification: Performance of SimCode: time 5.61e-07/0.7764, allocations: 0 / 0.9571 GB, free: 10.6 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05615/0.8326, allocations: 27.87 MB / 0.9843 GB, free: 15.13 MB / 0.7012 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.99/11.83, allocations: 0 / 0.9843 GB, free: 15.13 MB / 0.7012 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)