Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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-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.InletToAirDryAirCO2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2") translateModel(IDEAS.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_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.001538/0.001538, allocations: 106.3 kB / 16.41 MB, free: 6.488 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.001749/0.001749, allocations: 187 kB / 17.34 MB, free: 5.73 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.416/1.416, 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.7951/0.7951, allocations: 135.1 MB / 426.3 MB, free: 4.125 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001213/0.001213, allocations: 62.12 kB / 0.5863 GB, free: 21.61 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1643/0.1655, allocations: 80.92 MB / 0.6653 GB, free: 5.746 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2): time 0.536/0.7016, allocations: 148 MB / 0.8099 GB, free: 11.83 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.005235/0.7069, allocations: 4.637 MB / 0.8144 GB, free: 11.41 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005026/0.7074, allocations: 12.19 kB / 0.8144 GB, free: 11.41 MB / 0.5919 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.0007519/0.7082, allocations: 160.3 kB / 0.8146 GB, free: 11.27 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.0005451/0.7088, allocations: 89.03 kB / 0.8146 GB, free: 11.22 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002558/0.709, allocations: 69.42 kB / 0.8147 GB, free: 11.16 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.0005487/0.7096, allocations: 302.9 kB / 0.815 GB, free: 10.99 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000368/0.71, allocations: 147 kB / 0.8151 GB, free: 10.91 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000313/0.7103, allocations: 121.3 kB / 0.8153 GB, free: 10.85 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002919/0.7106, allocations: 156.2 kB / 0.8154 GB, free: 10.77 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 4.51e-05/0.7107, allocations: 18.31 kB / 0.8154 GB, free: 10.77 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 6.573e-05/0.7107, allocations: 15.69 kB / 0.8154 GB, free: 10.77 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 9.933e-05/0.7108, allocations: 60.55 kB / 0.8155 GB, free: 10.73 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.000147/0.711, allocations: 105.4 kB / 0.8156 GB, free: 10.66 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.000345/0.7113, allocations: 240.8 kB / 0.8158 GB, free: 10.5 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 5.931e-06/0.7114, allocations: 0 / 0.8158 GB, free: 10.5 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.964e-06/0.7114, allocations: 1.375 kB / 0.8158 GB, free: 10.5 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 2.007e-05/0.7114, allocations: 0 / 0.8158 GB, free: 10.5 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.0006065/0.712, allocations: 489.4 kB / 0.8163 GB, free: 10.03 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.235e-05/0.712, allocations: 14.7 kB / 0.8163 GB, free: 10.03 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.629e-05/0.7121, allocations: 28.94 kB / 0.8163 GB, free: 10.01 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004366/0.7126, allocations: 266.2 kB / 0.8166 GB, free: 9.754 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.905e-05/0.7126, allocations: 13.25 kB / 0.8166 GB, free: 9.75 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.451e-05/0.7126, allocations: 25.69 kB / 0.8166 GB, free: 9.738 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004579/0.7131, allocations: 302.8 kB / 0.8169 GB, free: 9.473 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.67e-05/0.7131, allocations: 6.344 kB / 0.8169 GB, free: 9.469 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.486e-05/0.7132, allocations: 14.12 kB / 0.8169 GB, free: 9.457 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.295e-05/0.7132, allocations: 7.781 kB / 0.8169 GB, free: 9.457 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001962/0.7134, allocations: 120.1 kB / 0.8171 GB, free: 9.398 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001478/0.7149, allocations: 1.966 MB / 0.819 GB, free: 7.465 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 9.417e-05/0.715, allocations: 177.1 kB / 0.8191 GB, free: 7.281 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.157e-05/0.715, allocations: 83.14 kB / 0.8192 GB, free: 7.199 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 2.907e-05/0.715, allocations: 75.28 kB / 0.8193 GB, free: 7.125 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.381e-05/0.7151, allocations: 109.8 kB / 0.8194 GB, free: 7.008 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=0): time 1.002e-06/0.7151, allocations: 0 / 0.8194 GB, free: 7.008 MB / 0.5919 GB Notification: Performance of matching and sorting (n=0): time 0.0001084/0.7152, allocations: 53.61 kB / 0.8195 GB, free: 6.961 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.961e-05/0.7153, allocations: 130.7 kB / 0.8196 GB, free: 6.82 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00035/0.7157, allocations: 329.6 kB / 0.8199 GB, free: 6.602 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 1.541e-05/0.7157, allocations: 28.2 kB / 0.8199 GB, free: 6.57 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001208/0.7158, allocations: 162.5 kB / 0.8201 GB, free: 6.422 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 5.229e-06/0.7158, allocations: 3.938 kB / 0.8201 GB, free: 6.418 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.125e-05/0.7159, allocations: 33.02 kB / 0.8201 GB, free: 6.387 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001362/0.716, allocations: 335.5 kB / 0.8204 GB, free: 6.055 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.03e-05/0.716, allocations: 5.312 kB / 0.8204 GB, free: 6.055 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.597e-05/0.7161, allocations: 58.52 kB / 0.8205 GB, free: 5.98 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.13e-05/0.7162, allocations: 71.69 kB / 0.8206 GB, free: 5.898 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.124e-06/0.7162, allocations: 0 / 0.8206 GB, free: 5.898 MB / 0.5919 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001833/0.7164, allocations: 97.53 kB / 0.8207 GB, free: 5.836 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.819e-05/0.7164, allocations: 15.42 kB / 0.8207 GB, free: 5.828 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.48e-06/0.7164, allocations: 0 / 0.8207 GB, free: 5.828 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.614e-05/0.7164, allocations: 2.094 kB / 0.8207 GB, free: 5.828 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.654e-05/0.7165, allocations: 16.94 kB / 0.8207 GB, free: 5.824 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.548e-06/0.7165, allocations: 1.812 kB / 0.8207 GB, free: 5.824 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001023/0.7166, allocations: 31.84 kB / 0.8207 GB, free: 5.801 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.985e-06/0.7167, allocations: 2.469 kB / 0.8207 GB, free: 5.801 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.0001634/0.7168, allocations: 216 kB / 0.8209 GB, free: 5.594 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.843e-05/0.7169, allocations: 130.3 kB / 0.8211 GB, free: 5.469 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.5e-05/0.717, allocations: 128.3 kB / 0.8212 GB, free: 5.344 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.36e-05/0.7171, allocations: 184.2 kB / 0.8213 GB, free: 5.156 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.531e-05/0.7172, allocations: 179.6 kB / 0.8215 GB, free: 4.977 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.892e-05/0.7172, allocations: 186.5 kB / 0.8217 GB, free: 4.789 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003284/0.7176, allocations: 483.6 kB / 0.8222 GB, free: 4.289 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.206e-05/0.7176, allocations: 101 kB / 0.8223 GB, free: 4.184 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.639e-05/0.7177, allocations: 104.9 kB / 0.8224 GB, free: 4.074 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.74e-05/0.7177, allocations: 182.8 kB / 0.8225 GB, free: 3.891 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.277e-05/0.7178, allocations: 184.1 kB / 0.8227 GB, free: 3.703 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.169e-05/0.7179, allocations: 182.7 kB / 0.8229 GB, free: 3.52 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.837e-05/0.718, allocations: 180.3 kB / 0.8231 GB, free: 3.336 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001987/0.7182, allocations: 331.3 kB / 0.8234 GB, free: 3.004 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001145/0.7183, allocations: 208.5 kB / 0.8236 GB, free: 2.781 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001019/0.7184, allocations: 180.2 kB / 0.8237 GB, free: 2.598 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000121/0.7185, allocations: 107.5 kB / 0.8238 GB, free: 2.488 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.368e-05/0.7186, allocations: 184.2 kB / 0.824 GB, free: 2.301 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.394e-05/0.7186, allocations: 107.9 kB / 0.8241 GB, free: 2.191 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0002303/0.7189, allocations: 235.6 kB / 0.8243 GB, free: 2.043 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.573e-06/0.7189, allocations: 0 / 0.8243 GB, free: 2.043 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0002901/0.7192, allocations: 30.28 kB / 0.8244 GB, free: 2.035 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.0001304/0.7193, allocations: 177.8 kB / 0.8245 GB, free: 1.871 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 9.396e-05/0.7194, allocations: 28.27 kB / 0.8246 GB, free: 1.855 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 2.425e-06/0.7194, allocations: 0 / 0.8246 GB, free: 1.855 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 1.343e-06/0.7194, allocations: 2.062 kB / 0.8246 GB, free: 1.855 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007217/0.7201, allocations: 0.5144 MB / 0.8251 GB, free: 1.371 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005982/0.7208, allocations: 427.8 kB / 0.8255 GB, free: 1.023 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003341/0.7211, allocations: 0.741 MB / 0.8262 GB, free: 304 kB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.794e-05/0.7212, allocations: 20.06 kB / 0.8262 GB, free: 296 kB / 0.5919 GB Notification: Performance of SimCode: time 2.11e-07/0.7212, allocations: 0 / 0.8262 GB, free: 296 kB / 0.5919 GB Notification: Performance of Templates: time 0.005037/0.7262, allocations: 2.627 MB / 0.8288 GB, free: 14.94 MB / 0.6075 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2.makefile (rm -f IDEAS_dev_IDEAS.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2.sim & ./IDEAS_dev_IDEAS.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2.pipe 2>&1)