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/Complex 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) 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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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) 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/Complex 4.0.0+maint.om/package.mo): time 0.001312/0.001312, allocations: 182.8 kB / 15.98 MB, free: 5.77 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7052/0.7052, allocations: 133.3 MB / 150.1 MB, free: 11.16 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.402/1.402, allocations: 222.9 MB / 404.7 MB, free: 6.121 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009599/0.0009598, allocations: 99.5 kB / 485.9 MB, free: 7.273 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001009/0.001009, allocations: 55.92 kB / 0.5636 GB, free: 69.97 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1232/0.1242, allocations: 80.42 MB / 0.6421 GB, free: 5.48 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2): time 0.4377/0.5619, allocations: 171.9 MB / 0.81 GB, free: 5.402 MB / 0.5417 GB Notification: Performance of NFInst.instExpressions: time 0.009931/0.5719, allocations: 9.508 MB / 0.8193 GB, free: 11.86 MB / 0.5573 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003217/0.5723, allocations: 11.94 kB / 0.8193 GB, free: 11.85 MB / 0.5573 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.0005739/0.5728, allocations: 155.8 kB / 0.8194 GB, free: 11.7 MB / 0.5573 GB Notification: Performance of NFTyping.typeBindings: time 0.000245/0.5731, allocations: 83.48 kB / 0.8195 GB, free: 11.61 MB / 0.5573 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001651/0.5733, allocations: 51.95 kB / 0.8195 GB, free: 11.56 MB / 0.5573 GB Notification: Performance of NFFlatten.flatten: time 0.0004035/0.5737, allocations: 394.3 kB / 0.8199 GB, free: 11.18 MB / 0.5573 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003462/0.574, allocations: 201.8 kB / 0.8201 GB, free: 10.98 MB / 0.5573 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002993/0.5743, allocations: 155.4 kB / 0.8203 GB, free: 10.83 MB / 0.5573 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001458/0.5745, allocations: 123.4 kB / 0.8204 GB, free: 10.71 MB / 0.5573 GB Notification: Performance of NFPackage.collectConstants: time 2.713e-05/0.5745, allocations: 16 kB / 0.8204 GB, free: 10.69 MB / 0.5573 GB Notification: Performance of NFFlatten.collectFunctions: time 3.631e-05/0.5746, allocations: 16 kB / 0.8204 GB, free: 10.68 MB / 0.5573 GB Notification: Performance of NFScalarize.scalarize: time 9.206e-05/0.5747, allocations: 79.75 kB / 0.8205 GB, free: 10.6 MB / 0.5573 GB Notification: Performance of NFVerifyModel.verify: time 0.0001083/0.5748, allocations: 123.4 kB / 0.8206 GB, free: 10.48 MB / 0.5573 GB Notification: Performance of NFConvertDAE.convert: time 0.000244/0.575, allocations: 271 kB / 0.8209 GB, free: 10.21 MB / 0.5573 GB Notification: Performance of FrontEnd - DAE generated: time 3.937e-06/0.5751, allocations: 0 / 0.8209 GB, free: 10.21 MB / 0.5573 GB Notification: Performance of FrontEnd: time 8.42e-07/0.5751, allocations: 0 / 0.8209 GB, free: 10.21 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 5.16e-06/0.5751, allocations: 0 / 0.8209 GB, free: 10.21 MB / 0.5573 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.0005512/0.5756, allocations: 0.5152 MB / 0.8214 GB, free: 9.648 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 4.16e-05/0.5757, allocations: 8.031 kB / 0.8214 GB, free: 9.641 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.563e-05/0.5757, allocations: 31.66 kB / 0.8214 GB, free: 9.609 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002851/0.576, allocations: 262.5 kB / 0.8216 GB, free: 9.312 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.136e-05/0.5761, allocations: 28.56 kB / 0.8217 GB, free: 9.285 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.171e-05/0.5761, allocations: 24 kB / 0.8217 GB, free: 9.262 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000444/0.5766, allocations: 323.9 kB / 0.822 GB, free: 8.902 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.869e-06/0.5766, allocations: 0 / 0.822 GB, free: 8.902 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.224e-05/0.5766, allocations: 12 kB / 0.822 GB, free: 8.891 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.256e-05/0.5766, allocations: 11.94 kB / 0.822 GB, free: 8.879 MB / 0.5573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000216/0.5768, allocations: 143.7 kB / 0.8222 GB, free: 8.738 MB / 0.5573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001271/0.5781, allocations: 1.812 MB / 0.8239 GB, free: 6.828 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 7.513e-05/0.5782, allocations: 173.1 kB / 0.8241 GB, free: 6.648 MB / 0.5573 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.574e-05/0.5782, allocations: 88.02 kB / 0.8242 GB, free: 6.559 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 2.733e-05/0.5783, allocations: 79.27 kB / 0.8243 GB, free: 6.48 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.912e-05/0.5783, allocations: 109.8 kB / 0.8244 GB, free: 6.363 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=0): time 1.393e-06/0.5783, allocations: 3.938 kB / 0.8244 GB, free: 6.359 MB / 0.5573 GB Notification: Performance of matching and sorting (n=0): time 0.0001411/0.5785, allocations: 53.33 kB / 0.8244 GB, free: 6.301 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.364e-05/0.5786, allocations: 134.7 kB / 0.8245 GB, free: 6.156 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003841/0.5789, allocations: 373.7 kB / 0.8249 GB, free: 5.785 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 1.177e-05/0.579, allocations: 25.7 kB / 0.8249 GB, free: 5.754 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001168/0.5791, allocations: 163.8 kB / 0.8251 GB, free: 5.59 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 3.327e-06/0.5791, allocations: 4 kB / 0.8251 GB, free: 5.586 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.087e-05/0.5791, allocations: 17.72 kB / 0.8251 GB, free: 5.562 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 0.0001154/0.5793, allocations: 334.8 kB / 0.8254 GB, free: 5.227 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.816e-05/0.5793, allocations: 19.92 kB / 0.8254 GB, free: 5.207 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.717e-05/0.5793, allocations: 32.3 kB / 0.8255 GB, free: 5.16 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.038e-05/0.5794, allocations: 48.23 kB / 0.8255 GB, free: 5.098 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.154e-06/0.5794, allocations: 0 / 0.8255 GB, free: 5.098 MB / 0.5573 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001386/0.5795, allocations: 89.22 kB / 0.8256 GB, free: 5.004 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 1.392e-05/0.5795, allocations: 8 kB / 0.8256 GB, free: 4.996 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.568e-06/0.5796, allocations: 0 / 0.8256 GB, free: 4.996 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.215e-05/0.5796, allocations: 3.984 kB / 0.8256 GB, free: 4.992 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.575e-05/0.5796, allocations: 8 kB / 0.8256 GB, free: 4.984 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.863e-06/0.5796, allocations: 4 kB / 0.8256 GB, free: 4.98 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.091e-05/0.5797, allocations: 31.75 kB / 0.8257 GB, free: 4.949 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.648e-06/0.5797, allocations: 0 / 0.8257 GB, free: 4.949 MB / 0.5573 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.0001296/0.5799, allocations: 213.1 kB / 0.8259 GB, free: 4.73 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.22e-05/0.58, allocations: 132.7 kB / 0.826 GB, free: 4.594 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.351e-05/0.58, allocations: 130.9 kB / 0.8261 GB, free: 4.457 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.996e-05/0.5801, allocations: 188.2 kB / 0.8263 GB, free: 4.266 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.654e-05/0.5802, allocations: 180.4 kB / 0.8265 GB, free: 4.082 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.541e-05/0.5802, allocations: 180.3 kB / 0.8266 GB, free: 3.898 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002857/0.5805, allocations: 497 kB / 0.8271 GB, free: 3.355 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.966e-05/0.5806, allocations: 101 kB / 0.8272 GB, free: 3.25 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.353e-05/0.5806, allocations: 104.9 kB / 0.8273 GB, free: 3.141 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.841e-05/0.5807, allocations: 184.2 kB / 0.8275 GB, free: 2.953 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.912e-05/0.5807, allocations: 184.3 kB / 0.8277 GB, free: 2.766 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.768e-05/0.5808, allocations: 180.2 kB / 0.8278 GB, free: 2.582 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.676e-05/0.5809, allocations: 176.3 kB / 0.828 GB, free: 2.402 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004046/0.5813, allocations: 0.9308 MB / 0.8289 GB, free: 1.406 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001042/0.5814, allocations: 209.8 kB / 0.8291 GB, free: 1.176 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.65e-05/0.5815, allocations: 176.3 kB / 0.8293 GB, free: 0.9961 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.924e-05/0.5816, allocations: 104.9 kB / 0.8294 GB, free: 0.8867 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.004e-05/0.5816, allocations: 180.2 kB / 0.8295 GB, free: 0.7031 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.179e-05/0.5817, allocations: 108.9 kB / 0.8297 GB, free: 0.5898 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.0002483/0.5819, allocations: 279.1 kB / 0.8299 GB, free: 324 kB / 0.5573 GB Notification: Performance of sort global known variables: time 1.2e-07/0.5819, allocations: 0 / 0.8299 GB, free: 324 kB / 0.5573 GB Notification: Performance of remove unused functions: time 0.0003473/0.5823, allocations: 39.78 kB / 0.83 GB, free: 284 kB / 0.5573 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.0001018/0.5824, allocations: 170.5 kB / 0.8301 GB, free: 104 kB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.0001096/0.5825, allocations: 19.92 kB / 0.8301 GB, free: 84 kB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 1.863e-06/0.5825, allocations: 0 / 0.8301 GB, free: 84 kB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 1.173e-06/0.5825, allocations: 320 / 0.8301 GB, free: 84 kB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008683/0.5834, allocations: 0.6185 MB / 0.8307 GB, free: 15.46 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005843/0.584, allocations: 488 kB / 0.8312 GB, free: 14.96 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003051/0.5843, allocations: 0.7599 MB / 0.832 GB, free: 14.17 MB / 0.573 GB Notification: Performance of simCode: alias equations: time 9.71e-05/0.5844, allocations: 30.97 kB / 0.832 GB, free: 14.14 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.471e-05/0.5845, allocations: 19.44 kB / 0.832 GB, free: 14.12 MB / 0.573 GB Notification: Performance of SimCode: time 2.31e-07/0.5845, allocations: 0 / 0.832 GB, free: 14.12 MB / 0.573 GB Notification: Performance of Templates: time 0.006644/0.5911, allocations: 3.099 MB / 0.835 GB, free: 11.07 MB / 0.573 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 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2.pipe 2>&1)