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.008597/0.008597, allocations: 99.72 kB / 15.73 MB, free: 6.484 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.001904/0.001904, allocations: 188.5 kB / 16.67 MB, free: 6.367 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.484/1.484, allocations: 222.9 MB / 240.4 MB, free: 4.316 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.007/1.007, allocations: 135.1 MB / 425.7 MB, free: 12.07 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001446/0.001446, allocations: 59.91 kB / 0.5857 GB, free: 3.32 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5235/0.525, allocations: 80.92 MB / 0.6647 GB, free: 7.602 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2): time 0.1936/0.7186, allocations: 148 MB / 0.8092 GB, free: 13.1 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.005023/0.7237, allocations: 4.654 MB / 0.8138 GB, free: 8.434 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002697/0.724, allocations: 7.938 kB / 0.8138 GB, free: 8.426 MB / 0.6387 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.00052/0.7246, allocations: 161.3 kB / 0.8139 GB, free: 8.27 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.0003295/0.7249, allocations: 99.36 kB / 0.814 GB, free: 8.172 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001673/0.7251, allocations: 63.86 kB / 0.8141 GB, free: 8.109 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.0004009/0.7255, allocations: 306.9 kB / 0.8144 GB, free: 7.809 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003012/0.7258, allocations: 143.6 kB / 0.8145 GB, free: 7.664 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001909/0.726, allocations: 111.6 kB / 0.8146 GB, free: 7.555 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002146/0.7262, allocations: 155.4 kB / 0.8148 GB, free: 7.402 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 2.932e-05/0.7263, allocations: 19.94 kB / 0.8148 GB, free: 7.383 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 3.204e-05/0.7263, allocations: 16 kB / 0.8148 GB, free: 7.367 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 9.332e-05/0.7264, allocations: 63.83 kB / 0.8148 GB, free: 7.305 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.0001018/0.7265, allocations: 95.48 kB / 0.8149 GB, free: 7.211 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.0002883/0.7268, allocations: 236.3 kB / 0.8152 GB, free: 6.984 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 6.673e-06/0.7268, allocations: 4 kB / 0.8152 GB, free: 6.98 MB / 0.6387 GB Notification: Performance of FrontEnd: time 2.033e-06/0.7268, allocations: 0 / 0.8152 GB, free: 6.98 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 7.023e-06/0.7269, allocations: 0 / 0.8152 GB, free: 6.98 MB / 0.6387 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.0005621/0.7274, allocations: 0.491 MB / 0.8156 GB, free: 6.441 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 4.908e-05/0.7275, allocations: 16.03 kB / 0.8157 GB, free: 6.426 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.19e-05/0.7275, allocations: 28.73 kB / 0.8157 GB, free: 6.398 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004051/0.728, allocations: 271.6 kB / 0.816 GB, free: 6.098 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.025e-05/0.728, allocations: 16.56 kB / 0.816 GB, free: 6.082 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.187e-05/0.728, allocations: 27.94 kB / 0.816 GB, free: 6.055 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000445/0.7285, allocations: 297 kB / 0.8163 GB, free: 5.707 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.46e-05/0.7285, allocations: 3.938 kB / 0.8163 GB, free: 5.703 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.694e-05/0.7285, allocations: 12 kB / 0.8163 GB, free: 5.691 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.027e-05/0.7285, allocations: 8 kB / 0.8163 GB, free: 5.684 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001805/0.7287, allocations: 119.8 kB / 0.8164 GB, free: 5.566 MB / 0.6387 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001364/0.7301, allocations: 1.973 MB / 0.8183 GB, free: 3.484 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 8.784e-05/0.7302, allocations: 181 kB / 0.8185 GB, free: 3.297 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.877e-05/0.7302, allocations: 84.14 kB / 0.8186 GB, free: 3.211 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 2.821e-05/0.7303, allocations: 75.28 kB / 0.8187 GB, free: 3.137 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.288e-05/0.7303, allocations: 113.8 kB / 0.8188 GB, free: 3.016 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=0): time 1.162e-06/0.7303, allocations: 0 / 0.8188 GB, free: 3.016 MB / 0.6387 GB Notification: Performance of matching and sorting (n=0): time 8.176e-05/0.7304, allocations: 53.55 kB / 0.8188 GB, free: 2.957 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.848e-05/0.7305, allocations: 130.7 kB / 0.8189 GB, free: 2.816 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003375/0.7308, allocations: 324.5 kB / 0.8193 GB, free: 2.5 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 1.232e-05/0.7309, allocations: 33.64 kB / 0.8193 GB, free: 2.461 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001274/0.731, allocations: 167.8 kB / 0.8195 GB, free: 2.293 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 3.667e-06/0.731, allocations: 0 / 0.8195 GB, free: 2.293 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.703e-05/0.731, allocations: 25.67 kB / 0.8195 GB, free: 2.262 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.0001355/0.7312, allocations: 334.8 kB / 0.8198 GB, free: 1.926 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.746e-05/0.7312, allocations: 4 kB / 0.8198 GB, free: 1.922 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.02e-05/0.7313, allocations: 58.86 kB / 0.8199 GB, free: 1.84 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.29e-05/0.7314, allocations: 70.75 kB / 0.8199 GB, free: 1.746 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.884e-06/0.7314, allocations: 4 kB / 0.8199 GB, free: 1.742 MB / 0.6387 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002005/0.7316, allocations: 109.5 kB / 0.82 GB, free: 1.629 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 1.423e-05/0.7316, allocations: 4 kB / 0.82 GB, free: 1.625 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.2e-06/0.7316, allocations: 0 / 0.82 GB, free: 1.625 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.8e-05/0.7316, allocations: 4 kB / 0.82 GB, free: 1.621 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.439e-05/0.7317, allocations: 15.94 kB / 0.8201 GB, free: 1.605 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.397e-06/0.7317, allocations: 4 kB / 0.8201 GB, free: 1.602 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.299e-05/0.7318, allocations: 27.78 kB / 0.8201 GB, free: 1.574 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.784e-06/0.7318, allocations: 4 kB / 0.8201 GB, free: 1.57 MB / 0.6387 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.0001367/0.732, allocations: 221.1 kB / 0.8203 GB, free: 1.344 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.018e-05/0.732, allocations: 132.7 kB / 0.8204 GB, free: 1.207 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.75e-05/0.7321, allocations: 129.8 kB / 0.8205 GB, free: 1.07 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.883e-05/0.7322, allocations: 180.2 kB / 0.8207 GB, free: 0.8867 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.12e-05/0.7323, allocations: 184.2 kB / 0.8209 GB, free: 0.6992 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.326e-05/0.7323, allocations: 184.2 kB / 0.8211 GB, free: 0.5117 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003184/0.7326, allocations: 481.1 kB / 0.8215 GB, free: 15.98 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.448e-05/0.7327, allocations: 101 kB / 0.8216 GB, free: 15.88 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.147e-05/0.7327, allocations: 108.9 kB / 0.8217 GB, free: 15.77 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.124e-05/0.7328, allocations: 180.3 kB / 0.8219 GB, free: 15.58 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.431e-05/0.7329, allocations: 188.1 kB / 0.8221 GB, free: 15.39 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.529e-05/0.733, allocations: 180.3 kB / 0.8223 GB, free: 15.21 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.604e-05/0.733, allocations: 188.3 kB / 0.8224 GB, free: 15.02 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001532/0.7332, allocations: 319.6 kB / 0.8227 GB, free: 14.68 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001204/0.7333, allocations: 213.8 kB / 0.8229 GB, free: 14.45 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.359e-05/0.7334, allocations: 176.3 kB / 0.8231 GB, free: 14.27 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000105/0.7335, allocations: 113 kB / 0.8232 GB, free: 14.15 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.27e-05/0.7336, allocations: 184.5 kB / 0.8234 GB, free: 13.96 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.94e-05/0.7337, allocations: 101 kB / 0.8235 GB, free: 13.86 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.000278/0.734, allocations: 235 kB / 0.8237 GB, free: 13.62 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.1e-07/0.734, allocations: 0 / 0.8237 GB, free: 13.62 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0002819/0.7343, allocations: 24 kB / 0.8237 GB, free: 13.6 MB / 0.6544 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.0001323/0.7344, allocations: 175.9 kB / 0.8239 GB, free: 13.42 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.000107/0.7345, allocations: 31.86 kB / 0.8239 GB, free: 13.39 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 2.365e-06/0.7345, allocations: 0 / 0.8239 GB, free: 13.39 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 1.523e-06/0.7345, allocations: 0 / 0.8239 GB, free: 13.39 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007228/0.7352, allocations: 0.531 MB / 0.8245 GB, free: 12.86 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005887/0.7358, allocations: 404 kB / 0.8248 GB, free: 12.44 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003338/0.7362, allocations: 0.744 MB / 0.8256 GB, free: 11.67 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 8.048e-05/0.7363, allocations: 22.3 kB / 0.8256 GB, free: 11.64 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.583e-05/0.7363, allocations: 19.44 kB / 0.8256 GB, free: 11.62 MB / 0.6544 GB Notification: Performance of SimCode: time 2.004e-06/0.7363, allocations: 0 / 0.8256 GB, free: 11.62 MB / 0.6544 GB Notification: Performance of Templates: time 0.005455/0.7418, allocations: 2.355 MB / 0.8279 GB, free: 9.309 MB / 0.6544 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)