Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.FMI.Conversion.Validation.InletToAirDryAir.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.Fluid.FMI.Conversion.Validation.InletToAirDryAir,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_FMI_Conversion_Validation_InletToAirDryAir",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.FMI.Conversion.Validation.InletToAirDryAir,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_FMI_Conversion_Validation_InletToAirDryAir",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.001264/0.001263, 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.001212/0.001213, allocations: 191.3 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.384/1.384, 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.002467/0.002467, allocations: 279.1 kB / 290.7 MB, free: 2.012 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.055/1.055, allocations: 178.6 MB / 0.5073 GB, free: 4.574 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002727/0.002727, allocations: 98.81 kB / 0.6065 GB, free: 24.69 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1532/0.1559, allocations: 89.14 MB / 0.6936 GB, free: 4.223 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.FMI.Conversion.Validation.InletToAirDryAir): time 0.4198/0.5758, allocations: 148 MB / 0.8381 GB, free: 13.47 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.005097/0.5809, allocations: 4.635 MB / 0.8426 GB, free: 9.727 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001822/0.5811, allocations: 11.22 kB / 0.8426 GB, free: 9.723 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0004642/0.5816, allocations: 165.3 kB / 0.8428 GB, free: 9.578 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.0002533/0.5819, allocations: 90.34 kB / 0.8429 GB, free: 9.504 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001376/0.582, allocations: 60.42 kB / 0.8429 GB, free: 9.453 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0003504/0.5824, allocations: 293.3 kB / 0.8432 GB, free: 9.289 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002172/0.5826, allocations: 109.7 kB / 0.8433 GB, free: 9.223 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001621/0.5828, allocations: 107.1 kB / 0.8434 GB, free: 9.16 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001773/0.5829, allocations: 129.4 kB / 0.8435 GB, free: 9.09 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 1.904e-05/0.583, allocations: 10.44 kB / 0.8435 GB, free: 9.09 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 2.408e-05/0.583, allocations: 10.75 kB / 0.8436 GB, free: 9.09 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 3.436e-05/0.583, allocations: 29.64 kB / 0.8436 GB, free: 9.066 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 7.718e-05/0.5831, allocations: 76.8 kB / 0.8437 GB, free: 9.016 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0001706/0.5833, allocations: 148.1 kB / 0.8438 GB, free: 8.91 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.218e-06/0.5833, allocations: 1.875 kB / 0.8438 GB, free: 8.91 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.423e-06/0.5833, allocations: 4 kB / 0.8438 GB, free: 8.906 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 4.899e-06/0.5833, allocations: 0 / 0.8438 GB, free: 8.906 MB / 0.5762 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 37 * Number of variables: 37 Notification: Performance of Generate backend data structure: time 0.0004596/0.5838, allocations: 448.9 kB / 0.8442 GB, free: 8.465 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.382e-05/0.5838, allocations: 8.75 kB / 0.8442 GB, free: 8.465 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.648e-05/0.5839, allocations: 52.61 kB / 0.8443 GB, free: 8.41 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.481e-05/0.5839, allocations: 18.28 kB / 0.8443 GB, free: 8.402 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002576/0.5842, allocations: 236.4 kB / 0.8445 GB, free: 8.156 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.548e-05/0.5842, allocations: 9.875 kB / 0.8445 GB, free: 8.152 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.619e-05/0.5843, allocations: 21.56 kB / 0.8446 GB, free: 8.141 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002917/0.5846, allocations: 222.5 kB / 0.8448 GB, free: 7.93 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.102e-05/0.5846, allocations: 5.375 kB / 0.8448 GB, free: 7.926 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.408e-05/0.5846, allocations: 5.375 kB / 0.8448 GB, free: 7.922 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.079e-05/0.5846, allocations: 5.5 kB / 0.8448 GB, free: 7.922 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001116/0.5847, allocations: 71.53 kB / 0.8449 GB, free: 7.887 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001105/0.5858, allocations: 1.594 MB / 0.8464 GB, free: 6.281 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 9.506e-05/0.5859, allocations: 173.1 kB / 0.8466 GB, free: 6.102 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.335e-05/0.586, allocations: 85.45 kB / 0.8467 GB, free: 6.016 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 3.461e-05/0.586, allocations: 79.28 kB / 0.8467 GB, free: 5.938 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.533e-05/0.5861, allocations: 107.2 kB / 0.8468 GB, free: 5.824 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=0): time 9.82e-07/0.5861, allocations: 0 / 0.8468 GB, free: 5.824 MB / 0.5762 GB Notification: Performance of matching and sorting (n=0): time 8.319e-05/0.5862, allocations: 45.7 kB / 0.8469 GB, free: 5.781 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.286e-05/0.5863, allocations: 126.7 kB / 0.847 GB, free: 5.645 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002601/0.5865, allocations: 254.3 kB / 0.8472 GB, free: 5.473 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 1.368e-05/0.5865, allocations: 25.7 kB / 0.8473 GB, free: 5.441 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001003/0.5867, allocations: 141.4 kB / 0.8474 GB, free: 5.309 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 5.03e-06/0.5867, allocations: 5.359 kB / 0.8474 GB, free: 5.305 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.717e-05/0.5867, allocations: 19.22 kB / 0.8474 GB, free: 5.285 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001388/0.5868, allocations: 327 kB / 0.8477 GB, free: 4.961 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.304e-05/0.5869, allocations: 2.75 kB / 0.8477 GB, free: 4.961 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.594e-05/0.5869, allocations: 54.25 kB / 0.8478 GB, free: 4.895 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.718e-05/0.587, allocations: 61.77 kB / 0.8479 GB, free: 4.824 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.903e-06/0.587, allocations: 0 / 0.8479 GB, free: 4.824 MB / 0.5762 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.000154/0.5872, allocations: 98.23 kB / 0.8479 GB, free: 4.754 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.197e-05/0.5872, allocations: 5.5 kB / 0.848 GB, free: 4.754 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.569e-06/0.5872, allocations: 1.375 kB / 0.848 GB, free: 4.754 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.289e-05/0.5872, allocations: 2.75 kB / 0.848 GB, free: 4.754 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.278e-05/0.5873, allocations: 17.56 kB / 0.848 GB, free: 4.746 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.001e-06/0.5873, allocations: 2.969 kB / 0.848 GB, free: 4.746 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.672e-05/0.5874, allocations: 26.69 kB / 0.848 GB, free: 4.727 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.573e-06/0.5874, allocations: 4.125 kB / 0.848 GB, free: 4.727 MB / 0.5762 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * 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 (7): * Single equations (assignments): 7 * 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.000137/0.5875, allocations: 198.6 kB / 0.8482 GB, free: 4.527 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.783e-05/0.5876, allocations: 126.3 kB / 0.8483 GB, free: 4.406 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.75e-05/0.5877, allocations: 119.2 kB / 0.8484 GB, free: 4.289 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.58e-05/0.5878, allocations: 177.6 kB / 0.8486 GB, free: 4.109 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.883e-05/0.5879, allocations: 185.5 kB / 0.8488 GB, free: 3.922 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.069e-05/0.5879, allocations: 177.6 kB / 0.8489 GB, free: 3.742 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003115/0.5883, allocations: 461.4 kB / 0.8494 GB, free: 3.254 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.893e-05/0.5883, allocations: 106.2 kB / 0.8495 GB, free: 3.145 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.651e-05/0.5884, allocations: 102.1 kB / 0.8496 GB, free: 3.039 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.815e-05/0.5885, allocations: 188.2 kB / 0.8498 GB, free: 2.848 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.48e-05/0.5885, allocations: 177.4 kB / 0.8499 GB, free: 2.668 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.724e-05/0.5886, allocations: 187.5 kB / 0.8501 GB, free: 2.48 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.957e-05/0.5887, allocations: 181.4 kB / 0.8503 GB, free: 2.297 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000174/0.5889, allocations: 334.6 kB / 0.8506 GB, free: 1.957 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001714/0.589, allocations: 190 kB / 0.8508 GB, free: 1.75 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001046/0.5892, allocations: 182.7 kB / 0.851 GB, free: 1.566 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001508/0.5893, allocations: 109 kB / 0.8511 GB, free: 1.453 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.459e-05/0.5894, allocations: 185.6 kB / 0.8512 GB, free: 1.266 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.34e-05/0.5895, allocations: 102.2 kB / 0.8513 GB, free: 1.16 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0001636/0.5896, allocations: 181 kB / 0.8515 GB, free: 1.035 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.21e-07/0.5896, allocations: 0 / 0.8515 GB, free: 1.035 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0002515/0.5899, allocations: 18.97 kB / 0.8515 GB, free: 1.035 MB / 0.5762 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 simulation (0): * Single equations (assignments): 0 * 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.0004627/0.5904, allocations: 0.8256 MB / 0.8523 GB, free: 212 kB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 7.706e-05/0.5904, allocations: 24.91 kB / 0.8524 GB, free: 200 kB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.5904, allocations: 0 / 0.8524 GB, free: 200 kB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 1.202e-06/0.5905, allocations: 0 / 0.8524 GB, free: 200 kB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007254/0.5912, allocations: 0.4961 MB / 0.8528 GB, free: 15.72 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001884/0.5931, allocations: 2.054 MB / 0.8548 GB, free: 13.96 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003141/0.5934, allocations: 0.7141 MB / 0.8555 GB, free: 13.24 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 6.585e-05/0.5935, allocations: 23.09 kB / 0.8556 GB, free: 13.23 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.248e-05/0.5936, allocations: 47.52 kB / 0.8556 GB, free: 13.19 MB / 0.5919 GB Notification: Performance of SimCode: time 3.3e-07/0.5936, allocations: 0 / 0.8556 GB, free: 13.19 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02266/0.6162, allocations: 3.532 MB / 0.8591 GB, free: 11.46 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.694/8.31, allocations: 9.625 kB / 0.8591 GB, free: 11.46 MB / 0.5919 GB (rm -f BuildingSystems_BuildingSystems.Fluid.FMI.Conversion.Validation.InletToAirDryAir.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.FMI.Conversion.Validation.InletToAirDryAir.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.FMI.Conversion.Validation.InletToAirDryAir.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.FMI.Conversion.Validation.InletToAirDryAir.sim & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.Fluid.FMI.Conversion.Validation.InletToAirDryAir_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_Fluid_FMI_Conversion_Validation_InletToAirDryAir.fmu > BuildingSystems_BuildingSystems.Fluid.FMI.Conversion.Validation.InletToAirDryAir.pipe 2>&1)