Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-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(IDEAS.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_FMI_Conversion_Validation_InletToAirMoistAirCO2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2,fileNamePrefix="IDEAS_dev_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.005192/0.005192, allocations: 99.64 kB / 15.73 MB, free: 6.039 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.001077/0.001077, allocations: 192.1 kB / 16.67 MB, free: 5.961 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.328/1.328, allocations: 222.9 MB / 240.4 MB, free: 15.08 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8073/0.8073, allocations: 135.1 MB / 425.7 MB, free: 4.086 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001196/0.001196, allocations: 62.91 kB / 0.5852 GB, free: 21.83 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1218/0.123, allocations: 80.92 MB / 0.6642 GB, free: 6.277 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2): time 0.4508/0.5738, allocations: 174 MB / 0.8341 GB, free: 10.86 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.009074/0.5829, allocations: 9.51 MB / 0.8434 GB, free: 3.156 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002718/0.5832, allocations: 7.375 kB / 0.8434 GB, free: 3.156 MB / 0.6075 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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-master/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-master/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-master/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.0006034/0.5838, allocations: 195.7 kB / 0.8436 GB, free: 2.988 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0002961/0.5841, allocations: 104.1 kB / 0.8437 GB, free: 2.898 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002006/0.5843, allocations: 69.28 kB / 0.8438 GB, free: 2.84 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0004011/0.5847, allocations: 320.2 kB / 0.8441 GB, free: 2.656 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003401/0.5851, allocations: 206 kB / 0.8443 GB, free: 2.543 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003681/0.5855, allocations: 173.9 kB / 0.8445 GB, free: 2.441 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001459/0.5856, allocations: 120.8 kB / 0.8446 GB, free: 2.359 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 2.972e-05/0.5857, allocations: 22.69 kB / 0.8446 GB, free: 2.359 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 3.77e-05/0.5857, allocations: 20.56 kB / 0.8446 GB, free: 2.359 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 8.05e-05/0.5858, allocations: 74.09 kB / 0.8447 GB, free: 2.309 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0001272/0.5859, allocations: 127.6 kB / 0.8448 GB, free: 2.223 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0002997/0.5862, allocations: 297.3 kB / 0.8451 GB, free: 2.016 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.797e-06/0.5862, allocations: 0 / 0.8451 GB, free: 2.016 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.282e-06/0.5862, allocations: 0 / 0.8451 GB, free: 2.016 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 8.316e-06/0.5863, allocations: 0 / 0.8451 GB, free: 2.016 MB / 0.6075 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.0005257/0.5868, allocations: 0.5214 MB / 0.8456 GB, free: 1.512 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.468e-05/0.5868, allocations: 15.2 kB / 0.8456 GB, free: 1.508 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.05e-05/0.5869, allocations: 64.12 kB / 0.8457 GB, free: 1.445 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.991e-05/0.5869, allocations: 31.3 kB / 0.8457 GB, free: 1.43 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003888/0.5873, allocations: 280.6 kB / 0.846 GB, free: 1.152 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.68e-05/0.5874, allocations: 22.66 kB / 0.846 GB, free: 1.141 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.088e-05/0.5874, allocations: 25.47 kB / 0.846 GB, free: 1.133 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004396/0.5879, allocations: 322.6 kB / 0.8463 GB, free: 0.8711 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.067e-05/0.5879, allocations: 5.812 kB / 0.8463 GB, free: 0.8672 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.543e-05/0.5879, allocations: 14.75 kB / 0.8463 GB, free: 0.8555 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.748e-06/0.5879, allocations: 10.28 kB / 0.8464 GB, free: 0.8555 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002135/0.5881, allocations: 137.9 kB / 0.8465 GB, free: 0.7891 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001288/0.5894, allocations: 1.824 MB / 0.8483 GB, free: 15.03 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 7.551e-05/0.5895, allocations: 173.1 kB / 0.8484 GB, free: 14.85 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.047e-05/0.5896, allocations: 82.86 kB / 0.8485 GB, free: 14.77 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 3.079e-05/0.5896, allocations: 79.28 kB / 0.8486 GB, free: 14.69 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.704e-05/0.5896, allocations: 109.8 kB / 0.8487 GB, free: 14.57 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=0): time 1.112e-06/0.5897, allocations: 0 / 0.8487 GB, free: 14.57 MB / 0.6231 GB Notification: Performance of matching and sorting (n=0): time 9.356e-05/0.5897, allocations: 54.05 kB / 0.8487 GB, free: 14.52 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.704e-05/0.5898, allocations: 134.7 kB / 0.8489 GB, free: 14.38 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003693/0.5902, allocations: 369.2 kB / 0.8492 GB, free: 14.15 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 1.207e-05/0.5902, allocations: 28.45 kB / 0.8493 GB, free: 14.12 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001193/0.5903, allocations: 168.1 kB / 0.8494 GB, free: 13.96 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 3.507e-06/0.5903, allocations: 2.375 kB / 0.8494 GB, free: 13.96 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.099e-05/0.5904, allocations: 16.12 kB / 0.8494 GB, free: 13.95 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001182/0.5905, allocations: 338.7 kB / 0.8498 GB, free: 13.61 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.664e-05/0.5905, allocations: 6.562 kB / 0.8498 GB, free: 13.61 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3e-05/0.5906, allocations: 41.3 kB / 0.8498 GB, free: 13.56 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.798e-05/0.5906, allocations: 43.77 kB / 0.8498 GB, free: 13.51 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.286e-06/0.5906, allocations: 5.844 kB / 0.8498 GB, free: 13.5 MB / 0.6231 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001437/0.5908, allocations: 88.31 kB / 0.8499 GB, free: 13.44 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 1.287e-05/0.5908, allocations: 8.438 kB / 0.8499 GB, free: 13.44 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.412e-06/0.5908, allocations: 6.891 kB / 0.8499 GB, free: 13.43 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.498e-05/0.5908, allocations: 2.781 kB / 0.8499 GB, free: 13.43 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.786e-05/0.5909, allocations: 11.28 kB / 0.85 GB, free: 13.43 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.601e-06/0.5909, allocations: 0 / 0.85 GB, free: 13.43 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.87e-05/0.591, allocations: 23.56 kB / 0.85 GB, free: 13.41 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.433e-06/0.591, allocations: 1.812 kB / 0.85 GB, free: 13.41 MB / 0.6231 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.0001308/0.5911, allocations: 216.6 kB / 0.8502 GB, free: 13.21 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.694e-05/0.5912, allocations: 141.6 kB / 0.8503 GB, free: 13.07 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.944e-05/0.5913, allocations: 124.5 kB / 0.8504 GB, free: 12.95 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.874e-05/0.5914, allocations: 180.2 kB / 0.8506 GB, free: 12.77 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.159e-05/0.5914, allocations: 184.5 kB / 0.8508 GB, free: 12.59 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.001e-05/0.5915, allocations: 180.2 kB / 0.851 GB, free: 12.4 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003196/0.5918, allocations: 0.4922 MB / 0.8514 GB, free: 11.89 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.704e-05/0.5919, allocations: 101 kB / 0.8515 GB, free: 11.78 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.001e-05/0.5919, allocations: 101 kB / 0.8516 GB, free: 11.68 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.069e-05/0.592, allocations: 184.2 kB / 0.8518 GB, free: 11.49 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.151e-05/0.592, allocations: 182.9 kB / 0.852 GB, free: 11.3 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.914e-05/0.5921, allocations: 184.2 kB / 0.8522 GB, free: 11.12 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.312e-05/0.5921, allocations: 183.4 kB / 0.8523 GB, free: 10.93 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001475/0.5923, allocations: 338.8 kB / 0.8527 GB, free: 10.59 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001129/0.5924, allocations: 209.3 kB / 0.8529 GB, free: 10.37 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.735e-05/0.5925, allocations: 182.3 kB / 0.853 GB, free: 10.19 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001147/0.5926, allocations: 101 kB / 0.8531 GB, free: 10.08 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.869e-05/0.5927, allocations: 187.8 kB / 0.8533 GB, free: 9.895 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.046e-05/0.5927, allocations: 104.9 kB / 0.8534 GB, free: 9.785 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0002578/0.593, allocations: 267.2 kB / 0.8537 GB, free: 9.621 MB / 0.6231 GB Notification: Performance of sort global known variables: time 2.11e-07/0.593, allocations: 0 / 0.8537 GB, free: 9.621 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0002749/0.5933, allocations: 31.59 kB / 0.8537 GB, free: 9.617 MB / 0.6231 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.0003736/0.5937, allocations: 0.8365 MB / 0.8545 GB, free: 8.789 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 6.85e-05/0.5938, allocations: 19.33 kB / 0.8545 GB, free: 8.777 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 3.627e-06/0.5938, allocations: 0 / 0.8545 GB, free: 8.777 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 3.186e-06/0.5938, allocations: 3.938 kB / 0.8545 GB, free: 8.773 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007958/0.5946, allocations: 0.5619 MB / 0.8551 GB, free: 8.266 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002535/0.5971, allocations: 2.695 MB / 0.8577 GB, free: 6.234 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003034/0.5974, allocations: 0.7531 MB / 0.8584 GB, free: 5.496 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0001078/0.5976, allocations: 32.69 kB / 0.8585 GB, free: 5.48 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.422e-05/0.5977, allocations: 75.53 kB / 0.8586 GB, free: 5.418 MB / 0.6231 GB Notification: Performance of SimCode: time 2.41e-07/0.5977, allocations: 0 / 0.8586 GB, free: 5.418 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02205/0.6197, allocations: 5.908 MB / 0.8643 GB, free: 1.945 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.487/8.107, allocations: 4.531 kB / 0.8643 GB, free: 1.941 MB / 0.6231 GB (rm -f IDEAS_dev_IDEAS.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2.sim & python3 -m fmpy simulate --output-file IDEAS_dev_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_dev_IDEAS_Fluid_FMI_Conversion_Validation_InletToAirMoistAirCO2.fmu > IDEAS_dev_IDEAS.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2.pipe 2>&1)