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.001904/0.001904, allocations: 108 kB / 15.61 MB, free: 148 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.002458/0.002458, allocations: 195.4 kB / 16.53 MB, free: 6.664 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.444/1.444, allocations: 222.9 MB / 240.2 MB, free: 4.375 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002632/0.002632, allocations: 290.5 kB / 290.7 MB, free: 1.984 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.071/1.071, allocations: 178.6 MB / 0.5073 GB, free: 4.566 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002892/0.002892, allocations: 97.83 kB / 0.6065 GB, free: 24.82 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1495/0.1524, allocations: 89.14 MB / 0.6936 GB, free: 4.242 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Airflow.Multizone.Examples.OneRoom): time 0.5489/0.7014, allocations: 213.6 MB / 0.9022 GB, free: 6.008 MB / 0.6231 GB Notification: Performance of NFInst.instExpressions: time 0.01572/0.7171, allocations: 10.19 MB / 0.9122 GB, free: 11.79 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001453/0.7186, allocations: 43.75 kB / 0.9122 GB, free: 11.75 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.002191/0.7208, allocations: 0.8352 MB / 0.913 GB, free: 10.91 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.007013/0.7279, allocations: 2.895 MB / 0.9159 GB, free: 8.004 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.003491/0.7314, allocations: 1.4 MB / 0.9172 GB, free: 6.605 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.004417/0.7358, allocations: 3.175 MB / 0.9203 GB, free: 3.422 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001549/0.7374, allocations: 1.033 MB / 0.9213 GB, free: 2.371 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001706/0.7391, allocations: 1.125 MB / 0.9224 GB, free: 1.242 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001891/0.741, allocations: 1.074 MB / 0.9235 GB, free: 180 kB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 0.0002007/0.7412, allocations: 124 kB / 0.9236 GB, free: 56 kB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0055/0.7467, allocations: 2.735 MB / 0.9263 GB, free: 13.31 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.0006014/0.7473, allocations: 0.4909 MB / 0.9267 GB, free: 12.82 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.0008834/0.7482, allocations: 0.7312 MB / 0.9275 GB, free: 12.09 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.00458/0.7528, allocations: 2.786 MB / 0.9302 GB, free: 9.293 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 3.817e-06/0.7528, allocations: 0 / 0.9302 GB, free: 9.293 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.202e-06/0.7529, allocations: 4 kB / 0.9302 GB, free: 9.289 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 1.372e-05/0.7529, allocations: 3.938 kB / 0.9302 GB, free: 9.285 MB / 0.6544 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.004179/0.7571, allocations: 1.781 MB / 0.9319 GB, free: 7.453 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.53e-05/0.7571, allocations: 16.03 kB / 0.9319 GB, free: 7.438 MB / 0.6544 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000208/0.7573, allocations: 148 kB / 0.9321 GB, free: 7.285 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003068/0.7604, allocations: 430 kB / 0.9325 GB, free: 6.863 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001515/0.7619, allocations: 0.8551 MB / 0.9333 GB, free: 5.965 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.122e-05/0.762, allocations: 73.92 kB / 0.9334 GB, free: 5.891 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001662/0.7622, allocations: 103.8 kB / 0.9335 GB, free: 5.789 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002141/0.7643, allocations: 1.198 MB / 0.9347 GB, free: 4.559 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.041e-05/0.7644, allocations: 0 / 0.9347 GB, free: 4.559 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001122/0.7645, allocations: 44 kB / 0.9347 GB, free: 4.516 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.187e-05/0.7646, allocations: 49.97 kB / 0.9348 GB, free: 4.465 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002062/0.7666, allocations: 1.077 MB / 0.9358 GB, free: 3.391 MB / 0.6544 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.006061/0.7727, allocations: 4.778 MB / 0.9405 GB, free: 14.21 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001603/0.7743, allocations: 0.9851 MB / 0.9414 GB, free: 13.19 MB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001071/0.7754, allocations: 0.572 MB / 0.942 GB, free: 12.62 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007289/0.7762, allocations: 0.6772 MB / 0.9427 GB, free: 11.79 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.467e-05/0.7762, allocations: 43.16 kB / 0.9427 GB, free: 11.74 MB / 0.67 GB Notification: Performance of pre-optimization done (n=82): time 5.591e-06/0.7762, allocations: 3.984 kB / 0.9427 GB, free: 11.73 MB / 0.67 GB Notification: Performance of matching and sorting (n=83): time 0.004457/0.7807, allocations: 2.308 MB / 0.945 GB, free: 9.371 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.299e-05/0.7807, allocations: 60.41 kB / 0.945 GB, free: 9.301 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008494/0.7816, allocations: 0.6411 MB / 0.9456 GB, free: 8.652 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 6.628e-05/0.7817, allocations: 41.7 kB / 0.9457 GB, free: 8.605 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003674/0.782, allocations: 456 kB / 0.9461 GB, free: 8.152 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002831/0.7823, allocations: 295.6 kB / 0.9464 GB, free: 7.859 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002264/0.7826, allocations: 134.7 kB / 0.9465 GB, free: 7.723 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 0.0002256/0.7828, allocations: 394.7 kB / 0.9469 GB, free: 7.328 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005821/0.7834, allocations: 321.8 kB / 0.9472 GB, free: 7.012 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006632/0.7841, allocations: 422.5 kB / 0.9476 GB, free: 6.574 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00134/0.7854, allocations: 0.7846 MB / 0.9484 GB, free: 5.766 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.761e-06/0.7854, allocations: 4 kB / 0.9484 GB, free: 5.762 MB / 0.67 GB Notification: Performance of matching and sorting (n=97) (initialization): time 0.001717/0.7871, allocations: 0.9438 MB / 0.9493 GB, free: 4.809 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 1.717e-05/0.7872, allocations: 8 kB / 0.9493 GB, free: 4.801 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.853e-06/0.7872, allocations: 0 / 0.9493 GB, free: 4.801 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002665/0.7875, allocations: 72.95 kB / 0.9494 GB, free: 4.727 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007325/0.7882, allocations: 151.8 kB / 0.9495 GB, free: 4.578 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000547/0.7888, allocations: 0.607 MB / 0.9501 GB, free: 3.945 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008114/0.7896, allocations: 27.89 kB / 0.9501 GB, free: 3.918 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.753e-05/0.7896, allocations: 29.62 kB / 0.9502 GB, free: 3.891 MB / 0.67 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.0004708/0.7901, allocations: 306.1 kB / 0.9505 GB, free: 3.582 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000176/0.7903, allocations: 88.78 kB / 0.9505 GB, free: 3.496 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001769/0.7921, allocations: 0.9363 MB / 0.9515 GB, free: 2.543 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.219e-05/0.7921, allocations: 8 kB / 0.9515 GB, free: 2.535 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.099e-06/0.7921, allocations: 3.938 kB / 0.9515 GB, free: 2.531 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001411/0.7935, allocations: 0.9232 MB / 0.9524 GB, free: 1.562 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003374/0.7969, allocations: 2.115 MB / 0.9544 GB, free: 15.39 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.497e-06/0.7969, allocations: 0 / 0.9544 GB, free: 15.39 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009991/0.7979, allocations: 191.8 kB / 0.9546 GB, free: 15.2 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.975e-06/0.798, allocations: 4 kB / 0.9546 GB, free: 15.2 MB / 0.6856 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.698e-05/0.798, allocations: 23.92 kB / 0.9546 GB, free: 15.18 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.061e-06/0.798, allocations: 4 kB / 0.9547 GB, free: 15.17 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.442e-06/0.7981, allocations: 0 / 0.9547 GB, free: 15.17 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002296/0.8004, allocations: 1.388 MB / 0.956 GB, free: 13.77 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004131/0.8008, allocations: 244 kB / 0.9562 GB, free: 13.51 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001339/0.8009, allocations: 33.8 kB / 0.9563 GB, free: 13.48 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00069/0.8016, allocations: 16.56 kB / 0.9563 GB, free: 13.46 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001325/0.8018, allocations: 52.92 kB / 0.9563 GB, free: 13.41 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.059e-05/0.8018, allocations: 27.98 kB / 0.9564 GB, free: 13.38 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 0.0005957/0.8024, allocations: 455 kB / 0.9568 GB, free: 12.95 MB / 0.6856 GB Notification: Performance of sort global known variables: time 1.41e-07/0.8024, allocations: 0 / 0.9568 GB, free: 12.95 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.0008579/0.8033, allocations: 327.9 kB / 0.9571 GB, free: 12.62 MB / 0.6856 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.002748/0.8061, allocations: 2.053 MB / 0.9591 GB, free: 10.55 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.00214/0.8082, allocations: 0.9968 MB / 0.9601 GB, free: 9.555 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 2.996e-06/0.8082, allocations: 64 / 0.9601 GB, free: 9.555 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 0.0007086/0.8089, allocations: 441.6 kB / 0.9605 GB, free: 9.125 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002709/0.8117, allocations: 0.5858 MB / 0.9611 GB, free: 8.555 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01219/0.8239, allocations: 7.79 MB / 0.9687 GB, free: 0.5547 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009197/0.8248, allocations: 1.12 MB / 0.9698 GB, free: 15.4 MB / 0.7012 GB Notification: Performance of simCode: alias equations: time 0.001104/0.8259, allocations: 255.8 kB / 0.97 GB, free: 15.15 MB / 0.7012 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006333/0.8266, allocations: 387.3 kB / 0.9704 GB, free: 14.77 MB / 0.7012 GB Notification: Performance of SimCode: time 2.635e-06/0.8266, allocations: 0 / 0.9704 GB, free: 14.77 MB / 0.7012 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0653/0.8919, allocations: 27.88 MB / 0.9976 GB, free: 3.297 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.07/12.96, allocations: 16.86 kB / 0.9976 GB, free: 3.285 MB / 0.7169 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)