Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.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/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.InletToAirDryAirCO2,fileNamePrefix="IDEAS_IDEAS_Fluid_FMI_Conversion_Validation_InletToAirDryAirCO2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2,fileNamePrefix="IDEAS_IDEAS_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.007683/0.007683, allocations: 102.3 kB / 15.74 MB, free: 6.035 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.001886/0.001886, allocations: 195.9 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.275/1.275, allocations: 222.9 MB / 240.4 MB, free: 4.316 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.6944/0.6944, allocations: 132.2 MB / 422.7 MB, free: 1.719 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00116/0.00116, allocations: 63.89 kB / 0.5809 GB, free: 1.109 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1372/0.1384, allocations: 80.2 MB / 0.6592 GB, free: 14 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2): time 0.1374/0.2759, allocations: 148 MB / 0.8037 GB, free: 9.438 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.004179/0.2801, allocations: 4.658 MB / 0.8083 GB, free: 4.762 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001868/0.2803, allocations: 11.94 kB / 0.8083 GB, free: 4.75 MB / 0.6387 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.0004406/0.2808, allocations: 161.5 kB / 0.8085 GB, free: 4.594 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.0002786/0.2811, allocations: 91.44 kB / 0.8085 GB, free: 4.504 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001314/0.2812, allocations: 63.86 kB / 0.8086 GB, free: 4.441 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.0003105/0.2815, allocations: 310.8 kB / 0.8089 GB, free: 4.137 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000239/0.2818, allocations: 143.7 kB / 0.809 GB, free: 3.996 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001455/0.2819, allocations: 115.5 kB / 0.8092 GB, free: 3.883 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001696/0.2821, allocations: 143.5 kB / 0.8093 GB, free: 3.742 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 2.442e-05/0.2821, allocations: 20 kB / 0.8093 GB, free: 3.723 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 3.146e-05/0.2822, allocations: 16 kB / 0.8093 GB, free: 3.707 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 7.253e-05/0.2822, allocations: 71.75 kB / 0.8094 GB, free: 3.637 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 8.909e-05/0.2823, allocations: 99.48 kB / 0.8095 GB, free: 3.539 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.0002222/0.2826, allocations: 239.1 kB / 0.8097 GB, free: 3.305 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 3.397e-06/0.2826, allocations: 0 / 0.8097 GB, free: 3.305 MB / 0.6387 GB Notification: Performance of FrontEnd: time 1.473e-06/0.2826, allocations: 0 / 0.8097 GB, free: 3.305 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 5.751e-06/0.2826, allocations: 0 / 0.8097 GB, free: 3.305 MB / 0.6387 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.0004182/0.283, allocations: 498.8 kB / 0.8102 GB, free: 2.77 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 3.402e-05/0.2831, allocations: 8.031 kB / 0.8102 GB, free: 2.762 MB / 0.6387 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.646e-05/0.2831, allocations: 62.73 kB / 0.8103 GB, free: 2.691 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.208e-05/0.2832, allocations: 28.8 kB / 0.8103 GB, free: 2.664 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003261/0.2835, allocations: 279.3 kB / 0.8106 GB, free: 2.355 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.729e-05/0.2835, allocations: 20.38 kB / 0.8106 GB, free: 2.336 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.35e-05/0.2836, allocations: 20 kB / 0.8106 GB, free: 2.316 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003521/0.2839, allocations: 301 kB / 0.8109 GB, free: 1.965 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.06e-05/0.2839, allocations: 3.938 kB / 0.8109 GB, free: 1.961 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.92e-05/0.284, allocations: 12 kB / 0.8109 GB, free: 1.949 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.668e-06/0.284, allocations: 12 kB / 0.8109 GB, free: 1.938 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001637/0.2841, allocations: 123.7 kB / 0.811 GB, free: 1.816 MB / 0.6387 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2662/0.5504, allocations: 1.963 MB / 0.8129 GB, free: 157.3 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 5.672e-05/0.5505, allocations: 172.9 kB / 0.8131 GB, free: 157.2 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.652e-05/0.5505, allocations: 87.78 kB / 0.8132 GB, free: 157.1 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 1.058e-05/0.5505, allocations: 78.84 kB / 0.8133 GB, free: 157 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.408e-05/0.5505, allocations: 110 kB / 0.8134 GB, free: 156.9 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=0): time 2.324e-06/0.5505, allocations: 3.281 kB / 0.8134 GB, free: 156.9 MB / 0.6387 GB Notification: Performance of matching and sorting (n=0): time 0.0001025/0.5506, allocations: 51.2 kB / 0.8134 GB, free: 156.9 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.136e-05/0.5507, allocations: 131.4 kB / 0.8135 GB, free: 156.7 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004071/0.5511, allocations: 334.6 kB / 0.8139 GB, free: 156.6 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 4.719e-06/0.5511, allocations: 26.27 kB / 0.8139 GB, free: 156.6 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 9.262e-05/0.5512, allocations: 161.9 kB / 0.814 GB, free: 156.5 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 3.416e-06/0.5512, allocations: 1.438 kB / 0.814 GB, free: 156.5 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.961e-05/0.5513, allocations: 28.75 kB / 0.8141 GB, free: 156.5 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 5.827e-05/0.5513, allocations: 334.4 kB / 0.8144 GB, free: 156.2 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.981e-05/0.5513, allocations: 5.797 kB / 0.8144 GB, free: 156.2 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.57e-05/0.5514, allocations: 54.98 kB / 0.8145 GB, free: 156.1 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.175e-05/0.5515, allocations: 71.75 kB / 0.8145 GB, free: 156 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.935e-06/0.5515, allocations: 0.5625 kB / 0.8145 GB, free: 156 MB / 0.6387 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001741/0.5516, allocations: 111.5 kB / 0.8146 GB, free: 156 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 1.791e-05/0.5517, allocations: 10.28 kB / 0.8146 GB, free: 156 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.031e-06/0.5517, allocations: 2 kB / 0.8146 GB, free: 156 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.588e-05/0.5517, allocations: 3.031 kB / 0.8146 GB, free: 156 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.87e-05/0.5518, allocations: 13.75 kB / 0.8147 GB, free: 156 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.384e-06/0.5518, allocations: 2.438 kB / 0.8147 GB, free: 156 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.203e-05/0.5519, allocations: 28.45 kB / 0.8147 GB, free: 156 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.675e-06/0.5519, allocations: 4.062 kB / 0.8147 GB, free: 156 MB / 0.6387 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 8.681e-05/0.552, allocations: 214.7 kB / 0.8149 GB, free: 155.8 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.892e-05/0.5521, allocations: 132.9 kB / 0.815 GB, free: 155.7 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.218e-05/0.5521, allocations: 129.2 kB / 0.8151 GB, free: 155.6 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.138e-05/0.5521, allocations: 179.6 kB / 0.8153 GB, free: 155.4 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.092e-05/0.5522, allocations: 181.6 kB / 0.8155 GB, free: 155.2 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.863e-05/0.5522, allocations: 180.5 kB / 0.8157 GB, free: 155 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001929/0.5524, allocations: 483.3 kB / 0.8161 GB, free: 154.6 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.152e-05/0.5524, allocations: 102.6 kB / 0.8162 GB, free: 154.5 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.166e-05/0.5524, allocations: 106.5 kB / 0.8163 GB, free: 154.4 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.941e-05/0.5524, allocations: 184.3 kB / 0.8165 GB, free: 154.2 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.156e-05/0.5525, allocations: 188.3 kB / 0.8167 GB, free: 154 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.866e-05/0.5525, allocations: 178.5 kB / 0.8168 GB, free: 153.8 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.838e-05/0.5525, allocations: 178.1 kB / 0.817 GB, free: 153.7 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.138e-05/0.5526, allocations: 330.3 kB / 0.8173 GB, free: 153.3 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 6.408e-05/0.5526, allocations: 216.4 kB / 0.8175 GB, free: 153.1 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.398e-05/0.5527, allocations: 178.1 kB / 0.8177 GB, free: 152.9 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.755e-05/0.5528, allocations: 103.8 kB / 0.8178 GB, free: 152.8 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.224e-05/0.5528, allocations: 188.1 kB / 0.818 GB, free: 152.6 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.139e-05/0.5528, allocations: 103 kB / 0.8181 GB, free: 152.5 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.0001953/0.553, allocations: 237.5 kB / 0.8183 GB, free: 152.5 MB / 0.6387 GB Notification: Performance of sort global known variables: time 1.21e-07/0.553, allocations: 0 / 0.8183 GB, free: 152.5 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.0002564/0.5533, allocations: 27.3 kB / 0.8183 GB, free: 152.5 MB / 0.6387 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.0001976/0.5535, allocations: 0.8359 MB / 0.8192 GB, free: 151.6 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 7.924e-05/0.5536, allocations: 23.62 kB / 0.8192 GB, free: 151.6 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 2.264e-06/0.5536, allocations: 4.156 kB / 0.8192 GB, free: 151.6 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 1.012e-06/0.5536, allocations: 0 / 0.8192 GB, free: 151.6 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005682/0.5542, allocations: 0.5271 MB / 0.8197 GB, free: 151.2 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001923/0.5561, allocations: 2.506 MB / 0.8221 GB, free: 149.6 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000161/0.5563, allocations: 0.7456 MB / 0.8229 GB, free: 148.9 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 7.994e-05/0.5564, allocations: 25.08 kB / 0.8229 GB, free: 148.9 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.974e-05/0.5564, allocations: 64.23 kB / 0.823 GB, free: 148.9 MB / 0.6387 GB Notification: Performance of SimCode: time 2.3e-07/0.5564, allocations: 0 / 0.823 GB, free: 148.9 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01976/0.5762, allocations: 4.798 MB / 0.8276 GB, free: 148.4 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.121/7.697, allocations: 6.031 kB / 0.8276 GB, free: 148.4 MB / 0.6387 GB (rm -f IDEAS_IDEAS.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2.pipe ; mkfifo IDEAS_IDEAS.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2.pipe >> ../files/IDEAS_IDEAS.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2.sim & python3 -m fmpy simulate --output-file IDEAS_IDEAS.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 IDEAS_IDEAS_Fluid_FMI_Conversion_Validation_InletToAirDryAirCO2.fmu > IDEAS_IDEAS.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2.pipe 2>&1)