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: "" <> buildModelFMU(IDEAS.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2,fileNamePrefix="IDEAS_IDEAS_Fluid_FMI_Conversion_Validation_InletToAirMoistAirCO2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2,fileNamePrefix="IDEAS_IDEAS_Fluid_FMI_Conversion_Validation_InletToAirMoistAirCO2",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.004585/0.004585, allocations: 101.1 kB / 15.73 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.001036/0.001036, allocations: 186.8 kB / 16.67 MB, free: 5.973 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.254/1.254, allocations: 222.9 MB / 240.4 MB, free: 4.297 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7163/0.7163, allocations: 132.2 MB / 422.7 MB, free: 1.68 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001386/0.001386, allocations: 63.91 kB / 0.5809 GB, free: 8.027 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3905/0.3919, allocations: 80.21 MB / 0.6592 GB, free: 9.914 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2): time 0.1619/0.5539, allocations: 174 MB / 0.8292 GB, free: 7.531 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.007957/0.5619, allocations: 9.518 MB / 0.8385 GB, free: 13.98 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002661/0.5622, allocations: 8 kB / 0.8385 GB, free: 13.97 MB / 0.67 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.0005342/0.5628, allocations: 194.6 kB / 0.8387 GB, free: 13.78 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.000216/0.563, allocations: 91.31 kB / 0.8388 GB, free: 13.69 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001614/0.5632, allocations: 71.91 kB / 0.8388 GB, free: 13.62 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.0003204/0.5635, allocations: 326.7 kB / 0.8391 GB, free: 13.3 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003043/0.5638, allocations: 208.8 kB / 0.8393 GB, free: 13.09 MB / 0.67 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002939/0.5641, allocations: 179.3 kB / 0.8395 GB, free: 12.92 MB / 0.67 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001187/0.5643, allocations: 111.5 kB / 0.8396 GB, free: 12.81 MB / 0.67 GB Notification: Performance of NFPackage.collectConstants: time 2.915e-05/0.5643, allocations: 24 kB / 0.8396 GB, free: 12.79 MB / 0.67 GB Notification: Performance of NFFlatten.collectFunctions: time 3.155e-05/0.5643, allocations: 20 kB / 0.8397 GB, free: 12.77 MB / 0.67 GB Notification: Performance of NFScalarize.scalarize: time 7.957e-05/0.5644, allocations: 75.75 kB / 0.8397 GB, free: 12.69 MB / 0.67 GB Notification: Performance of NFVerifyModel.verify: time 0.0001147/0.5646, allocations: 127.4 kB / 0.8398 GB, free: 12.57 MB / 0.67 GB Notification: Performance of NFConvertDAE.convert: time 0.0002561/0.5648, allocations: 294.8 kB / 0.8401 GB, free: 12.28 MB / 0.67 GB Notification: Performance of FrontEnd - DAE generated: time 4.238e-06/0.5648, allocations: 0 / 0.8401 GB, free: 12.28 MB / 0.67 GB Notification: Performance of FrontEnd: time 1.443e-06/0.5648, allocations: 0 / 0.8401 GB, free: 12.28 MB / 0.67 GB Notification: Performance of Transformations before backend: time 1.154e-05/0.5649, allocations: 0 / 0.8401 GB, free: 12.28 MB / 0.67 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.0004827/0.5653, allocations: 0.5146 MB / 0.8406 GB, free: 11.71 MB / 0.67 GB Notification: Performance of prepare preOptimizeDAE: time 4.38e-05/0.5654, allocations: 12.03 kB / 0.8406 GB, free: 11.7 MB / 0.67 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.359e-05/0.5655, allocations: 70.53 kB / 0.8407 GB, free: 11.62 MB / 0.67 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.277e-05/0.5655, allocations: 31.62 kB / 0.8407 GB, free: 11.59 MB / 0.67 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003566/0.5659, allocations: 270.5 kB / 0.841 GB, free: 11.29 MB / 0.67 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.011e-05/0.5659, allocations: 24.56 kB / 0.841 GB, free: 11.27 MB / 0.67 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.7e-05/0.5659, allocations: 24 kB / 0.841 GB, free: 11.24 MB / 0.67 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003887/0.5663, allocations: 324 kB / 0.8414 GB, free: 10.88 MB / 0.67 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.38e-05/0.5663, allocations: 3.938 kB / 0.8414 GB, free: 10.88 MB / 0.67 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.108e-05/0.5664, allocations: 15.94 kB / 0.8414 GB, free: 10.86 MB / 0.67 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.065e-05/0.5664, allocations: 8 kB / 0.8414 GB, free: 10.86 MB / 0.67 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001949/0.5666, allocations: 139.8 kB / 0.8415 GB, free: 10.72 MB / 0.67 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001067/0.5677, allocations: 1.812 MB / 0.8433 GB, free: 8.809 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 6.807e-05/0.5677, allocations: 173.1 kB / 0.8434 GB, free: 8.629 MB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.91e-05/0.5678, allocations: 80.25 kB / 0.8435 GB, free: 8.547 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 2.328e-05/0.5678, allocations: 83.22 kB / 0.8436 GB, free: 8.465 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.025e-05/0.5678, allocations: 109.8 kB / 0.8437 GB, free: 8.348 MB / 0.67 GB Notification: Performance of pre-optimization done (n=0): time 9.91e-07/0.5679, allocations: 0 / 0.8437 GB, free: 8.348 MB / 0.67 GB Notification: Performance of matching and sorting (n=0): time 8.017e-05/0.5679, allocations: 57.3 kB / 0.8438 GB, free: 8.285 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.657e-05/0.568, allocations: 126.7 kB / 0.8439 GB, free: 8.148 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003364/0.5683, allocations: 377.6 kB / 0.8442 GB, free: 7.777 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 9.167e-06/0.5683, allocations: 25.7 kB / 0.8443 GB, free: 7.746 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001018/0.5685, allocations: 171.8 kB / 0.8444 GB, free: 7.574 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 3.256e-06/0.5685, allocations: 0 / 0.8444 GB, free: 7.574 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3e-05/0.5685, allocations: 17.72 kB / 0.8444 GB, free: 7.551 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 9.78e-05/0.5686, allocations: 338.8 kB / 0.8448 GB, free: 7.211 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.642e-05/0.5686, allocations: 7.984 kB / 0.8448 GB, free: 7.203 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.453e-05/0.5687, allocations: 32.3 kB / 0.8448 GB, free: 7.156 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.013e-05/0.5687, allocations: 52.17 kB / 0.8449 GB, free: 7.09 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.994e-06/0.5687, allocations: 0 / 0.8449 GB, free: 7.09 MB / 0.67 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001336/0.5689, allocations: 89.34 kB / 0.8449 GB, free: 6.996 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 1.319e-05/0.5689, allocations: 4 kB / 0.8449 GB, free: 6.992 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.65e-06/0.5689, allocations: 4 kB / 0.845 GB, free: 6.988 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.236e-05/0.5689, allocations: 0 / 0.845 GB, free: 6.988 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.201e-05/0.569, allocations: 15.92 kB / 0.845 GB, free: 6.973 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.869e-06/0.569, allocations: 0 / 0.845 GB, free: 6.973 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.214e-05/0.569, allocations: 23.69 kB / 0.845 GB, free: 6.949 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.015e-06/0.5691, allocations: 4 kB / 0.845 GB, free: 6.945 MB / 0.67 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.0001089/0.5692, allocations: 217 kB / 0.8452 GB, free: 6.723 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.447e-05/0.5692, allocations: 132.7 kB / 0.8453 GB, free: 6.586 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.469e-05/0.5693, allocations: 130.9 kB / 0.8455 GB, free: 6.449 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.508e-05/0.5694, allocations: 180.2 kB / 0.8456 GB, free: 6.266 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.237e-05/0.5694, allocations: 188.2 kB / 0.8458 GB, free: 6.074 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.792e-05/0.5695, allocations: 180.3 kB / 0.846 GB, free: 5.891 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002561/0.5697, allocations: 493 kB / 0.8464 GB, free: 5.352 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.119e-05/0.5698, allocations: 105 kB / 0.8465 GB, free: 5.242 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.886e-05/0.5698, allocations: 109 kB / 0.8466 GB, free: 5.129 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.653e-05/0.5699, allocations: 180.2 kB / 0.8468 GB, free: 4.945 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.021e-05/0.5699, allocations: 180.2 kB / 0.847 GB, free: 4.762 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.508e-05/0.57, allocations: 180.3 kB / 0.8472 GB, free: 4.578 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.017e-05/0.57, allocations: 192.2 kB / 0.8473 GB, free: 4.383 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001211/0.5702, allocations: 331.3 kB / 0.8477 GB, free: 4.035 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 9.212e-05/0.5703, allocations: 213.7 kB / 0.8479 GB, free: 3.801 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.085e-05/0.5703, allocations: 180.5 kB / 0.848 GB, free: 3.617 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.299e-05/0.5704, allocations: 108.9 kB / 0.8481 GB, free: 3.504 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.153e-05/0.5705, allocations: 180.3 kB / 0.8483 GB, free: 3.32 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.893e-05/0.5705, allocations: 108.9 kB / 0.8484 GB, free: 3.207 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.0002303/0.5708, allocations: 271.2 kB / 0.8487 GB, free: 2.941 MB / 0.67 GB Notification: Performance of sort global known variables: time 1.4e-07/0.5708, allocations: 0 / 0.8487 GB, free: 2.941 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.0002395/0.571, allocations: 31.94 kB / 0.8487 GB, free: 2.91 MB / 0.67 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.0003199/0.5713, allocations: 0.8357 MB / 0.8495 GB, free: 2.047 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 7.016e-05/0.5714, allocations: 15.92 kB / 0.8495 GB, free: 2.031 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 1.774e-06/0.5714, allocations: 0 / 0.8495 GB, free: 2.031 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 1.112e-06/0.5714, allocations: 0 / 0.8495 GB, free: 2.031 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006808/0.5721, allocations: 0.5532 MB / 0.8501 GB, free: 1.48 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00228/0.5744, allocations: 2.681 MB / 0.8527 GB, free: 14.7 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002536/0.5747, allocations: 0.7558 MB / 0.8534 GB, free: 13.92 MB / 0.6856 GB Notification: Performance of simCode: alias equations: time 9.529e-05/0.5748, allocations: 34.95 kB / 0.8535 GB, free: 13.88 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.166e-05/0.5749, allocations: 75.42 kB / 0.8535 GB, free: 13.8 MB / 0.6856 GB Notification: Performance of SimCode: time 2.2e-07/0.5749, allocations: 0 / 0.8535 GB, free: 13.8 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02044/0.5953, allocations: 5.921 MB / 0.8593 GB, free: 8.086 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.263/7.858, allocations: 1.219 kB / 0.8593 GB, free: 8.086 MB / 0.6856 GB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Fluid_FMI_Conversion_Validation_InletToAirMoistAirCO2_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Fluid_FMI_Conversion_Validation_InletToAirMoistAirCO2.fmu > IDEAS_IDEAS.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2.pipe 2>&1)