Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2.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.InletToAirDryAirCO2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2") translateModel(IDEAS.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001108/0.001108, allocations: 105.7 kB / 16.41 MB, free: 6.492 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.001111/0.001111, allocations: 185.5 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.305/1.305, 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.7815/0.7815, allocations: 132.2 MB / 423.4 MB, free: 6.586 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001227/0.001227, allocations: 64.17 kB / 0.582 GB, free: 23.8 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1426/0.1439, allocations: 80.21 MB / 0.6604 GB, free: 10.23 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2): time 0.5279/0.6718, allocations: 148 MB / 0.8049 GB, free: 12.22 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.004605/0.6765, allocations: 4.645 MB / 0.8094 GB, free: 11.8 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000323/0.6768, allocations: 7.281 kB / 0.8094 GB, free: 11.8 MB / 0.5919 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.0005792/0.6774, allocations: 168.5 kB / 0.8096 GB, free: 11.73 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.0003282/0.6778, allocations: 84.08 kB / 0.8097 GB, free: 11.7 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001455/0.6779, allocations: 71.3 kB / 0.8097 GB, free: 11.7 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.0003217/0.6782, allocations: 297.8 kB / 0.81 GB, free: 11.64 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002785/0.6785, allocations: 148.8 kB / 0.8102 GB, free: 11.61 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001666/0.6787, allocations: 112.6 kB / 0.8103 GB, free: 11.59 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001761/0.6789, allocations: 152.5 kB / 0.8104 GB, free: 11.56 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 3.142e-05/0.6789, allocations: 17.34 kB / 0.8104 GB, free: 11.56 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 3.039e-05/0.679, allocations: 21 kB / 0.8105 GB, free: 11.55 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 8.411e-05/0.6791, allocations: 65.19 kB / 0.8105 GB, free: 11.55 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0001056/0.6792, allocations: 105.8 kB / 0.8106 GB, free: 11.51 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.0002505/0.6794, allocations: 244.4 kB / 0.8109 GB, free: 11.46 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 5.34e-06/0.6794, allocations: 0 / 0.8109 GB, free: 11.46 MB / 0.5919 GB Notification: Performance of FrontEnd: time 2.225e-06/0.6795, allocations: 0 / 0.8109 GB, free: 11.46 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 6.933e-06/0.6795, allocations: 2.406 kB / 0.8109 GB, free: 11.46 MB / 0.5919 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 54 * Number of variables: 54 Notification: Performance of Generate backend data structure: time 0.0005288/0.68, allocations: 485.2 kB / 0.8113 GB, free: 11.05 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.004e-05/0.68, allocations: 12.92 kB / 0.8113 GB, free: 11.05 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.19e-05/0.6801, allocations: 24.84 kB / 0.8114 GB, free: 11.04 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003778/0.6805, allocations: 269.1 kB / 0.8116 GB, free: 10.82 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.456e-05/0.6805, allocations: 15.5 kB / 0.8116 GB, free: 10.82 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.242e-05/0.6805, allocations: 25.88 kB / 0.8117 GB, free: 10.81 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003848/0.6809, allocations: 299.7 kB / 0.8119 GB, free: 10.64 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.362e-05/0.681, allocations: 3.938 kB / 0.8119 GB, free: 10.63 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.17e-05/0.681, allocations: 19.56 kB / 0.812 GB, free: 10.62 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.049e-05/0.681, allocations: 9.266 kB / 0.812 GB, free: 10.62 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001817/0.6812, allocations: 122.6 kB / 0.8121 GB, free: 10.61 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001259/0.6825, allocations: 1.966 MB / 0.814 GB, free: 8.875 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 8.381e-05/0.6826, allocations: 168.6 kB / 0.8142 GB, free: 8.703 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.318e-05/0.6826, allocations: 86.14 kB / 0.8143 GB, free: 8.617 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 3.351e-05/0.6826, allocations: 83.22 kB / 0.8143 GB, free: 8.535 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.525e-05/0.6827, allocations: 105.8 kB / 0.8144 GB, free: 8.422 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=0): time 9.92e-07/0.6827, allocations: 0 / 0.8144 GB, free: 8.422 MB / 0.5919 GB Notification: Performance of matching and sorting (n=0): time 9.722e-05/0.6828, allocations: 53.55 kB / 0.8145 GB, free: 8.375 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.702e-05/0.6829, allocations: 129 kB / 0.8146 GB, free: 8.238 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000344/0.6832, allocations: 332.8 kB / 0.8149 GB, free: 8.129 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 1.582e-05/0.6832, allocations: 29.7 kB / 0.815 GB, free: 8.094 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001202/0.6834, allocations: 160.7 kB / 0.8151 GB, free: 7.973 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 3.747e-06/0.6834, allocations: 2.219 kB / 0.8151 GB, free: 7.973 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.159e-05/0.6834, allocations: 26.95 kB / 0.8151 GB, free: 7.945 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001443/0.6836, allocations: 328.5 kB / 0.8154 GB, free: 7.621 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.171e-05/0.6836, allocations: 13.3 kB / 0.8155 GB, free: 7.613 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.452e-05/0.6836, allocations: 59.22 kB / 0.8155 GB, free: 7.539 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.349e-05/0.6837, allocations: 70.58 kB / 0.8156 GB, free: 7.457 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.725e-06/0.6837, allocations: 0.75 kB / 0.8156 GB, free: 7.457 MB / 0.5919 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001761/0.6839, allocations: 102.1 kB / 0.8157 GB, free: 7.391 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.64e-05/0.6839, allocations: 9 kB / 0.8157 GB, free: 7.387 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.254e-06/0.6839, allocations: 5.781 kB / 0.8157 GB, free: 7.387 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.767e-05/0.684, allocations: 6.125 kB / 0.8157 GB, free: 7.383 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.019e-05/0.6841, allocations: 19.08 kB / 0.8157 GB, free: 7.375 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.222e-06/0.6841, allocations: 2.469 kB / 0.8157 GB, free: 7.375 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.929e-05/0.6841, allocations: 23.41 kB / 0.8157 GB, free: 7.359 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.046e-05/0.6842, allocations: 7.531 kB / 0.8158 GB, free: 7.355 MB / 0.5919 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * 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 (8): * Single equations (assignments): 8 * 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.0001273/0.6843, allocations: 210.5 kB / 0.816 GB, free: 7.152 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.572e-05/0.6844, allocations: 131.8 kB / 0.8161 GB, free: 7.027 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.454e-05/0.6845, allocations: 126.2 kB / 0.8162 GB, free: 6.902 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.526e-05/0.6845, allocations: 181.9 kB / 0.8164 GB, free: 6.719 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.93e-05/0.6846, allocations: 189.8 kB / 0.8166 GB, free: 6.527 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.682e-05/0.6847, allocations: 176.3 kB / 0.8167 GB, free: 6.348 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003111/0.685, allocations: 479.8 kB / 0.8172 GB, free: 5.852 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.524e-05/0.685, allocations: 105 kB / 0.8173 GB, free: 5.742 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.246e-05/0.6851, allocations: 110.4 kB / 0.8174 GB, free: 5.629 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.477e-05/0.6851, allocations: 181.5 kB / 0.8176 GB, free: 5.445 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.602e-05/0.6852, allocations: 180.2 kB / 0.8177 GB, free: 5.262 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.568e-05/0.6853, allocations: 185.6 kB / 0.8179 GB, free: 5.074 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.129e-05/0.6854, allocations: 181.2 kB / 0.8181 GB, free: 4.891 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001607/0.6855, allocations: 333.6 kB / 0.8184 GB, free: 4.555 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001161/0.6856, allocations: 205.6 kB / 0.8186 GB, free: 4.336 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001047/0.6857, allocations: 185.4 kB / 0.8188 GB, free: 4.148 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.997e-05/0.6859, allocations: 102.2 kB / 0.8189 GB, free: 4.043 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.966e-05/0.686, allocations: 185.4 kB / 0.819 GB, free: 3.855 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.856e-05/0.686, allocations: 106.3 kB / 0.8191 GB, free: 3.746 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0002498/0.6863, allocations: 239 kB / 0.8194 GB, free: 3.59 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.1e-07/0.6863, allocations: 1.312 kB / 0.8194 GB, free: 3.59 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0002811/0.6865, allocations: 27.22 kB / 0.8194 GB, free: 3.586 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.0001467/0.6867, allocations: 170.6 kB / 0.8196 GB, free: 3.426 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0001052/0.6868, allocations: 26.02 kB / 0.8196 GB, free: 3.414 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 4.879e-06/0.6868, allocations: 4.062 kB / 0.8196 GB, free: 3.41 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 2.014e-06/0.6868, allocations: 5.094 kB / 0.8196 GB, free: 3.406 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007342/0.6876, allocations: 0.524 MB / 0.8201 GB, free: 2.922 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006167/0.6882, allocations: 429.3 kB / 0.8205 GB, free: 2.574 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000289/0.6885, allocations: 0.7453 MB / 0.8212 GB, free: 1.844 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.344e-05/0.6885, allocations: 19.97 kB / 0.8213 GB, free: 1.836 MB / 0.5919 GB Notification: Performance of SimCode: time 2.01e-07/0.6885, allocations: 0 / 0.8213 GB, free: 1.836 MB / 0.5919 GB Notification: Performance of Templates: time 0.004277/0.6928, allocations: 2.659 MB / 0.8239 GB, free: 480 kB / 0.5919 GB make -j1 -f IDEAS_IDEAS.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2.makefile (rm -f IDEAS_IDEAS.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2.pipe ; mkfifo IDEAS_IDEAS.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2.pipe >> ../files/IDEAS_IDEAS.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2.sim & ./IDEAS_IDEAS.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2.pipe 2>&1)