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: translateModel(IDEAS.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2") translateModel(IDEAS.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_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.001105/0.001111, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001118/0.001118, allocations: 198.3 kB / 16.54 MB, free: 6.672 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.272/1.272, allocations: 222.9 MB / 240.2 MB, free: 4.398 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7091/0.7091, allocations: 132.2 MB / 422.6 MB, free: 1.754 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001391/0.001391, allocations: 55.44 kB / 0.5018 GB, free: 3.844 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.439/0.4404, allocations: 80.2 MB / 0.5801 GB, free: 4.547 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2): time 0.213/0.6535, allocations: 174 MB / 0.75 GB, free: 2.871 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.009364/0.6628, allocations: 9.522 MB / 0.7593 GB, free: 9.312 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004177/0.6633, allocations: 7.938 kB / 0.7594 GB, free: 9.305 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.0006232/0.664, allocations: 190.7 kB / 0.7595 GB, free: 9.117 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.0002733/0.6643, allocations: 91.31 kB / 0.7596 GB, free: 9.027 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001921/0.6645, allocations: 75.84 kB / 0.7597 GB, free: 8.953 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.0003811/0.6649, allocations: 322.5 kB / 0.76 GB, free: 8.637 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000349/0.6652, allocations: 208.8 kB / 0.7602 GB, free: 8.434 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002926/0.6655, allocations: 167.4 kB / 0.7604 GB, free: 8.27 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001392/0.6657, allocations: 127.4 kB / 0.7605 GB, free: 8.145 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 3.13e-05/0.6657, allocations: 20 kB / 0.7605 GB, free: 8.125 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 3.55e-05/0.6657, allocations: 23.94 kB / 0.7605 GB, free: 8.102 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 7.852e-05/0.6658, allocations: 75.81 kB / 0.7606 GB, free: 8.027 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0001106/0.6659, allocations: 127.3 kB / 0.7607 GB, free: 7.902 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.0002523/0.6662, allocations: 271.1 kB / 0.761 GB, free: 7.637 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 4.008e-06/0.6662, allocations: 4 kB / 0.761 GB, free: 7.633 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.132e-06/0.6662, allocations: 0 / 0.761 GB, free: 7.633 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 1.029e-05/0.6662, allocations: 0 / 0.761 GB, free: 7.633 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: 66 * Number of variables: 66 Notification: Performance of Generate backend data structure: time 0.0005391/0.6668, allocations: 0.5106 MB / 0.7615 GB, free: 7.074 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.253e-05/0.6668, allocations: 15.97 kB / 0.7615 GB, free: 7.059 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.529e-05/0.6669, allocations: 31.66 kB / 0.7615 GB, free: 7.027 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002645/0.6672, allocations: 273.9 kB / 0.7618 GB, free: 6.723 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.781e-05/0.6672, allocations: 24.5 kB / 0.7618 GB, free: 6.699 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.052e-05/0.6672, allocations: 24 kB / 0.7618 GB, free: 6.676 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004363/0.6677, allocations: 316 kB / 0.7621 GB, free: 6.324 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.029e-05/0.6677, allocations: 0 / 0.7621 GB, free: 6.324 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.459e-05/0.6677, allocations: 15.94 kB / 0.7621 GB, free: 6.309 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.116e-05/0.6677, allocations: 11.94 kB / 0.7622 GB, free: 6.297 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002007/0.6679, allocations: 147.7 kB / 0.7623 GB, free: 6.152 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001449/0.6694, allocations: 1.816 MB / 0.7641 GB, free: 4.238 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 7.688e-05/0.6695, allocations: 169.1 kB / 0.7642 GB, free: 4.062 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.803e-05/0.6695, allocations: 80.14 kB / 0.7643 GB, free: 3.98 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 2.687e-05/0.6696, allocations: 79.3 kB / 0.7644 GB, free: 3.902 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.496e-05/0.6696, allocations: 113.8 kB / 0.7645 GB, free: 3.781 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=0): time 1.412e-06/0.6696, allocations: 0 / 0.7645 GB, free: 3.781 MB / 0.5919 GB Notification: Performance of matching and sorting (n=0): time 0.0001164/0.6697, allocations: 61.27 kB / 0.7646 GB, free: 3.715 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.017e-05/0.6698, allocations: 126.7 kB / 0.7647 GB, free: 3.578 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004469/0.6703, allocations: 373.7 kB / 0.765 GB, free: 3.211 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 1.134e-05/0.6703, allocations: 25.7 kB / 0.7651 GB, free: 3.18 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001216/0.6704, allocations: 167.8 kB / 0.7652 GB, free: 3.012 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 2.144e-06/0.6704, allocations: 0 / 0.7652 GB, free: 3.012 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.526e-05/0.6705, allocations: 21.7 kB / 0.7652 GB, free: 2.984 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001306/0.6706, allocations: 342.8 kB / 0.7656 GB, free: 2.641 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.437e-05/0.6706, allocations: 4 kB / 0.7656 GB, free: 2.637 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.625e-05/0.6707, allocations: 32.41 kB / 0.7656 GB, free: 2.59 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.251e-05/0.6707, allocations: 52.16 kB / 0.7656 GB, free: 2.523 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.889e-06/0.6707, allocations: 3.938 kB / 0.7656 GB, free: 2.52 MB / 0.5919 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.000139/0.6709, allocations: 89.28 kB / 0.7657 GB, free: 2.426 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.948e-05/0.6709, allocations: 10.5 kB / 0.7657 GB, free: 2.418 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.801e-06/0.6709, allocations: 0 / 0.7657 GB, free: 2.418 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.409e-05/0.6709, allocations: 160 / 0.7657 GB, free: 2.418 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.877e-05/0.671, allocations: 16.06 kB / 0.7658 GB, free: 2.402 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.664e-06/0.671, allocations: 7.984 kB / 0.7658 GB, free: 2.395 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.041e-05/0.6711, allocations: 27.59 kB / 0.7658 GB, free: 2.367 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.712e-05/0.6711, allocations: 4 kB / 0.7658 GB, free: 2.363 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.0001206/0.6712, allocations: 214.6 kB / 0.766 GB, free: 2.145 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.621e-05/0.6713, allocations: 128.7 kB / 0.7661 GB, free: 2.012 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000113/0.6714, allocations: 134.9 kB / 0.7663 GB, free: 1.871 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.768e-05/0.6715, allocations: 180.3 kB / 0.7664 GB, free: 1.688 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.142e-05/0.6716, allocations: 184.2 kB / 0.7666 GB, free: 1.5 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.775e-05/0.6716, allocations: 176.3 kB / 0.7668 GB, free: 1.32 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003503/0.672, allocations: 489 kB / 0.7672 GB, free: 0.7852 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.107e-05/0.6721, allocations: 112.9 kB / 0.7673 GB, free: 0.668 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.594e-05/0.6721, allocations: 109 kB / 0.7674 GB, free: 0.5547 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001261/0.6722, allocations: 180.2 kB / 0.7676 GB, free: 380 kB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.024e-05/0.6723, allocations: 176.3 kB / 0.7678 GB, free: 196 kB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.364e-05/0.6723, allocations: 184.2 kB / 0.768 GB, free: 4 kB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.996e-05/0.6724, allocations: 184.2 kB / 0.7681 GB, free: 15.82 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002223/0.6727, allocations: 343.3 kB / 0.7685 GB, free: 15.46 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000112/0.6728, allocations: 205.8 kB / 0.7687 GB, free: 15.23 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.085e-05/0.6729, allocations: 176.3 kB / 0.7688 GB, free: 15.05 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00011/0.673, allocations: 108.9 kB / 0.7689 GB, free: 14.94 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.236e-05/0.6731, allocations: 180.6 kB / 0.7691 GB, free: 14.75 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.219e-05/0.6731, allocations: 112.9 kB / 0.7692 GB, free: 14.64 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0002433/0.6733, allocations: 267.2 kB / 0.7695 GB, free: 14.38 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.5e-07/0.6734, allocations: 0 / 0.7695 GB, free: 14.38 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002701/0.6736, allocations: 31.94 kB / 0.7695 GB, free: 14.34 MB / 0.6075 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.0001282/0.6738, allocations: 170.5 kB / 0.7697 GB, free: 14.16 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 7.28e-05/0.6738, allocations: 15.97 kB / 0.7697 GB, free: 14.15 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 4.469e-06/0.6739, allocations: 4.312 kB / 0.7697 GB, free: 14.14 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 4.188e-06/0.6739, allocations: 4 kB / 0.7697 GB, free: 14.14 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009542/0.6748, allocations: 0.5573 MB / 0.7702 GB, free: 13.58 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000715/0.6755, allocations: 453.2 kB / 0.7707 GB, free: 13.11 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003056/0.6759, allocations: 0.748 MB / 0.7714 GB, free: 12.34 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 9.353e-05/0.676, allocations: 34.91 kB / 0.7714 GB, free: 12.3 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.463e-05/0.676, allocations: 23.42 kB / 0.7714 GB, free: 12.29 MB / 0.6075 GB Notification: Performance of SimCode: time 5.31e-07/0.676, allocations: 4 kB / 0.7715 GB, free: 12.28 MB / 0.6075 GB Notification: Performance of Templates: time 0.006286/0.6823, allocations: 3.141 MB / 0.7745 GB, free: 9.199 MB / 0.6075 GB make -j1 -f IDEAS_IDEAS.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2.makefile (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 & ./IDEAS_IDEAS.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2.pipe 2>&1)