Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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-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.InletToAirDryAirCO2,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_FMI_Conversion_Validation_InletToAirDryAirCO2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2,fileNamePrefix="IDEAS_dev_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.004973/0.004973, allocations: 98.97 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.00117/0.00117, allocations: 192.8 kB / 16.67 MB, free: 5.93 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.308/1.308, 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.7912/0.7912, allocations: 135.1 MB / 425.7 MB, free: 4.066 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001198/0.001198, allocations: 63.62 kB / 0.5852 GB, free: 21.84 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1211/0.1223, allocations: 80.92 MB / 0.6642 GB, free: 6.25 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2): time 0.4258/0.5481, allocations: 148 MB / 0.8087 GB, free: 11.53 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.003857/0.552, allocations: 4.639 MB / 0.8133 GB, free: 11.12 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002548/0.5523, allocations: 11.91 kB / 0.8133 GB, free: 11.12 MB / 0.5919 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.0005473/0.5529, allocations: 175.3 kB / 0.8134 GB, free: 11.05 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.000344/0.5533, allocations: 82.39 kB / 0.8135 GB, free: 11.02 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001484/0.5534, allocations: 68.25 kB / 0.8136 GB, free: 11.02 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.000371/0.5538, allocations: 298.1 kB / 0.8139 GB, free: 10.86 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002765/0.5541, allocations: 150.9 kB / 0.814 GB, free: 10.79 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001683/0.5543, allocations: 116.9 kB / 0.8141 GB, free: 10.72 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001885/0.5545, allocations: 160.7 kB / 0.8143 GB, free: 10.64 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 2.733e-05/0.5545, allocations: 16.12 kB / 0.8143 GB, free: 10.64 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 3.107e-05/0.5545, allocations: 17.19 kB / 0.8143 GB, free: 10.64 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 7.713e-05/0.5546, allocations: 58.39 kB / 0.8144 GB, free: 10.6 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0001131/0.5547, allocations: 101.8 kB / 0.8145 GB, free: 10.53 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.0002563/0.555, allocations: 240.4 kB / 0.8147 GB, free: 10.38 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 3.697e-06/0.555, allocations: 0 / 0.8147 GB, free: 10.38 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.423e-06/0.555, allocations: 1.375 kB / 0.8147 GB, free: 10.38 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 6.923e-06/0.555, allocations: 4 kB / 0.8147 GB, free: 10.37 MB / 0.5919 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.0004775/0.5555, allocations: 0.4912 MB / 0.8152 GB, free: 9.895 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.852e-05/0.5556, allocations: 10.7 kB / 0.8152 GB, free: 9.895 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.07e-05/0.5556, allocations: 53.61 kB / 0.8152 GB, free: 9.84 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.445e-05/0.5557, allocations: 26.55 kB / 0.8153 GB, free: 9.828 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003541/0.556, allocations: 274.7 kB / 0.8155 GB, free: 9.559 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.923e-05/0.5561, allocations: 13.09 kB / 0.8155 GB, free: 9.555 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.707e-05/0.5561, allocations: 27.53 kB / 0.8156 GB, free: 9.543 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003653/0.5565, allocations: 310.1 kB / 0.8159 GB, free: 9.27 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.154e-05/0.5565, allocations: 2 kB / 0.8159 GB, free: 9.27 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.075e-05/0.5565, allocations: 14.64 kB / 0.8159 GB, free: 9.258 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.905e-06/0.5565, allocations: 7.562 kB / 0.8159 GB, free: 9.258 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001684/0.5567, allocations: 123.8 kB / 0.816 GB, free: 9.195 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001123/0.5578, allocations: 1.964 MB / 0.8179 GB, free: 7.266 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 7.435e-05/0.5579, allocations: 169.1 kB / 0.8181 GB, free: 7.09 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.813e-05/0.5579, allocations: 80.14 kB / 0.8182 GB, free: 7.008 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 2.785e-05/0.558, allocations: 75.28 kB / 0.8182 GB, free: 6.934 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.162e-05/0.558, allocations: 116.5 kB / 0.8183 GB, free: 6.812 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=0): time 1.082e-06/0.558, allocations: 0 / 0.8183 GB, free: 6.812 MB / 0.5919 GB Notification: Performance of matching and sorting (n=0): time 8.914e-05/0.5581, allocations: 59.59 kB / 0.8184 GB, free: 6.758 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.316e-05/0.5582, allocations: 126.7 kB / 0.8185 GB, free: 6.621 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000311/0.5585, allocations: 327.5 kB / 0.8188 GB, free: 6.406 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 1.039e-05/0.5585, allocations: 25.7 kB / 0.8188 GB, free: 6.375 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001099/0.5586, allocations: 167.9 kB / 0.819 GB, free: 6.223 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 3.557e-06/0.5586, allocations: 2.562 kB / 0.819 GB, free: 6.223 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.906e-05/0.5587, allocations: 29.89 kB / 0.819 GB, free: 6.191 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001087/0.5588, allocations: 336.8 kB / 0.8194 GB, free: 5.859 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.679e-05/0.5588, allocations: 4.938 kB / 0.8194 GB, free: 5.859 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.064e-05/0.5589, allocations: 54.33 kB / 0.8194 GB, free: 5.789 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.475e-05/0.5589, allocations: 73.88 kB / 0.8195 GB, free: 5.707 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.784e-06/0.559, allocations: 4 kB / 0.8195 GB, free: 5.703 MB / 0.5919 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001548/0.5591, allocations: 105.2 kB / 0.8196 GB, free: 5.633 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.39e-05/0.5591, allocations: 9.219 kB / 0.8196 GB, free: 5.629 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.819e-06/0.5591, allocations: 2.438 kB / 0.8196 GB, free: 5.629 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.188e-05/0.5592, allocations: 2.188 kB / 0.8196 GB, free: 5.629 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.518e-05/0.5592, allocations: 13.03 kB / 0.8196 GB, free: 5.629 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.343e-06/0.5592, allocations: 3.938 kB / 0.8196 GB, free: 5.625 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.462e-05/0.5593, allocations: 31.75 kB / 0.8197 GB, free: 5.602 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.136e-06/0.5593, allocations: 8.391 kB / 0.8197 GB, free: 5.598 MB / 0.5919 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.0001099/0.5595, allocations: 210.1 kB / 0.8199 GB, free: 5.395 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.48e-05/0.5595, allocations: 137.6 kB / 0.82 GB, free: 5.266 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.822e-05/0.5596, allocations: 128.6 kB / 0.8201 GB, free: 5.137 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.187e-05/0.5597, allocations: 178.8 kB / 0.8203 GB, free: 4.957 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.296e-05/0.5597, allocations: 188.1 kB / 0.8205 GB, free: 4.766 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.229e-05/0.5598, allocations: 187.1 kB / 0.8206 GB, free: 4.578 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003154/0.5601, allocations: 473.8 kB / 0.8211 GB, free: 4.086 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.212e-05/0.5602, allocations: 107 kB / 0.8212 GB, free: 3.977 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.258e-05/0.5602, allocations: 101 kB / 0.8213 GB, free: 3.871 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.727e-05/0.5603, allocations: 186.8 kB / 0.8215 GB, free: 3.684 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.232e-05/0.5603, allocations: 184.2 kB / 0.8216 GB, free: 3.496 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.946e-05/0.5604, allocations: 176.5 kB / 0.8218 GB, free: 3.316 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.829e-05/0.5604, allocations: 184.1 kB / 0.822 GB, free: 3.133 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001279/0.5606, allocations: 332.3 kB / 0.8223 GB, free: 2.797 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000106/0.5607, allocations: 209.5 kB / 0.8225 GB, free: 2.574 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.653e-05/0.5608, allocations: 183 kB / 0.8227 GB, free: 2.391 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001059/0.5609, allocations: 104.9 kB / 0.8228 GB, free: 2.281 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.182e-05/0.5609, allocations: 176.3 kB / 0.823 GB, free: 2.102 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.585e-05/0.561, allocations: 111.2 kB / 0.8231 GB, free: 1.988 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0002098/0.5612, allocations: 235.7 kB / 0.8233 GB, free: 1.84 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.4e-07/0.5612, allocations: 4 kB / 0.8233 GB, free: 1.836 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0002596/0.5615, allocations: 24.84 kB / 0.8233 GB, free: 1.836 MB / 0.5919 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.0003271/0.5618, allocations: 0.8341 MB / 0.8241 GB, free: 1.008 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 7.519e-05/0.5619, allocations: 28.78 kB / 0.8242 GB, free: 0.9922 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 1.643e-06/0.5619, allocations: 0 / 0.8242 GB, free: 0.9922 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 2.795e-06/0.5619, allocations: 3.984 kB / 0.8242 GB, free: 0.9883 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006567/0.5626, allocations: 0.5194 MB / 0.8247 GB, free: 0.5 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00221/0.5648, allocations: 2.51 MB / 0.8271 GB, free: 14.52 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002935/0.5651, allocations: 0.7443 MB / 0.8278 GB, free: 13.79 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 7.894e-05/0.5652, allocations: 24.84 kB / 0.8279 GB, free: 13.78 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.575e-05/0.5653, allocations: 64.45 kB / 0.8279 GB, free: 13.73 MB / 0.6075 GB Notification: Performance of SimCode: time 2.4e-07/0.5653, allocations: 4 kB / 0.8279 GB, free: 13.73 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01994/0.5852, allocations: 4.795 MB / 0.8326 GB, free: 11.35 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.45/8.035, allocations: 9.078 kB / 0.8326 GB, free: 11.34 MB / 0.6075 GB (rm -f IDEAS_dev_IDEAS.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2.sim & python3 -m fmpy simulate --output-file IDEAS_dev_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_dev_IDEAS_Fluid_FMI_Conversion_Validation_InletToAirDryAirCO2.fmu > IDEAS_dev_IDEAS.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2.pipe 2>&1)