Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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-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: translateModel(IDEAS.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2") translateModel(IDEAS.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_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.0009914/0.0009914, allocations: 115.8 kB / 16.37 MB, free: 6.012 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.001005/0.001005, allocations: 193.4 kB / 17.31 MB, free: 5.613 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.224/1.224, allocations: 222.9 MB / 241 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7316/0.7316, allocations: 135.1 MB / 426.3 MB, free: 4.113 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0012/0.0012, allocations: 67.89 kB / 0.5068 GB, free: 7.637 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3087/0.3099, allocations: 80.9 MB / 0.5858 GB, free: 25.56 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2): time 0.4515/0.7614, allocations: 174 MB / 0.7557 GB, free: 1.75 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.006604/0.7681, allocations: 9.515 MB / 0.765 GB, free: 1.703 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000283/0.7684, allocations: 10.88 kB / 0.765 GB, free: 1.703 MB / 0.5762 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.0005591/0.769, allocations: 192.1 kB / 0.7652 GB, free: 1.703 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.000213/0.7692, allocations: 89.72 kB / 0.7653 GB, free: 1.703 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001723/0.7694, allocations: 68.48 kB / 0.7654 GB, free: 1.703 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0003804/0.7698, allocations: 325.9 kB / 0.7657 GB, free: 1.703 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003562/0.7702, allocations: 208.8 kB / 0.7659 GB, free: 1.676 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003271/0.7705, allocations: 163.6 kB / 0.766 GB, free: 1.676 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00015/0.7707, allocations: 126.2 kB / 0.7661 GB, free: 1.676 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 3.639e-05/0.7707, allocations: 21.78 kB / 0.7662 GB, free: 1.676 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 4.542e-05/0.7707, allocations: 21.75 kB / 0.7662 GB, free: 1.676 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 9.143e-05/0.7708, allocations: 72.31 kB / 0.7663 GB, free: 1.676 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0001343/0.771, allocations: 128.1 kB / 0.7664 GB, free: 1.676 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0003203/0.7713, allocations: 303.2 kB / 0.7667 GB, free: 1.652 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.779e-06/0.7713, allocations: 1.453 kB / 0.7667 GB, free: 1.652 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.202e-06/0.7713, allocations: 0.7812 kB / 0.7667 GB, free: 1.652 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 1.014e-05/0.7713, allocations: 0.8438 kB / 0.7667 GB, free: 1.652 MB / 0.5762 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.0005887/0.7719, allocations: 0.5148 MB / 0.7672 GB, free: 17.23 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.663e-05/0.772, allocations: 11.52 kB / 0.7672 GB, free: 17.23 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.696e-05/0.772, allocations: 30.28 kB / 0.7672 GB, free: 17.21 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003949/0.7724, allocations: 282.3 kB / 0.7675 GB, free: 17 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.389e-05/0.7725, allocations: 19.97 kB / 0.7675 GB, free: 17 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.566e-05/0.7725, allocations: 28.28 kB / 0.7675 GB, free: 17 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004146/0.7729, allocations: 321.5 kB / 0.7678 GB, free: 16.86 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.107e-05/0.773, allocations: 5.219 kB / 0.7678 GB, free: 16.86 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.243e-05/0.773, allocations: 11.62 kB / 0.7679 GB, free: 16.86 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.471e-05/0.773, allocations: 9.031 kB / 0.7679 GB, free: 16.86 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000221/0.7732, allocations: 141.6 kB / 0.768 GB, free: 16.85 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00116/0.7744, allocations: 1.814 MB / 0.7698 GB, free: 15.38 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 7.303e-05/0.7745, allocations: 175.4 kB / 0.7699 GB, free: 15.21 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.672e-05/0.7745, allocations: 81.62 kB / 0.77 GB, free: 15.12 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 2.471e-05/0.7745, allocations: 79.94 kB / 0.7701 GB, free: 15.05 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.49e-05/0.7746, allocations: 108.5 kB / 0.7702 GB, free: 14.93 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=0): time 1.002e-06/0.7746, allocations: 0 / 0.7702 GB, free: 14.93 MB / 0.5919 GB Notification: Performance of matching and sorting (n=0): time 8.461e-05/0.7747, allocations: 55.3 kB / 0.7702 GB, free: 14.89 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.965e-05/0.7748, allocations: 129.8 kB / 0.7704 GB, free: 14.75 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003817/0.7751, allocations: 377.6 kB / 0.7707 GB, free: 14.64 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 1.142e-05/0.7752, allocations: 25.7 kB / 0.7708 GB, free: 14.61 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 9.732e-05/0.7753, allocations: 166.2 kB / 0.7709 GB, free: 14.51 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 2.725e-06/0.7753, allocations: 4.219 kB / 0.7709 GB, free: 14.51 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.834e-05/0.7753, allocations: 21.98 kB / 0.7709 GB, free: 14.49 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001208/0.7754, allocations: 334.7 kB / 0.7713 GB, free: 14.18 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.5e-05/0.7755, allocations: 5.766 kB / 0.7713 GB, free: 14.18 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.25e-05/0.7755, allocations: 37.77 kB / 0.7713 GB, free: 14.14 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.737e-05/0.7755, allocations: 44.83 kB / 0.7713 GB, free: 14.1 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.234e-06/0.7755, allocations: 1.312 kB / 0.7713 GB, free: 14.1 MB / 0.5919 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001619/0.7757, allocations: 90.64 kB / 0.7714 GB, free: 14.05 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.608e-05/0.7757, allocations: 8.219 kB / 0.7714 GB, free: 14.05 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.963e-06/0.7757, allocations: 5.219 kB / 0.7714 GB, free: 14.05 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.503e-05/0.7758, allocations: 3.078 kB / 0.7714 GB, free: 14.05 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.078e-05/0.7758, allocations: 10.88 kB / 0.7715 GB, free: 14.05 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.903e-06/0.7758, allocations: 2.875 kB / 0.7715 GB, free: 14.05 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.219e-05/0.7759, allocations: 31.94 kB / 0.7715 GB, free: 14.03 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.859e-06/0.7759, allocations: 6.188 kB / 0.7715 GB, free: 14.03 MB / 0.5919 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.0001232/0.7761, allocations: 212.8 kB / 0.7717 GB, free: 13.84 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.978e-05/0.7762, allocations: 133.4 kB / 0.7718 GB, free: 13.72 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.13e-05/0.7762, allocations: 132.9 kB / 0.7719 GB, free: 13.61 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.825e-05/0.7763, allocations: 179 kB / 0.7721 GB, free: 13.43 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.532e-05/0.7764, allocations: 184.4 kB / 0.7723 GB, free: 13.24 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.096e-05/0.7764, allocations: 182.3 kB / 0.7725 GB, free: 13.06 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003062/0.7767, allocations: 495.5 kB / 0.7729 GB, free: 12.62 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.001e-05/0.7768, allocations: 106.1 kB / 0.773 GB, free: 12.51 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.043e-05/0.7768, allocations: 106.7 kB / 0.7731 GB, free: 12.41 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.846e-05/0.7769, allocations: 178.4 kB / 0.7733 GB, free: 12.23 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.335e-05/0.7769, allocations: 186.3 kB / 0.7735 GB, free: 12.05 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.735e-05/0.777, allocations: 178.4 kB / 0.7737 GB, free: 11.87 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.775e-05/0.7771, allocations: 183.6 kB / 0.7738 GB, free: 11.69 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001461/0.7772, allocations: 330.2 kB / 0.7742 GB, free: 11.36 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001147/0.7774, allocations: 212.5 kB / 0.7744 GB, free: 11.15 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.441e-05/0.7775, allocations: 185.2 kB / 0.7745 GB, free: 10.97 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001013/0.7776, allocations: 102.6 kB / 0.7746 GB, free: 10.86 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.526e-05/0.7776, allocations: 181.4 kB / 0.7748 GB, free: 10.68 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.974e-05/0.7777, allocations: 104.8 kB / 0.7749 GB, free: 10.58 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.000359/0.7781, allocations: 273.2 kB / 0.7752 GB, free: 10.5 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.6e-07/0.7781, allocations: 0 / 0.7752 GB, free: 10.5 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0002784/0.7783, allocations: 31.34 kB / 0.7752 GB, free: 10.49 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.0001406/0.7785, allocations: 176.6 kB / 0.7754 GB, free: 10.33 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 7.71e-05/0.7786, allocations: 19.8 kB / 0.7754 GB, free: 10.33 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.7786, allocations: 0.7812 kB / 0.7754 GB, free: 10.33 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 2.254e-06/0.7786, allocations: 0.625 kB / 0.7754 GB, free: 10.33 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007664/0.7794, allocations: 0.5579 MB / 0.7759 GB, free: 9.863 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006251/0.78, allocations: 441.1 kB / 0.7763 GB, free: 9.582 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003324/0.7803, allocations: 0.7548 MB / 0.7771 GB, free: 8.883 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0001036/0.7805, allocations: 32.09 kB / 0.7771 GB, free: 8.879 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.113e-05/0.7805, allocations: 20.62 kB / 0.7771 GB, free: 8.871 MB / 0.5919 GB Notification: Performance of SimCode: time 2.3e-07/0.7805, allocations: 0 / 0.7771 GB, free: 8.871 MB / 0.5919 GB Notification: Performance of Templates: time 0.005502/0.786, allocations: 3.155 MB / 0.7802 GB, free: 8.766 MB / 0.5919 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2.makefile (rm -f IDEAS_dev_IDEAS.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2.sim & ./IDEAS_dev_IDEAS.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2 -abortSlowSimulation -alarm=480 -s gbode -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2.pipe 2>&1)