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.001157/0.001157, allocations: 102.8 kB / 16.36 MB, free: 5.824 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: 193.4 kB / 17.29 MB, free: 5.48 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.332/1.332, 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-master/package.mo): time 0.8/0.8, allocations: 135.1 MB / 426.3 MB, free: 4.09 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001353/0.001353, allocations: 63.91 kB / 0.5068 GB, free: 7.629 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.393/0.3943, allocations: 80.91 MB / 0.5858 GB, free: 25.53 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2): time 0.6043/0.9987, allocations: 174 MB / 0.7557 GB, free: 1.727 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.009375/1.008, allocations: 9.518 MB / 0.765 GB, free: 1.68 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003852/1.009, allocations: 10 kB / 0.765 GB, free: 1.68 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.0007484/1.009, allocations: 187.7 kB / 0.7652 GB, free: 1.68 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.0002717/1.01, allocations: 97.27 kB / 0.7653 GB, free: 1.68 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002117/1.01, allocations: 64.84 kB / 0.7653 GB, free: 1.68 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0004553/1.01, allocations: 327.8 kB / 0.7657 GB, free: 1.68 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004098/1.011, allocations: 207.7 kB / 0.7659 GB, free: 1.652 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003908/1.011, allocations: 165.3 kB / 0.766 GB, free: 1.652 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001885/1.011, allocations: 124.2 kB / 0.7661 GB, free: 1.652 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 4.437e-05/1.011, allocations: 21.59 kB / 0.7662 GB, free: 1.652 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 4.836e-05/1.011, allocations: 23.25 kB / 0.7662 GB, free: 1.652 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0001226/1.011, allocations: 72.91 kB / 0.7662 GB, free: 1.652 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0001619/1.012, allocations: 124.9 kB / 0.7664 GB, free: 1.652 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0004049/1.012, allocations: 302 kB / 0.7667 GB, free: 1.633 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 6.632e-06/1.012, allocations: 1.703 kB / 0.7667 GB, free: 1.633 MB / 0.5762 GB Notification: Performance of FrontEnd: time 2.936e-06/1.012, allocations: 0.9062 kB / 0.7667 GB, free: 1.633 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 1.27e-05/1.012, allocations: 1.094 kB / 0.7667 GB, free: 1.633 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.000711/1.013, allocations: 0.5149 MB / 0.7672 GB, free: 17.21 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.645e-05/1.013, allocations: 11.22 kB / 0.7672 GB, free: 17.21 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.983e-05/1.013, allocations: 35.47 kB / 0.7672 GB, free: 17.19 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004046/1.013, allocations: 282.5 kB / 0.7675 GB, free: 16.97 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.997e-05/1.013, allocations: 19.84 kB / 0.7675 GB, free: 16.97 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.811e-05/1.013, allocations: 29.69 kB / 0.7675 GB, free: 16.97 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004883/1.014, allocations: 323.3 kB / 0.7678 GB, free: 16.83 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.252e-05/1.014, allocations: 3.688 kB / 0.7678 GB, free: 16.83 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.587e-05/1.014, allocations: 12.59 kB / 0.7678 GB, free: 16.83 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.96e-05/1.014, allocations: 7.156 kB / 0.7679 GB, free: 16.83 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002673/1.014, allocations: 145.1 kB / 0.768 GB, free: 16.82 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001463/1.016, allocations: 1.806 MB / 0.7698 GB, free: 15.36 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 8.156e-05/1.016, allocations: 171 kB / 0.7699 GB, free: 15.18 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.395e-05/1.016, allocations: 84.88 kB / 0.77 GB, free: 15.1 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 3.323e-05/1.016, allocations: 83.36 kB / 0.7701 GB, free: 15.02 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.655e-05/1.016, allocations: 107.7 kB / 0.7702 GB, free: 14.91 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=0): time 1.132e-06/1.016, allocations: 0 / 0.7702 GB, free: 14.91 MB / 0.5919 GB Notification: Performance of matching and sorting (n=0): time 0.0001249/1.016, allocations: 56.17 kB / 0.7702 GB, free: 14.86 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.862e-05/1.016, allocations: 131 kB / 0.7704 GB, free: 14.73 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004539/1.017, allocations: 376.1 kB / 0.7707 GB, free: 14.61 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 4.825e-05/1.017, allocations: 27.17 kB / 0.7707 GB, free: 14.58 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001159/1.017, allocations: 163.5 kB / 0.7709 GB, free: 14.48 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 6.512e-06/1.017, allocations: 6.484 kB / 0.7709 GB, free: 14.48 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.469e-05/1.017, allocations: 19.95 kB / 0.7709 GB, free: 14.47 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001252/1.017, allocations: 334.1 kB / 0.7712 GB, free: 14.16 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.644e-05/1.017, allocations: 7.359 kB / 0.7713 GB, free: 14.16 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.403e-05/1.017, allocations: 41.03 kB / 0.7713 GB, free: 14.11 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.551e-05/1.017, allocations: 47.77 kB / 0.7713 GB, free: 14.07 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.793e-06/1.017, allocations: 3.156 kB / 0.7713 GB, free: 14.07 MB / 0.5919 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001632/1.017, allocations: 86.41 kB / 0.7714 GB, free: 14.03 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.818e-05/1.017, allocations: 9.406 kB / 0.7714 GB, free: 14.03 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.633e-06/1.017, allocations: 1.219 kB / 0.7714 GB, free: 14.03 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.941e-05/1.017, allocations: 3.281 kB / 0.7714 GB, free: 14.03 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.558e-05/1.017, allocations: 7 kB / 0.7714 GB, free: 14.03 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.026e-06/1.017, allocations: 1.812 kB / 0.7714 GB, free: 14.03 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.328e-05/1.018, allocations: 27.09 kB / 0.7715 GB, free: 14.01 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.149e-05/1.018, allocations: 7.219 kB / 0.7715 GB, free: 14.01 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.0001693/1.018, allocations: 213 kB / 0.7717 GB, free: 13.82 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001009/1.018, allocations: 133.3 kB / 0.7718 GB, free: 13.7 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.823e-05/1.018, allocations: 133.5 kB / 0.7719 GB, free: 13.59 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.054e-05/1.018, allocations: 178.4 kB / 0.7721 GB, free: 13.41 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.898e-05/1.018, allocations: 189.8 kB / 0.7723 GB, free: 13.22 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.115e-05/1.018, allocations: 183.1 kB / 0.7725 GB, free: 13.04 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003768/1.019, allocations: 493.1 kB / 0.7729 GB, free: 12.6 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.569e-05/1.019, allocations: 106.9 kB / 0.773 GB, free: 12.49 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.976e-05/1.019, allocations: 106.2 kB / 0.7731 GB, free: 12.38 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.346e-05/1.019, allocations: 176.9 kB / 0.7733 GB, free: 12.2 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.39e-05/1.019, allocations: 184.4 kB / 0.7735 GB, free: 12.02 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.021e-05/1.019, allocations: 181.8 kB / 0.7737 GB, free: 11.84 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.35e-05/1.019, allocations: 182.5 kB / 0.7738 GB, free: 11.66 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001998/1.019, allocations: 336.3 kB / 0.7741 GB, free: 11.34 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000158/1.019, allocations: 209 kB / 0.7743 GB, free: 11.12 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001152/1.019, allocations: 183.9 kB / 0.7745 GB, free: 10.95 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000119/1.02, allocations: 102.5 kB / 0.7746 GB, free: 10.84 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.176e-05/1.02, allocations: 181.6 kB / 0.7748 GB, free: 10.66 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.484e-05/1.02, allocations: 109.5 kB / 0.7749 GB, free: 10.55 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0003977/1.02, allocations: 271 kB / 0.7752 GB, free: 10.47 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.3e-07/1.02, allocations: 0.7812 kB / 0.7752 GB, free: 10.47 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0002999/1.02, allocations: 31.53 kB / 0.7752 GB, free: 10.46 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.0001759/1.021, allocations: 176.7 kB / 0.7754 GB, free: 10.3 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0001009/1.021, allocations: 19.53 kB / 0.7754 GB, free: 10.3 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 3.386e-06/1.021, allocations: 0.8125 kB / 0.7754 GB, free: 10.3 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 1.302e-06/1.021, allocations: 0.6562 kB / 0.7754 GB, free: 10.3 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009083/1.022, allocations: 0.5505 MB / 0.7759 GB, free: 9.844 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009339/1.023, allocations: 442.1 kB / 0.7763 GB, free: 9.562 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005265/1.023, allocations: 0.7599 MB / 0.7771 GB, free: 8.859 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0001367/1.023, allocations: 32.8 kB / 0.7771 GB, free: 8.855 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.263e-05/1.023, allocations: 20.31 kB / 0.7771 GB, free: 8.848 MB / 0.5919 GB Notification: Performance of SimCode: time 2.11e-07/1.023, allocations: 0.8125 kB / 0.7771 GB, free: 8.848 MB / 0.5919 GB Notification: Performance of Templates: time 0.007197/1.031, allocations: 3.145 MB / 0.7802 GB, free: 8.742 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 cvode -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2.pipe 2>&1)