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.004738/0.004738, allocations: 96.98 kB / 15.73 MB, free: 5.988 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.001232/0.001232, allocations: 187.8 kB / 16.67 MB, free: 5.918 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.266/1.266, allocations: 222.9 MB / 240.4 MB, free: 4.297 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.6996/0.6996, allocations: 132.2 MB / 422.7 MB, free: 1.688 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001993/0.001993, allocations: 71.89 kB / 0.5809 GB, free: 8.035 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3631/0.3651, allocations: 80.19 MB / 0.6592 GB, free: 9.875 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2): time 0.1594/0.5245, allocations: 174 MB / 0.8292 GB, free: 7.535 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.007833/0.5324, allocations: 9.529 MB / 0.8385 GB, free: 13.98 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002012/0.5326, allocations: 7.938 kB / 0.8385 GB, free: 13.97 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.0004989/0.5332, allocations: 190.7 kB / 0.8387 GB, free: 13.78 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.0001916/0.5334, allocations: 91.31 kB / 0.8388 GB, free: 13.69 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.00016/0.5335, allocations: 71.91 kB / 0.8388 GB, free: 13.62 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.0003259/0.5339, allocations: 326.7 kB / 0.8391 GB, free: 13.3 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003051/0.5342, allocations: 204.9 kB / 0.8393 GB, free: 13.1 MB / 0.67 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000282/0.5345, allocations: 171.3 kB / 0.8395 GB, free: 12.93 MB / 0.67 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001145/0.5346, allocations: 115.5 kB / 0.8396 GB, free: 12.82 MB / 0.67 GB Notification: Performance of NFPackage.collectConstants: time 2.785e-05/0.5346, allocations: 20 kB / 0.8396 GB, free: 12.8 MB / 0.67 GB Notification: Performance of NFFlatten.collectFunctions: time 3.174e-05/0.5347, allocations: 24 kB / 0.8397 GB, free: 12.77 MB / 0.67 GB Notification: Performance of NFScalarize.scalarize: time 7.529e-05/0.5348, allocations: 75.75 kB / 0.8397 GB, free: 12.7 MB / 0.67 GB Notification: Performance of NFVerifyModel.verify: time 0.0001036/0.5349, allocations: 127.4 kB / 0.8399 GB, free: 12.57 MB / 0.67 GB Notification: Performance of NFConvertDAE.convert: time 0.0002542/0.5351, allocations: 299.6 kB / 0.8401 GB, free: 12.28 MB / 0.67 GB Notification: Performance of FrontEnd - DAE generated: time 4.068e-06/0.5351, allocations: 0 / 0.8401 GB, free: 12.28 MB / 0.67 GB Notification: Performance of FrontEnd: time 1.372e-06/0.5352, allocations: 0 / 0.8401 GB, free: 12.28 MB / 0.67 GB Notification: Performance of Transformations before backend: time 6.031e-06/0.5352, allocations: 0 / 0.8401 GB, free: 12.28 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.0004455/0.5356, allocations: 0.522 MB / 0.8406 GB, free: 11.71 MB / 0.67 GB Notification: Performance of prepare preOptimizeDAE: time 3.332e-05/0.5356, allocations: 8.031 kB / 0.8407 GB, free: 11.7 MB / 0.67 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.744e-05/0.5357, allocations: 70.53 kB / 0.8407 GB, free: 11.62 MB / 0.67 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.172e-05/0.5358, allocations: 27.81 kB / 0.8407 GB, free: 11.6 MB / 0.67 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003472/0.5361, allocations: 279.6 kB / 0.841 GB, free: 11.29 MB / 0.67 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.486e-05/0.5361, allocations: 20.56 kB / 0.841 GB, free: 11.27 MB / 0.67 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.983e-05/0.5362, allocations: 24 kB / 0.8411 GB, free: 11.24 MB / 0.67 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000393/0.5366, allocations: 328 kB / 0.8414 GB, free: 10.88 MB / 0.67 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.304e-05/0.5366, allocations: 7.875 kB / 0.8414 GB, free: 10.87 MB / 0.67 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.02e-05/0.5366, allocations: 12 kB / 0.8414 GB, free: 10.86 MB / 0.67 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.736e-06/0.5366, allocations: 8 kB / 0.8414 GB, free: 10.85 MB / 0.67 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001943/0.5368, allocations: 139.8 kB / 0.8415 GB, free: 10.71 MB / 0.67 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00107/0.5379, allocations: 1.816 MB / 0.8433 GB, free: 8.801 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 6.253e-05/0.538, allocations: 173.1 kB / 0.8435 GB, free: 8.621 MB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.597e-05/0.538, allocations: 80.14 kB / 0.8435 GB, free: 8.539 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 2.048e-05/0.538, allocations: 79.27 kB / 0.8436 GB, free: 8.461 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.859e-05/0.5381, allocations: 125.7 kB / 0.8437 GB, free: 8.328 MB / 0.67 GB Notification: Performance of pre-optimization done (n=0): time 1.183e-06/0.5381, allocations: 0 / 0.8437 GB, free: 8.328 MB / 0.67 GB Notification: Performance of matching and sorting (n=0): time 7.932e-05/0.5382, allocations: 57.62 kB / 0.8438 GB, free: 8.266 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.795e-05/0.5382, allocations: 134.6 kB / 0.8439 GB, free: 8.121 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003398/0.5386, allocations: 373.7 kB / 0.8443 GB, free: 7.754 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 9.217e-06/0.5386, allocations: 25.7 kB / 0.8443 GB, free: 7.723 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001046/0.5387, allocations: 167.9 kB / 0.8445 GB, free: 7.555 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 2.695e-06/0.5387, allocations: 0 / 0.8445 GB, free: 7.555 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.859e-05/0.5387, allocations: 17.72 kB / 0.8445 GB, free: 7.531 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 0.0001051/0.5388, allocations: 334.8 kB / 0.8448 GB, free: 7.195 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.597e-05/0.5389, allocations: 15.98 kB / 0.8448 GB, free: 7.18 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.715e-05/0.5389, allocations: 40.23 kB / 0.8449 GB, free: 7.125 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.616e-05/0.5389, allocations: 44.23 kB / 0.8449 GB, free: 7.066 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.593e-06/0.539, allocations: 0 / 0.8449 GB, free: 7.066 MB / 0.67 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001293/0.5391, allocations: 85.44 kB / 0.845 GB, free: 6.977 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 1.215e-05/0.5391, allocations: 4 kB / 0.845 GB, free: 6.973 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.586e-06/0.5391, allocations: 0 / 0.845 GB, free: 6.973 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.735e-05/0.5391, allocations: 7.984 kB / 0.845 GB, free: 6.965 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.346e-05/0.5392, allocations: 11.94 kB / 0.845 GB, free: 6.953 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.639e-06/0.5392, allocations: 160 / 0.845 GB, free: 6.953 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.794e-05/0.5393, allocations: 31.73 kB / 0.845 GB, free: 6.922 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.061e-06/0.5393, allocations: 4 kB / 0.845 GB, free: 6.918 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.0001103/0.5394, allocations: 217 kB / 0.8452 GB, free: 6.695 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.527e-05/0.5395, allocations: 128.8 kB / 0.8454 GB, free: 6.562 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.7e-05/0.5395, allocations: 127 kB / 0.8455 GB, free: 6.43 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.602e-05/0.5396, allocations: 180.3 kB / 0.8457 GB, free: 6.246 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.511e-05/0.5396, allocations: 188.2 kB / 0.8458 GB, free: 6.055 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.547e-05/0.5397, allocations: 176.3 kB / 0.846 GB, free: 5.875 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002596/0.54, allocations: 497 kB / 0.8465 GB, free: 5.332 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.804e-05/0.54, allocations: 101 kB / 0.8466 GB, free: 5.227 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.522e-05/0.54, allocations: 101 kB / 0.8467 GB, free: 5.121 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.076e-05/0.5401, allocations: 192.2 kB / 0.8469 GB, free: 4.926 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.634e-05/0.5401, allocations: 176.3 kB / 0.847 GB, free: 4.746 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.702e-05/0.5402, allocations: 188.2 kB / 0.8472 GB, free: 4.555 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.206e-05/0.5402, allocations: 176.3 kB / 0.8474 GB, free: 4.375 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001183/0.5404, allocations: 339.5 kB / 0.8477 GB, free: 4.02 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 9.245e-05/0.5404, allocations: 209.9 kB / 0.8479 GB, free: 3.789 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.677e-05/0.5405, allocations: 188.5 kB / 0.8481 GB, free: 3.598 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.599e-05/0.5406, allocations: 101 kB / 0.8482 GB, free: 3.492 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.727e-05/0.5407, allocations: 188.2 kB / 0.8484 GB, free: 3.301 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.845e-05/0.5407, allocations: 105.1 kB / 0.8485 GB, free: 3.191 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.0002277/0.541, allocations: 275.2 kB / 0.8487 GB, free: 2.922 MB / 0.67 GB Notification: Performance of sort global known variables: time 1.21e-07/0.541, allocations: 3.938 kB / 0.8487 GB, free: 2.918 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.0002443/0.5412, allocations: 31.94 kB / 0.8487 GB, free: 2.887 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.000311/0.5415, allocations: 0.8397 MB / 0.8496 GB, free: 2.02 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 6.155e-05/0.5416, allocations: 15.98 kB / 0.8496 GB, free: 2.004 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 1.643e-06/0.5416, allocations: 0 / 0.8496 GB, free: 2.004 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 2.335e-06/0.5416, allocations: 3.938 kB / 0.8496 GB, free: 2 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007076/0.5423, allocations: 0.5419 MB / 0.8501 GB, free: 1.461 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002216/0.5445, allocations: 2.687 MB / 0.8527 GB, free: 14.67 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002561/0.5448, allocations: 0.7558 MB / 0.8535 GB, free: 13.89 MB / 0.6856 GB Notification: Performance of simCode: alias equations: time 8.326e-05/0.5449, allocations: 34.91 kB / 0.8535 GB, free: 13.85 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.3e-05/0.545, allocations: 75.42 kB / 0.8536 GB, free: 13.78 MB / 0.6856 GB Notification: Performance of SimCode: time 2.6e-07/0.545, allocations: 4 kB / 0.8536 GB, free: 13.77 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02158/0.5666, allocations: 5.911 MB / 0.8594 GB, free: 8.062 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.207/7.774, allocations: 1.219 kB / 0.8594 GB, free: 8.062 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)