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.001564/0.00157, allocations: 108.2 kB / 16.41 MB, free: 6.504 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.001784/0.001784, allocations: 187 kB / 17.34 MB, free: 5.742 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.356/1.356, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7967/0.7967, allocations: 132.2 MB / 423.4 MB, free: 6.598 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001466/0.001466, allocations: 66.61 kB / 0.582 GB, free: 23.89 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1993/0.2008, allocations: 80.2 MB / 0.6604 GB, free: 10.36 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2): time 0.6665/0.8674, allocations: 174 MB / 0.8303 GB, free: 288 kB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.009452/0.8769, allocations: 9.516 MB / 0.8396 GB, free: 8.57 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004147/0.8773, allocations: 9.219 kB / 0.8396 GB, free: 8.566 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.0007124/0.8781, allocations: 195.7 kB / 0.8398 GB, free: 8.398 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0002526/0.8784, allocations: 96.25 kB / 0.8399 GB, free: 8.316 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001894/0.8786, allocations: 62.61 kB / 0.84 GB, free: 8.262 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0003652/0.8789, allocations: 330.8 kB / 0.8403 GB, free: 8.07 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003414/0.8793, allocations: 199.8 kB / 0.8405 GB, free: 7.961 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003172/0.8796, allocations: 161.7 kB / 0.8406 GB, free: 7.871 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00014/0.8798, allocations: 128.8 kB / 0.8407 GB, free: 7.781 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 3.076e-05/0.8798, allocations: 22.59 kB / 0.8408 GB, free: 7.781 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 3.713e-05/0.8798, allocations: 24.31 kB / 0.8408 GB, free: 7.777 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 8.712e-05/0.8799, allocations: 70.05 kB / 0.8409 GB, free: 7.73 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0001105/0.8801, allocations: 127.8 kB / 0.841 GB, free: 7.645 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0002929/0.8804, allocations: 296.6 kB / 0.8413 GB, free: 7.434 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.668e-06/0.8804, allocations: 0 / 0.8413 GB, free: 7.434 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.583e-06/0.8804, allocations: 0 / 0.8413 GB, free: 7.434 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 8.156e-06/0.8804, allocations: 0 / 0.8413 GB, free: 7.434 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.0005422/0.8809, allocations: 0.5091 MB / 0.8418 GB, free: 6.945 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.919e-05/0.881, allocations: 7.5 kB / 0.8418 GB, free: 6.945 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.951e-05/0.881, allocations: 34.41 kB / 0.8418 GB, free: 6.926 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003795/0.8814, allocations: 280.5 kB / 0.8421 GB, free: 6.648 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.176e-05/0.8815, allocations: 25.66 kB / 0.8421 GB, free: 6.637 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.845e-05/0.8815, allocations: 25 kB / 0.8421 GB, free: 6.629 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000423/0.8819, allocations: 321 kB / 0.8424 GB, free: 6.371 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.172e-05/0.8819, allocations: 2.344 kB / 0.8424 GB, free: 6.371 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.978e-05/0.882, allocations: 17.19 kB / 0.8424 GB, free: 6.359 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.047e-05/0.882, allocations: 12.81 kB / 0.8425 GB, free: 6.352 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002134/0.8822, allocations: 144.4 kB / 0.8426 GB, free: 6.285 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001234/0.8835, allocations: 1.816 MB / 0.8444 GB, free: 4.527 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 8.442e-05/0.8836, allocations: 175.7 kB / 0.8445 GB, free: 4.348 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.016e-05/0.8836, allocations: 84.08 kB / 0.8446 GB, free: 4.262 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 3.077e-05/0.8836, allocations: 75.28 kB / 0.8447 GB, free: 4.188 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.349e-05/0.8837, allocations: 105.8 kB / 0.8448 GB, free: 4.074 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=0): time 1.132e-06/0.8837, allocations: 0 / 0.8448 GB, free: 4.074 MB / 0.6075 GB Notification: Performance of matching and sorting (n=0): time 9.019e-05/0.8838, allocations: 56.27 kB / 0.8448 GB, free: 4.027 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.409e-05/0.8838, allocations: 126.7 kB / 0.845 GB, free: 3.891 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003544/0.8842, allocations: 373.5 kB / 0.8453 GB, free: 3.66 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.204e-05/0.8842, allocations: 25.7 kB / 0.8453 GB, free: 3.629 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001163/0.8844, allocations: 170.2 kB / 0.8455 GB, free: 3.473 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 3.487e-06/0.8844, allocations: 0 / 0.8455 GB, free: 3.473 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.159e-05/0.8844, allocations: 18.81 kB / 0.8455 GB, free: 3.453 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001195/0.8845, allocations: 340.1 kB / 0.8458 GB, free: 3.117 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.45e-05/0.8845, allocations: 6.438 kB / 0.8459 GB, free: 3.113 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.461e-05/0.8846, allocations: 40.06 kB / 0.8459 GB, free: 3.066 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.86e-05/0.8846, allocations: 42.92 kB / 0.8459 GB, free: 3.016 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.773e-06/0.8847, allocations: 0 / 0.8459 GB, free: 3.016 MB / 0.6075 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001468/0.8848, allocations: 96.08 kB / 0.846 GB, free: 2.945 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.512e-05/0.8848, allocations: 11.25 kB / 0.846 GB, free: 2.941 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.59e-06/0.8848, allocations: 2.656 kB / 0.846 GB, free: 2.941 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.38e-05/0.8849, allocations: 2.781 kB / 0.846 GB, free: 2.941 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.075e-05/0.8849, allocations: 11.33 kB / 0.846 GB, free: 2.938 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.681e-06/0.8849, allocations: 4.156 kB / 0.8461 GB, free: 2.934 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.928e-05/0.885, allocations: 23.47 kB / 0.8461 GB, free: 2.918 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.492e-06/0.885, allocations: 4.625 kB / 0.8461 GB, free: 2.918 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.000127/0.8852, allocations: 214.7 kB / 0.8463 GB, free: 2.711 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.254e-05/0.8852, allocations: 133.4 kB / 0.8464 GB, free: 2.586 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.021e-05/0.8853, allocations: 132.4 kB / 0.8465 GB, free: 2.457 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.8e-05/0.8854, allocations: 187.2 kB / 0.8467 GB, free: 2.27 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.326e-05/0.8854, allocations: 176.3 kB / 0.8469 GB, free: 2.09 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.547e-05/0.8855, allocations: 180.2 kB / 0.8471 GB, free: 1.906 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003057/0.8858, allocations: 496 kB / 0.8475 GB, free: 1.398 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.772e-05/0.8858, allocations: 105 kB / 0.8476 GB, free: 1.289 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.094e-05/0.8859, allocations: 104.9 kB / 0.8477 GB, free: 1.18 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.584e-05/0.8859, allocations: 182.7 kB / 0.8479 GB, free: 0.9961 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.782e-05/0.886, allocations: 180.5 kB / 0.8481 GB, free: 0.8125 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.71e-05/0.8861, allocations: 191.5 kB / 0.8483 GB, free: 0.6211 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.262e-05/0.8862, allocations: 176.3 kB / 0.8484 GB, free: 452 kB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001438/0.8863, allocations: 334.8 kB / 0.8487 GB, free: 108 kB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000127/0.8864, allocations: 211.4 kB / 0.8489 GB, free: 15.88 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.237e-05/0.8865, allocations: 184.2 kB / 0.8491 GB, free: 15.69 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001053/0.8866, allocations: 103.5 kB / 0.8492 GB, free: 15.59 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.103e-05/0.8867, allocations: 184.2 kB / 0.8494 GB, free: 15.4 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.053e-05/0.8867, allocations: 101.5 kB / 0.8495 GB, free: 15.29 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0002483/0.887, allocations: 270.8 kB / 0.8498 GB, free: 15.12 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.3e-07/0.887, allocations: 2.75 kB / 0.8498 GB, free: 15.12 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0002537/0.8873, allocations: 29.09 kB / 0.8498 GB, free: 15.12 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.0001198/0.8874, allocations: 169.7 kB / 0.8499 GB, free: 14.96 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 9.21e-05/0.8875, allocations: 25.95 kB / 0.85 GB, free: 14.94 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 2.435e-06/0.8875, allocations: 0 / 0.85 GB, free: 14.94 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 2.074e-06/0.8875, allocations: 2.938 kB / 0.85 GB, free: 14.94 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007882/0.8883, allocations: 0.5556 MB / 0.8505 GB, free: 14.43 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005985/0.8889, allocations: 470.5 kB / 0.851 GB, free: 14.07 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002878/0.8892, allocations: 0.7526 MB / 0.8517 GB, free: 13.33 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.575e-05/0.8892, allocations: 24.03 kB / 0.8517 GB, free: 13.32 MB / 0.6231 GB Notification: Performance of SimCode: time 2.3e-07/0.8893, allocations: 0 / 0.8517 GB, free: 13.32 MB / 0.6231 GB Notification: Performance of Templates: time 0.004743/0.894, allocations: 3.146 MB / 0.8548 GB, free: 11.71 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)