Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2.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/IDEAS 3.0.0/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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(IDEAS.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2,fileNamePrefix="IDEAS_IDEAS_Fluid_FMI_Conversion_Validation_InletToAirMoistAirCO2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2,fileNamePrefix="IDEAS_IDEAS_Fluid_FMI_Conversion_Validation_InletToAirMoistAirCO2",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.007094/0.007095, allocations: 98.2 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.001661/0.001661, allocations: 197.3 kB / 16.67 MB, free: 5.922 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.27/1.27, allocations: 222.9 MB / 240.4 MB, free: 4.145 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7168/0.7168, allocations: 132.2 MB / 422.7 MB, free: 1.59 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001302/0.001302, allocations: 71.89 kB / 0.5809 GB, free: 7.973 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3734/0.3747, allocations: 80.2 MB / 0.6592 GB, free: 9.867 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2): time 0.1663/0.5411, allocations: 174 MB / 0.8292 GB, free: 7.457 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.007999/0.5492, allocations: 9.529 MB / 0.8385 GB, free: 13.9 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002607/0.5495, allocations: 11.94 kB / 0.8385 GB, free: 13.89 MB / 0.67 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/Fluid/FMI/Conversion/InletToAir.mo:80:3-82:60:writable] Warning: Connector bacPro_internal is not balanced: The number of potential variables (3) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/Fluid/FMI/Source_T.mo:50:3-51:70:writable] Warning: Connector X_w_in_internal is not balanced: The number of potential variables (1) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/Fluid/FMI/Conversion/InletToAir.mo:80:3-82:60:writable] Warning: Connector bacPro_internal is not balanced: The number of potential variables (3) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/Fluid/FMI/Source_T.mo:50:3-51:70:writable] Warning: Connector X_w_in_internal is not balanced: The number of potential variables (1) is not equal to the number of flow variables (0). Notification: Performance of NFTyping.typeComponents: time 0.0006372/0.5501, allocations: 194.7 kB / 0.8387 GB, free: 13.7 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.0002195/0.5503, allocations: 95.3 kB / 0.8388 GB, free: 13.6 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001655/0.5505, allocations: 59.92 kB / 0.8388 GB, free: 13.54 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.0003424/0.5508, allocations: 326.7 kB / 0.8391 GB, free: 13.22 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003252/0.5512, allocations: 200.9 kB / 0.8393 GB, free: 13.02 MB / 0.67 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003096/0.5515, allocations: 179.3 kB / 0.8395 GB, free: 12.85 MB / 0.67 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001225/0.5516, allocations: 111.5 kB / 0.8396 GB, free: 12.74 MB / 0.67 GB Notification: Performance of NFPackage.collectConstants: time 2.882e-05/0.5517, allocations: 20 kB / 0.8396 GB, free: 12.72 MB / 0.67 GB Notification: Performance of NFFlatten.collectFunctions: time 3.402e-05/0.5517, allocations: 24 kB / 0.8396 GB, free: 12.7 MB / 0.67 GB Notification: Performance of NFScalarize.scalarize: time 8.076e-05/0.5518, allocations: 75.75 kB / 0.8397 GB, free: 12.62 MB / 0.67 GB Notification: Performance of NFVerifyModel.verify: time 0.0001085/0.5519, allocations: 127.4 kB / 0.8398 GB, free: 12.5 MB / 0.67 GB Notification: Performance of NFConvertDAE.convert: time 0.0002789/0.5522, allocations: 295.6 kB / 0.8401 GB, free: 12.21 MB / 0.67 GB Notification: Performance of FrontEnd - DAE generated: time 3.506e-06/0.5522, allocations: 0 / 0.8401 GB, free: 12.21 MB / 0.67 GB Notification: Performance of FrontEnd: time 1.363e-06/0.5522, allocations: 0 / 0.8401 GB, free: 12.21 MB / 0.67 GB Notification: Performance of Transformations before backend: time 6.081e-06/0.5522, allocations: 0 / 0.8401 GB, free: 12.21 MB / 0.67 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 66 * Number of variables: 66 Notification: Performance of Generate backend data structure: time 0.0004895/0.5527, allocations: 0.5298 MB / 0.8406 GB, free: 11.63 MB / 0.67 GB Notification: Performance of prepare preOptimizeDAE: time 3.826e-05/0.5528, allocations: 12.03 kB / 0.8407 GB, free: 11.62 MB / 0.67 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.559e-05/0.5528, allocations: 66.53 kB / 0.8407 GB, free: 11.54 MB / 0.67 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.674e-05/0.5529, allocations: 31.81 kB / 0.8407 GB, free: 11.51 MB / 0.67 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003294/0.5532, allocations: 274.5 kB / 0.841 GB, free: 11.2 MB / 0.67 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.628e-05/0.5532, allocations: 24.56 kB / 0.841 GB, free: 11.18 MB / 0.67 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.796e-05/0.5533, allocations: 27.94 kB / 0.8411 GB, free: 11.15 MB / 0.67 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003789/0.5537, allocations: 328 kB / 0.8414 GB, free: 10.79 MB / 0.67 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.186e-05/0.5537, allocations: 7.875 kB / 0.8414 GB, free: 10.78 MB / 0.67 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.91e-05/0.5537, allocations: 12 kB / 0.8414 GB, free: 10.77 MB / 0.67 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.416e-06/0.5537, allocations: 8 kB / 0.8414 GB, free: 10.76 MB / 0.67 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001959/0.5539, allocations: 139.8 kB / 0.8415 GB, free: 10.62 MB / 0.67 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001045/0.555, allocations: 1.816 MB / 0.8433 GB, free: 8.711 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 6.008e-05/0.555, allocations: 169.1 kB / 0.8435 GB, free: 8.535 MB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.829e-05/0.5551, allocations: 88.14 kB / 0.8436 GB, free: 8.445 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 2.275e-05/0.5551, allocations: 79.28 kB / 0.8436 GB, free: 8.367 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.302e-05/0.5551, allocations: 109.8 kB / 0.8437 GB, free: 8.25 MB / 0.67 GB Notification: Performance of pre-optimization done (n=0): time 1.032e-06/0.5551, allocations: 0 / 0.8437 GB, free: 8.25 MB / 0.67 GB Notification: Performance of matching and sorting (n=0): time 7.843e-05/0.5552, allocations: 53.62 kB / 0.8438 GB, free: 8.191 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.173e-05/0.5553, allocations: 130.6 kB / 0.8439 GB, free: 8.051 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003488/0.5556, allocations: 373.7 kB / 0.8443 GB, free: 7.684 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 8.847e-06/0.5556, allocations: 25.7 kB / 0.8443 GB, free: 7.652 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.000117/0.5558, allocations: 179.9 kB / 0.8445 GB, free: 7.473 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 2.525e-06/0.5558, allocations: 0 / 0.8445 GB, free: 7.473 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.899e-05/0.5558, allocations: 17.72 kB / 0.8445 GB, free: 7.449 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 0.000109/0.5559, allocations: 342.8 kB / 0.8448 GB, free: 7.105 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.29e-05/0.5559, allocations: 0 / 0.8448 GB, free: 7.105 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.169e-05/0.556, allocations: 44.22 kB / 0.8448 GB, free: 7.047 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.848e-05/0.556, allocations: 44.23 kB / 0.8449 GB, free: 6.988 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.573e-06/0.556, allocations: 0 / 0.8449 GB, free: 6.988 MB / 0.67 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001361/0.5562, allocations: 89.5 kB / 0.845 GB, free: 6.895 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 1.264e-05/0.5562, allocations: 4 kB / 0.845 GB, free: 6.891 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.128e-06/0.5562, allocations: 0 / 0.845 GB, free: 6.891 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.441e-05/0.5562, allocations: 4 kB / 0.845 GB, free: 6.887 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.189e-05/0.5563, allocations: 15.92 kB / 0.845 GB, free: 6.871 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.55e-06/0.5563, allocations: 0 / 0.845 GB, free: 6.871 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.588e-05/0.5564, allocations: 31.73 kB / 0.845 GB, free: 6.84 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.658e-06/0.5564, allocations: 4 kB / 0.845 GB, free: 6.836 MB / 0.67 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * 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 (5): * Single equations (assignments): 5 * 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.000116/0.5565, allocations: 217.1 kB / 0.8452 GB, free: 6.613 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.849e-05/0.5566, allocations: 128.8 kB / 0.8454 GB, free: 6.48 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.032e-05/0.5567, allocations: 127 kB / 0.8455 GB, free: 6.348 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.244e-05/0.5567, allocations: 180.3 kB / 0.8457 GB, free: 6.164 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.046e-05/0.5568, allocations: 180.2 kB / 0.8458 GB, free: 5.98 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.092e-05/0.5568, allocations: 184.2 kB / 0.846 GB, free: 5.793 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002562/0.5571, allocations: 497 kB / 0.8465 GB, free: 5.25 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.801e-05/0.5571, allocations: 105 kB / 0.8466 GB, free: 5.141 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.854e-05/0.5572, allocations: 109 kB / 0.8467 GB, free: 5.027 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.379e-05/0.5572, allocations: 180.2 kB / 0.8468 GB, free: 4.844 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.936e-05/0.5573, allocations: 180.2 kB / 0.847 GB, free: 4.66 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.603e-05/0.5573, allocations: 188.2 kB / 0.8472 GB, free: 4.469 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.434e-05/0.5574, allocations: 184.3 kB / 0.8474 GB, free: 4.281 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001168/0.5575, allocations: 331.5 kB / 0.8477 GB, free: 3.934 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 9.351e-05/0.5576, allocations: 213.9 kB / 0.8479 GB, free: 3.699 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.992e-05/0.5577, allocations: 184.5 kB / 0.8481 GB, free: 3.512 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.867e-05/0.5578, allocations: 109 kB / 0.8482 GB, free: 3.398 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.701e-05/0.5578, allocations: 184.2 kB / 0.8484 GB, free: 3.211 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.646e-05/0.5579, allocations: 108.9 kB / 0.8485 GB, free: 3.098 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.0002253/0.5581, allocations: 271.2 kB / 0.8487 GB, free: 2.832 MB / 0.67 GB Notification: Performance of sort global known variables: time 1.4e-07/0.5581, allocations: 0 / 0.8487 GB, free: 2.832 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.0002385/0.5583, allocations: 31.94 kB / 0.8487 GB, free: 2.801 MB / 0.67 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.0003194/0.5587, allocations: 0.8359 MB / 0.8496 GB, free: 1.938 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 6.084e-05/0.5587, allocations: 11.94 kB / 0.8496 GB, free: 1.926 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 1.974e-06/0.5587, allocations: 0 / 0.8496 GB, free: 1.926 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 2.715e-06/0.5587, allocations: 3.938 kB / 0.8496 GB, free: 1.922 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007084/0.5595, allocations: 0.5595 MB / 0.8501 GB, free: 1.367 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002267/0.5617, allocations: 2.687 MB / 0.8527 GB, free: 14.58 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002549/0.562, allocations: 0.7518 MB / 0.8535 GB, free: 13.8 MB / 0.6856 GB Notification: Performance of simCode: alias equations: time 9.347e-05/0.5621, allocations: 34.97 kB / 0.8535 GB, free: 13.76 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.258e-05/0.5622, allocations: 75.36 kB / 0.8536 GB, free: 13.69 MB / 0.6856 GB Notification: Performance of SimCode: time 3.2e-07/0.5622, allocations: 0 / 0.8536 GB, free: 13.69 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02135/0.5836, allocations: 5.904 MB / 0.8594 GB, free: 7.98 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.46/8.044, allocations: 1.219 kB / 0.8594 GB, free: 7.98 MB / 0.6856 GB (rm -f IDEAS_IDEAS.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2.pipe ; mkfifo IDEAS_IDEAS.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2.pipe >> ../files/IDEAS_IDEAS.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2.sim & python3 -m fmpy simulate --output-file IDEAS_IDEAS.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 IDEAS_IDEAS_Fluid_FMI_Conversion_Validation_InletToAirMoistAirCO2.fmu > IDEAS_IDEAS.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2.pipe 2>&1)