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: translateModel(IDEAS.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2") translateModel(IDEAS.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001191/0.001191, allocations: 109.5 kB / 16.41 MB, free: 6.453 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.001216/0.001216, allocations: 189.7 kB / 17.34 MB, free: 5.719 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.284/1.284, allocations: 222.9 MB / 241 MB, free: 15.13 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7704/0.7704, allocations: 132.2 MB / 423.4 MB, free: 6.578 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001148/0.001148, allocations: 62.73 kB / 0.582 GB, free: 23.73 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1307/0.1319, allocations: 80.21 MB / 0.6604 GB, free: 10.25 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2): time 0.4585/0.5905, allocations: 174 MB / 0.8303 GB, free: 256 kB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.008867/0.5994, allocations: 9.51 MB / 0.8396 GB, free: 8.543 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002936/0.5997, allocations: 9 kB / 0.8396 GB, free: 8.539 MB / 0.6075 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.0006235/0.6003, allocations: 191.5 kB / 0.8398 GB, free: 8.375 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0003014/0.6006, allocations: 99.48 kB / 0.8399 GB, free: 8.289 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001914/0.6008, allocations: 59.77 kB / 0.84 GB, free: 8.238 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0004198/0.6013, allocations: 326.5 kB / 0.8403 GB, free: 8.051 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003378/0.6016, allocations: 199 kB / 0.8405 GB, free: 7.941 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003722/0.602, allocations: 173.5 kB / 0.8406 GB, free: 7.84 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000156/0.6022, allocations: 121.7 kB / 0.8407 GB, free: 7.758 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 3.096e-05/0.6022, allocations: 22.56 kB / 0.8408 GB, free: 7.758 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 3.995e-05/0.6022, allocations: 20.19 kB / 0.8408 GB, free: 7.758 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 7.973e-05/0.6023, allocations: 82.67 kB / 0.8409 GB, free: 7.699 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0001211/0.6025, allocations: 126.9 kB / 0.841 GB, free: 7.613 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0002679/0.6027, allocations: 292.7 kB / 0.8413 GB, free: 7.406 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.547e-06/0.6027, allocations: 0 / 0.8413 GB, free: 7.406 MB / 0.6075 GB Notification: Performance of FrontEnd: time 2.756e-06/0.6027, allocations: 0 / 0.8413 GB, free: 7.406 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 9.879e-06/0.6028, allocations: 3.938 kB / 0.8413 GB, free: 7.402 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.000498/0.6033, allocations: 0.5129 MB / 0.8418 GB, free: 6.91 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.11e-05/0.6033, allocations: 7.844 kB / 0.8418 GB, free: 6.91 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.567e-05/0.6034, allocations: 34.78 kB / 0.8418 GB, free: 6.891 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003483/0.6037, allocations: 268 kB / 0.8421 GB, free: 6.625 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.799e-05/0.6037, allocations: 25.5 kB / 0.8421 GB, free: 6.613 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.861e-05/0.6038, allocations: 22.97 kB / 0.8421 GB, free: 6.605 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004014/0.6042, allocations: 326.9 kB / 0.8424 GB, free: 6.344 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.066e-05/0.6042, allocations: 2.781 kB / 0.8424 GB, free: 6.344 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.128e-05/0.6042, allocations: 10.09 kB / 0.8424 GB, free: 6.336 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.241e-05/0.6042, allocations: 11.91 kB / 0.8424 GB, free: 6.332 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002086/0.6045, allocations: 138.3 kB / 0.8426 GB, free: 6.266 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001199/0.6057, allocations: 1.823 MB / 0.8444 GB, free: 4.504 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 7.689e-05/0.6058, allocations: 173 kB / 0.8445 GB, free: 4.324 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.61e-05/0.6058, allocations: 80.14 kB / 0.8446 GB, free: 4.242 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 2.696e-05/0.6058, allocations: 85.34 kB / 0.8447 GB, free: 4.16 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.891e-05/0.6059, allocations: 109.8 kB / 0.8448 GB, free: 4.043 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=0): time 1.052e-06/0.6059, allocations: 0 / 0.8448 GB, free: 4.043 MB / 0.6075 GB Notification: Performance of matching and sorting (n=0): time 9.056e-05/0.606, allocations: 49.95 kB / 0.8448 GB, free: 4 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.632e-05/0.606, allocations: 133 kB / 0.845 GB, free: 3.859 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003388/0.6064, allocations: 373.2 kB / 0.8453 GB, free: 3.629 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.157e-05/0.6064, allocations: 25.7 kB / 0.8453 GB, free: 3.598 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001127/0.6065, allocations: 174.9 kB / 0.8455 GB, free: 3.438 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 2.695e-06/0.6065, allocations: 0 / 0.8455 GB, free: 3.438 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.045e-05/0.6066, allocations: 16.03 kB / 0.8455 GB, free: 3.418 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.000112/0.6067, allocations: 334.6 kB / 0.8458 GB, free: 3.09 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.525e-05/0.6067, allocations: 12.03 kB / 0.8458 GB, free: 3.082 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.843e-05/0.6067, allocations: 36.59 kB / 0.8459 GB, free: 3.035 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.863e-05/0.6068, allocations: 46.86 kB / 0.8459 GB, free: 2.984 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.044e-06/0.6068, allocations: 0 / 0.8459 GB, free: 2.984 MB / 0.6075 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001466/0.607, allocations: 91.69 kB / 0.846 GB, free: 2.918 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.218e-05/0.607, allocations: 8.75 kB / 0.846 GB, free: 2.914 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.042e-06/0.607, allocations: 4.641 kB / 0.846 GB, free: 2.914 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.265e-05/0.607, allocations: 2.594 kB / 0.846 GB, free: 2.914 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.459e-05/0.6071, allocations: 7.562 kB / 0.846 GB, free: 2.914 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.43e-06/0.6071, allocations: 3.312 kB / 0.846 GB, free: 2.914 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.503e-05/0.6072, allocations: 27.58 kB / 0.8461 GB, free: 2.895 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.304e-06/0.6072, allocations: 6.469 kB / 0.8461 GB, free: 2.891 MB / 0.6075 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.0001203/0.6073, allocations: 216.4 kB / 0.8463 GB, free: 2.684 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.019e-05/0.6074, allocations: 137.6 kB / 0.8464 GB, free: 2.555 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.398e-05/0.6074, allocations: 124.5 kB / 0.8465 GB, free: 2.434 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.911e-05/0.6075, allocations: 184.2 kB / 0.8467 GB, free: 2.246 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.937e-05/0.6076, allocations: 179.4 kB / 0.8469 GB, free: 2.066 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.55e-05/0.6076, allocations: 180.2 kB / 0.847 GB, free: 1.883 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002919/0.6079, allocations: 0.4884 MB / 0.8475 GB, free: 1.371 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.565e-05/0.608, allocations: 101 kB / 0.8476 GB, free: 1.266 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.999e-05/0.608, allocations: 104.9 kB / 0.8477 GB, free: 1.156 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.806e-05/0.6081, allocations: 179.2 kB / 0.8479 GB, free: 0.9766 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.925e-05/0.6081, allocations: 184.4 kB / 0.8481 GB, free: 0.7891 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.352e-05/0.6082, allocations: 184.3 kB / 0.8482 GB, free: 0.6016 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.823e-05/0.6082, allocations: 186.6 kB / 0.8484 GB, free: 424 kB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001389/0.6084, allocations: 329.9 kB / 0.8487 GB, free: 84 kB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001172/0.6085, allocations: 213.5 kB / 0.8489 GB, free: 15.86 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.397e-05/0.6086, allocations: 183.2 kB / 0.8491 GB, free: 15.67 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001071/0.6087, allocations: 109 kB / 0.8492 GB, free: 15.56 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.235e-05/0.6088, allocations: 182 kB / 0.8494 GB, free: 15.38 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.957e-05/0.6088, allocations: 101 kB / 0.8495 GB, free: 15.27 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0002371/0.6091, allocations: 275.3 kB / 0.8498 GB, free: 15.09 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.21e-07/0.6091, allocations: 0 / 0.8498 GB, free: 15.09 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0002455/0.6093, allocations: 31.53 kB / 0.8498 GB, free: 15.09 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.0001031/0.6094, allocations: 169.7 kB / 0.8499 GB, free: 14.93 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 7.473e-05/0.6095, allocations: 29.86 kB / 0.85 GB, free: 14.91 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 1.813e-06/0.6095, allocations: 3.938 kB / 0.85 GB, free: 14.91 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 2.835e-06/0.6095, allocations: 3.938 kB / 0.85 GB, free: 14.9 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007267/0.6102, allocations: 0.55 MB / 0.8505 GB, free: 14.41 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005563/0.6108, allocations: 466.2 kB / 0.851 GB, free: 14.04 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002923/0.6111, allocations: 0.7532 MB / 0.8517 GB, free: 13.31 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.421e-05/0.6112, allocations: 19.91 kB / 0.8517 GB, free: 13.3 MB / 0.6231 GB Notification: Performance of SimCode: time 3.1e-07/0.6112, allocations: 0 / 0.8517 GB, free: 13.3 MB / 0.6231 GB Notification: Performance of Templates: time 0.004947/0.6161, allocations: 3.178 MB / 0.8548 GB, free: 11.66 MB / 0.6231 GB make -j1 -f IDEAS_IDEAS.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2.makefile (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 & ./IDEAS_IDEAS.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2.pipe 2>&1)