Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2.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.InletToAirDryAirCO2,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_FMI_Conversion_Validation_InletToAirDryAirCO2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_FMI_Conversion_Validation_InletToAirDryAirCO2",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.004782/0.004782, allocations: 99.8 kB / 15.73 MB, free: 6.004 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.001326/0.001326, allocations: 192.8 kB / 16.67 MB, free: 5.934 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.408/1.408, allocations: 222.9 MB / 240.4 MB, free: 4.305 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002526/0.002526, allocations: 286.4 kB / 290.8 MB, free: 1.898 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.065/1.065, allocations: 178.6 MB / 0.5074 GB, free: 4.484 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002748/0.002748, allocations: 100.4 kB / 0.6943 GB, free: 3.562 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4317/0.4344, allocations: 89.14 MB / 0.7814 GB, free: 13.88 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2): time 0.1748/0.6093, allocations: 148 MB / 0.9259 GB, free: 10.75 MB / 0.6856 GB Notification: Performance of NFInst.instExpressions: time 0.005402/0.6147, allocations: 4.658 MB / 0.9305 GB, free: 6.082 MB / 0.6856 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002097/0.6149, allocations: 8 kB / 0.9305 GB, free: 6.074 MB / 0.6856 GB Notification: Performance of NFTyping.typeComponents: time 0.000444/0.6154, allocations: 158.8 kB / 0.9306 GB, free: 5.918 MB / 0.6856 GB Notification: Performance of NFTyping.typeBindings: time 0.0003122/0.6158, allocations: 91.44 kB / 0.9307 GB, free: 5.828 MB / 0.6856 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001477/0.6159, allocations: 63.92 kB / 0.9308 GB, free: 5.766 MB / 0.6856 GB Notification: Performance of NFFlatten.flatten: time 0.0003794/0.6163, allocations: 302.8 kB / 0.9311 GB, free: 5.469 MB / 0.6856 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002867/0.6166, allocations: 147.6 kB / 0.9312 GB, free: 5.32 MB / 0.6856 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001746/0.6168, allocations: 115.5 kB / 0.9313 GB, free: 5.207 MB / 0.6856 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002156/0.617, allocations: 147.5 kB / 0.9314 GB, free: 5.062 MB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 2.83e-05/0.617, allocations: 16 kB / 0.9315 GB, free: 5.047 MB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 3.4e-05/0.6171, allocations: 16 kB / 0.9315 GB, free: 5.031 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 8.326e-05/0.6172, allocations: 63.83 kB / 0.9315 GB, free: 4.969 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 0.00012/0.6173, allocations: 103.4 kB / 0.9316 GB, free: 4.867 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.0002864/0.6176, allocations: 243.9 kB / 0.9319 GB, free: 4.633 MB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 5.16e-06/0.6176, allocations: 4 kB / 0.9319 GB, free: 4.629 MB / 0.6856 GB Notification: Performance of FrontEnd: time 1.583e-06/0.6176, allocations: 0 / 0.9319 GB, free: 4.629 MB / 0.6856 GB Notification: Performance of Transformations before backend: time 4.96e-06/0.6176, allocations: 0 / 0.9319 GB, free: 4.629 MB / 0.6856 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 54 * Number of variables: 54 Notification: Performance of Generate backend data structure: time 0.000544/0.6182, allocations: 494.9 kB / 0.9323 GB, free: 4.098 MB / 0.6856 GB Notification: Performance of prepare preOptimizeDAE: time 3.668e-05/0.6182, allocations: 12.03 kB / 0.9324 GB, free: 4.086 MB / 0.6856 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.203e-05/0.6183, allocations: 62.73 kB / 0.9324 GB, free: 4.016 MB / 0.6856 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.07e-05/0.6183, allocations: 24.8 kB / 0.9324 GB, free: 3.992 MB / 0.6856 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003805/0.6187, allocations: 268 kB / 0.9327 GB, free: 3.691 MB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.839e-05/0.6188, allocations: 16.81 kB / 0.9327 GB, free: 3.676 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.335e-05/0.6188, allocations: 28.36 kB / 0.9327 GB, free: 3.648 MB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004355/0.6192, allocations: 304.8 kB / 0.933 GB, free: 3.297 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.55e-05/0.6193, allocations: 7.938 kB / 0.933 GB, free: 3.289 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.934e-05/0.6193, allocations: 12 kB / 0.933 GB, free: 3.277 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.728e-06/0.6193, allocations: 8 kB / 0.9331 GB, free: 3.27 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001935/0.6195, allocations: 119.8 kB / 0.9332 GB, free: 3.152 MB / 0.6856 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001505/0.621, allocations: 1.969 MB / 0.9351 GB, free: 1.074 MB / 0.6856 GB Notification: Performance of preOpt comSubExp (simulation): time 9.768e-05/0.6211, allocations: 173.1 kB / 0.9353 GB, free: 0.8945 MB / 0.6856 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.043e-05/0.6212, allocations: 80.14 kB / 0.9353 GB, free: 0.8125 MB / 0.6856 GB Notification: Performance of preOpt evalFunc (simulation): time 3.489e-05/0.6212, allocations: 79.28 kB / 0.9354 GB, free: 0.7344 MB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.822e-05/0.6213, allocations: 113.9 kB / 0.9355 GB, free: 0.6133 MB / 0.6856 GB Notification: Performance of pre-optimization done (n=0): time 1.292e-06/0.6213, allocations: 0 / 0.9355 GB, free: 0.6133 MB / 0.6856 GB Notification: Performance of matching and sorting (n=0): time 9.08e-05/0.6214, allocations: 57.5 kB / 0.9356 GB, free: 0.5508 MB / 0.6856 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.086e-05/0.6214, allocations: 130.6 kB / 0.9357 GB, free: 420 kB / 0.6856 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003595/0.6218, allocations: 328.5 kB / 0.936 GB, free: 84 kB / 0.6856 GB Notification: Performance of collectPreVariables (initialization): time 1.547e-05/0.6218, allocations: 33.69 kB / 0.936 GB, free: 44 kB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001467/0.622, allocations: 159.8 kB / 0.9362 GB, free: 15.88 MB / 0.7012 GB Notification: Performance of collectInitialBindings (initialization): time 4.278e-06/0.622, allocations: 3.938 kB / 0.9362 GB, free: 15.88 MB / 0.7012 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.158e-05/0.622, allocations: 29.66 kB / 0.9362 GB, free: 15.84 MB / 0.7012 GB Notification: Performance of setup shared object (initialization): time 0.0001585/0.6222, allocations: 330.8 kB / 0.9365 GB, free: 15.51 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.946e-05/0.6222, allocations: 8 kB / 0.9366 GB, free: 15.5 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.624e-05/0.6223, allocations: 58.86 kB / 0.9366 GB, free: 15.42 MB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.527e-05/0.6224, allocations: 70.75 kB / 0.9367 GB, free: 15.33 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.573e-06/0.6224, allocations: 0 / 0.9367 GB, free: 15.33 MB / 0.7012 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001816/0.6226, allocations: 105.4 kB / 0.9368 GB, free: 15.22 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 1.273e-05/0.6226, allocations: 4 kB / 0.9368 GB, free: 15.21 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.434e-06/0.6226, allocations: 7.938 kB / 0.9368 GB, free: 15.21 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.247e-05/0.6226, allocations: 4.25 kB / 0.9368 GB, free: 15.2 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.107e-05/0.6227, allocations: 15.94 kB / 0.9368 GB, free: 15.19 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.348e-06/0.6227, allocations: 7.984 kB / 0.9368 GB, free: 15.18 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.368e-05/0.6228, allocations: 27.73 kB / 0.9368 GB, free: 15.15 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.294e-06/0.6228, allocations: 4 kB / 0.9368 GB, free: 15.15 MB / 0.7012 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * 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 (8): * Single equations (assignments): 8 * 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.0001521/0.623, allocations: 217 kB / 0.9371 GB, free: 14.93 MB / 0.7012 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.218e-05/0.6231, allocations: 124.8 kB / 0.9372 GB, free: 14.8 MB / 0.7012 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.392e-05/0.6232, allocations: 134 kB / 0.9373 GB, free: 14.65 MB / 0.7012 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.828e-05/0.6233, allocations: 180.2 kB / 0.9375 GB, free: 14.47 MB / 0.7012 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.195e-05/0.6233, allocations: 176.3 kB / 0.9376 GB, free: 14.29 MB / 0.7012 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.543e-05/0.6234, allocations: 180.3 kB / 0.9378 GB, free: 14.11 MB / 0.7012 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003711/0.6238, allocations: 477.1 kB / 0.9383 GB, free: 13.58 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.483e-05/0.6239, allocations: 101 kB / 0.9384 GB, free: 13.48 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.425e-05/0.6239, allocations: 112.9 kB / 0.9385 GB, free: 13.36 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.546e-05/0.624, allocations: 180.2 kB / 0.9386 GB, free: 13.18 MB / 0.7012 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.702e-05/0.6241, allocations: 188.1 kB / 0.9388 GB, free: 12.98 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.404e-05/0.6242, allocations: 184.3 kB / 0.939 GB, free: 12.8 MB / 0.7012 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.498e-05/0.6243, allocations: 180.3 kB / 0.9392 GB, free: 12.61 MB / 0.7012 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001813/0.6245, allocations: 331.6 kB / 0.9395 GB, free: 12.27 MB / 0.7012 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001304/0.6246, allocations: 205.9 kB / 0.9397 GB, free: 12.04 MB / 0.7012 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001077/0.6247, allocations: 184.2 kB / 0.9399 GB, free: 11.85 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001102/0.6248, allocations: 105 kB / 0.94 GB, free: 11.74 MB / 0.7012 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.106e-05/0.6249, allocations: 180.5 kB / 0.9401 GB, free: 11.56 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.004e-05/0.625, allocations: 105 kB / 0.9402 GB, free: 11.45 MB / 0.7012 GB Notification: Performance of sorting global known variables: time 0.0002521/0.6252, allocations: 235 kB / 0.9405 GB, free: 11.22 MB / 0.7012 GB Notification: Performance of sort global known variables: time 2.034e-06/0.6252, allocations: 0 / 0.9405 GB, free: 11.22 MB / 0.7012 GB Notification: Performance of remove unused functions: time 0.0002738/0.6255, allocations: 39.89 kB / 0.9405 GB, free: 11.18 MB / 0.7012 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.0004714/0.626, allocations: 0.8436 MB / 0.9413 GB, free: 10.31 MB / 0.7012 GB Notification: Performance of simCode: created initialization part: time 8.662e-05/0.6261, allocations: 19.92 kB / 0.9413 GB, free: 10.29 MB / 0.7012 GB Notification: Performance of simCode: created event and clocks part: time 1.904e-06/0.6261, allocations: 0 / 0.9413 GB, free: 10.29 MB / 0.7012 GB Notification: Performance of simCode: created simulation system equations: time 1.172e-06/0.6261, allocations: 0 / 0.9413 GB, free: 10.29 MB / 0.7012 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007222/0.6268, allocations: 0.5163 MB / 0.9418 GB, free: 9.77 MB / 0.7012 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002646/0.6295, allocations: 2.533 MB / 0.9443 GB, free: 7.121 MB / 0.7012 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003792/0.6299, allocations: 0.748 MB / 0.945 GB, free: 6.348 MB / 0.7012 GB Notification: Performance of simCode: alias equations: time 8.584e-05/0.63, allocations: 30.28 kB / 0.9451 GB, free: 6.32 MB / 0.7012 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.079e-05/0.6301, allocations: 55.42 kB / 0.9451 GB, free: 6.266 MB / 0.7012 GB Notification: Performance of SimCode: time 2.41e-07/0.6301, allocations: 0 / 0.9451 GB, free: 6.266 MB / 0.7012 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02667/0.6567, allocations: 4.821 MB / 0.9498 GB, free: 1.633 MB / 0.7012 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.945/8.602, allocations: 7.922 kB / 0.9498 GB, free: 1.625 MB / 0.7012 GB (rm -f BuildingSystems_BuildingSystems.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2.sim & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2_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_InletToAirDryAirCO2.fmu > BuildingSystems_BuildingSystems.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2.pipe 2>&1)