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.001424/0.001424, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001739/0.001739, allocations: 194.8 kB / 16.14 MB, free: 6.715 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.343/1.343, allocations: 222.9 MB / 239.8 MB, free: 4.629 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7351/0.7351, allocations: 132.2 MB / 422.1 MB, free: 2.031 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001168/0.001168, allocations: 63.16 kB / 0.5012 GB, free: 9.098 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1303/0.1315, allocations: 80.2 MB / 0.5795 GB, free: 9.121 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2): time 0.3594/0.4909, allocations: 145.8 MB / 0.7219 GB, free: 8.496 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.004559/0.4955, allocations: 4.607 MB / 0.7264 GB, free: 5.211 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000217/0.4957, allocations: 10.75 kB / 0.7264 GB, free: 5.207 MB / 0.545 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.0004662/0.4962, allocations: 132.5 kB / 0.7265 GB, free: 5.121 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.0002487/0.4965, allocations: 83.62 kB / 0.7266 GB, free: 5.07 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001263/0.4966, allocations: 54.48 kB / 0.7267 GB, free: 5.035 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0003397/0.497, allocations: 369.4 kB / 0.727 GB, free: 4.887 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002399/0.4972, allocations: 136.3 kB / 0.7271 GB, free: 4.828 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001464/0.4974, allocations: 111.8 kB / 0.7273 GB, free: 4.773 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001845/0.4976, allocations: 158.1 kB / 0.7274 GB, free: 4.703 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 2.416e-05/0.4976, allocations: 11.25 kB / 0.7274 GB, free: 4.703 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 2.992e-05/0.4976, allocations: 12.03 kB / 0.7274 GB, free: 4.703 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 7.018e-05/0.4977, allocations: 58.52 kB / 0.7275 GB, free: 4.68 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 9.129e-05/0.4978, allocations: 103.6 kB / 0.7276 GB, free: 4.613 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0001826/0.498, allocations: 220.1 kB / 0.7278 GB, free: 4.523 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 4.719e-06/0.498, allocations: 0.75 kB / 0.7278 GB, free: 4.523 MB / 0.545 GB Notification: Performance of FrontEnd: time 7.62e-07/0.498, allocations: 5.25 kB / 0.7278 GB, free: 4.52 MB / 0.545 GB Notification: Performance of Transformations before backend: time 4.118e-06/0.498, allocations: 4 kB / 0.7278 GB, free: 4.516 MB / 0.545 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.0004304/0.4984, allocations: 495.1 kB / 0.7283 GB, free: 4.066 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.58e-05/0.4985, allocations: 10.16 kB / 0.7283 GB, free: 4.066 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.598e-05/0.4986, allocations: 55.11 kB / 0.7283 GB, free: 4.016 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.09e-05/0.4986, allocations: 26.78 kB / 0.7284 GB, free: 4.004 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002397/0.4988, allocations: 252.7 kB / 0.7286 GB, free: 3.77 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.8e-05/0.4989, allocations: 17.47 kB / 0.7286 GB, free: 3.762 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.058e-05/0.4989, allocations: 30.11 kB / 0.7286 GB, free: 3.746 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003754/0.4993, allocations: 305.5 kB / 0.7289 GB, free: 3.512 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.072e-05/0.4993, allocations: 5.094 kB / 0.7289 GB, free: 3.508 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.911e-05/0.4993, allocations: 11.31 kB / 0.729 GB, free: 3.5 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.496e-06/0.4993, allocations: 6 kB / 0.729 GB, free: 3.5 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001748/0.4995, allocations: 123.3 kB / 0.7291 GB, free: 3.453 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001106/0.5006, allocations: 1.972 MB / 0.731 GB, free: 1.605 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 6.456e-05/0.5007, allocations: 167 kB / 0.7312 GB, free: 1.434 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.054e-05/0.5007, allocations: 84.14 kB / 0.7312 GB, free: 1.348 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 2.334e-05/0.5008, allocations: 80.38 kB / 0.7313 GB, free: 1.27 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.884e-05/0.5008, allocations: 107.6 kB / 0.7314 GB, free: 1.156 MB / 0.545 GB Notification: Performance of pre-optimization done (n=0): time 1.152e-06/0.5008, allocations: 4 kB / 0.7314 GB, free: 1.152 MB / 0.545 GB Notification: Performance of matching and sorting (n=0): time 7.892e-05/0.5009, allocations: 57.73 kB / 0.7315 GB, free: 1.102 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.653e-05/0.501, allocations: 127.3 kB / 0.7316 GB, free: 0.9648 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003532/0.5013, allocations: 328.9 kB / 0.7319 GB, free: 0.8008 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 9.127e-06/0.5013, allocations: 27.14 kB / 0.7319 GB, free: 0.7695 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001039/0.5014, allocations: 161.8 kB / 0.7321 GB, free: 0.6289 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 3.016e-06/0.5015, allocations: 0.9375 kB / 0.7321 GB, free: 0.6289 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.312e-05/0.5015, allocations: 22.92 kB / 0.7321 GB, free: 0.6094 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001013/0.5016, allocations: 335.5 kB / 0.7324 GB, free: 292 kB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.839e-05/0.5016, allocations: 8.938 kB / 0.7324 GB, free: 288 kB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.132e-05/0.5017, allocations: 60.91 kB / 0.7325 GB, free: 212 kB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.48e-05/0.5018, allocations: 70.31 kB / 0.7326 GB, free: 132 kB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.114e-06/0.5018, allocations: 1.531 kB / 0.7326 GB, free: 132 kB / 0.545 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001523/0.5019, allocations: 104.7 kB / 0.7327 GB, free: 64 kB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.631e-05/0.5019, allocations: 10.84 kB / 0.7327 GB, free: 60 kB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.493e-06/0.502, allocations: 4.188 kB / 0.7327 GB, free: 60 kB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.052e-05/0.502, allocations: 9.156 kB / 0.7327 GB, free: 56 kB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.596e-05/0.502, allocations: 16.59 kB / 0.7327 GB, free: 52 kB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.49e-06/0.502, allocations: 1.719 kB / 0.7327 GB, free: 52 kB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.882e-05/0.5021, allocations: 26.53 kB / 0.7327 GB, free: 36 kB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.476e-06/0.5021, allocations: 11.81 kB / 0.7328 GB, free: 28 kB / 0.545 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.0001204/0.5023, allocations: 203.5 kB / 0.7329 GB, free: 15.83 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.279e-05/0.5023, allocations: 137 kB / 0.7331 GB, free: 15.7 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.412e-05/0.5024, allocations: 123.4 kB / 0.7332 GB, free: 15.59 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.027e-05/0.5025, allocations: 177.5 kB / 0.7334 GB, free: 15.41 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.229e-05/0.5025, allocations: 187.8 kB / 0.7335 GB, free: 15.22 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.542e-05/0.5026, allocations: 181.6 kB / 0.7337 GB, free: 15.04 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000259/0.5028, allocations: 477.7 kB / 0.7342 GB, free: 14.57 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.296e-05/0.5029, allocations: 106.3 kB / 0.7343 GB, free: 14.46 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.806e-05/0.5029, allocations: 104.9 kB / 0.7344 GB, free: 14.35 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.059e-05/0.503, allocations: 184.1 kB / 0.7345 GB, free: 14.17 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.069e-05/0.503, allocations: 181.6 kB / 0.7347 GB, free: 13.98 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.653e-05/0.5031, allocations: 181.5 kB / 0.7349 GB, free: 13.8 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.449e-05/0.5031, allocations: 183.5 kB / 0.7351 GB, free: 13.62 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000118/0.5032, allocations: 327.7 kB / 0.7354 GB, free: 13.29 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 8.802e-05/0.5033, allocations: 203.7 kB / 0.7356 GB, free: 13.07 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.041e-05/0.5034, allocations: 189.5 kB / 0.7358 GB, free: 12.88 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.325e-05/0.5035, allocations: 106.7 kB / 0.7359 GB, free: 12.77 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.402e-05/0.5036, allocations: 182.2 kB / 0.736 GB, free: 12.59 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.577e-05/0.5036, allocations: 102.1 kB / 0.7361 GB, free: 12.48 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0002139/0.5038, allocations: 241.6 kB / 0.7364 GB, free: 12.36 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.3e-07/0.5038, allocations: 0 / 0.7364 GB, free: 12.36 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.000255/0.5041, allocations: 32.5 kB / 0.7364 GB, free: 12.35 MB / 0.5606 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.0003109/0.5044, allocations: 0.8324 MB / 0.7372 GB, free: 11.52 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 7.161e-05/0.5045, allocations: 24.39 kB / 0.7372 GB, free: 11.51 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.004e-06/0.5045, allocations: 5.5 kB / 0.7372 GB, free: 11.5 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 1.212e-06/0.5045, allocations: 0 / 0.7372 GB, free: 11.5 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007141/0.5052, allocations: 0.584 MB / 0.7378 GB, free: 10.97 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002294/0.5075, allocations: 2.555 MB / 0.7403 GB, free: 9.09 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002648/0.5078, allocations: 0.749 MB / 0.741 GB, free: 8.383 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0001014/0.5079, allocations: 28.73 kB / 0.7411 GB, free: 8.375 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.447e-05/0.508, allocations: 58.03 kB / 0.7411 GB, free: 8.332 MB / 0.5606 GB Notification: Performance of SimCode: time 4.4e-07/0.508, allocations: 1.375 kB / 0.7411 GB, free: 8.332 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6814/1.189, allocations: 4.519 MB / 0.7455 GB, free: 6.551 MB / 0.5606 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002597/1.19, allocations: 206 kB / 0.7457 GB, free: 6.293 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.943/3.133, allocations: 0 / 0.7457 GB, free: 6.293 MB / 0.5606 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Fluid_FMI_Conversion_Validation_InletToAirDryAirCO2_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Fluid_FMI_Conversion_Validation_InletToAirDryAirCO2.fmu > IDEAS_IDEAS.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2.pipe 2>&1)