Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/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) 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 BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Running command: translateModel(BuildingSystems.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2") translateModel(BuildingSystems.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8231/0.8231, allocations: 143.4 MB / 159.2 MB, free: 4.902 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001209/0.001209, allocations: 184.5 kB / 191.9 MB, free: 5.707 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.38/1.38, allocations: 222.9 MB / 447.3 MB, free: 5.875 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001032/0.001032, allocations: 95.22 kB / 0.517 GB, free: 3.734 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001846/0.001846, allocations: 281 kB / 0.5973 GB, free: 49.38 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001396/0.001397, allocations: 79.88 kB / 0.6886 GB, free: 3.836 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3064/0.3079, allocations: 81.28 MB / 0.7679 GB, free: 27.66 MB / 458.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2): time 0.4345/0.7424, allocations: 145.8 MB / 0.9103 GB, free: 1.387 MB / 0.5573 GB Notification: Performance of NFInst.instExpressions: time 0.004186/0.7467, allocations: 4.608 MB / 0.9148 GB, free: 1.301 MB / 0.5573 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001911/0.7469, allocations: 9.438 kB / 0.9148 GB, free: 1.301 MB / 0.5573 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.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/BuildingSystems 2.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/BuildingSystems 2.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/BuildingSystems 2.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.0004406/0.7473, allocations: 130.5 kB / 0.915 GB, free: 1.301 MB / 0.5573 GB Notification: Performance of NFTyping.typeBindings: time 0.0002557/0.7476, allocations: 83.44 kB / 0.9151 GB, free: 1.293 MB / 0.5573 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001231/0.7477, allocations: 54.86 kB / 0.9151 GB, free: 1.293 MB / 0.5573 GB Notification: Performance of NFFlatten.flatten: time 0.000393/0.7481, allocations: 373 kB / 0.9155 GB, free: 1.289 MB / 0.5573 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002373/0.7484, allocations: 138.8 kB / 0.9156 GB, free: 1.266 MB / 0.5573 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001578/0.7485, allocations: 111.3 kB / 0.9157 GB, free: 1.262 MB / 0.5573 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001954/0.7487, allocations: 154.2 kB / 0.9158 GB, free: 1.262 MB / 0.5573 GB Notification: Performance of NFPackage.collectConstants: time 2.827e-05/0.7488, allocations: 13.27 kB / 0.9159 GB, free: 1.262 MB / 0.5573 GB Notification: Performance of NFFlatten.collectFunctions: time 3.61e-05/0.7488, allocations: 12.53 kB / 0.9159 GB, free: 1.262 MB / 0.5573 GB Notification: Performance of NFScalarize.scalarize: time 8.018e-05/0.7489, allocations: 58.02 kB / 0.9159 GB, free: 1.262 MB / 0.5573 GB Notification: Performance of NFVerifyModel.verify: time 0.000109/0.749, allocations: 103.3 kB / 0.916 GB, free: 1.258 MB / 0.5573 GB Notification: Performance of NFConvertDAE.convert: time 0.0002216/0.7492, allocations: 221.1 kB / 0.9162 GB, free: 1.242 MB / 0.5573 GB Notification: Performance of FrontEnd - DAE generated: time 4.258e-06/0.7493, allocations: 2.531 kB / 0.9162 GB, free: 1.242 MB / 0.5573 GB Notification: Performance of FrontEnd: time 1.092e-06/0.7493, allocations: 4 kB / 0.9162 GB, free: 1.238 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 4.809e-06/0.7493, allocations: 0 / 0.9162 GB, free: 1.238 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: 54 * Number of variables: 54 Notification: Performance of Generate backend data structure: time 0.0004587/0.7497, allocations: 486.7 kB / 0.9167 GB, free: 16.83 MB / 0.573 GB Notification: Performance of prepare preOptimizeDAE: time 3.42e-05/0.7498, allocations: 9.828 kB / 0.9167 GB, free: 16.83 MB / 0.573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.206e-05/0.7498, allocations: 26.22 kB / 0.9167 GB, free: 16.82 MB / 0.573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002635/0.7501, allocations: 255 kB / 0.917 GB, free: 16.61 MB / 0.573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.517e-05/0.7501, allocations: 12.94 kB / 0.917 GB, free: 16.6 MB / 0.573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.572e-05/0.7501, allocations: 25.55 kB / 0.917 GB, free: 16.6 MB / 0.573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003334/0.7505, allocations: 312 kB / 0.9173 GB, free: 16.43 MB / 0.573 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.367e-06/0.7505, allocations: 0 / 0.9173 GB, free: 16.43 MB / 0.573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.767e-05/0.7505, allocations: 12.84 kB / 0.9173 GB, free: 16.43 MB / 0.573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.476e-06/0.7505, allocations: 5.5 kB / 0.9173 GB, free: 16.43 MB / 0.573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001565/0.7507, allocations: 122.8 kB / 0.9175 GB, free: 16.43 MB / 0.573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001107/0.7518, allocations: 1.979 MB / 0.9194 GB, free: 14.71 MB / 0.573 GB Notification: Performance of preOpt comSubExp (simulation): time 5.918e-05/0.7519, allocations: 167.4 kB / 0.9195 GB, free: 14.54 MB / 0.573 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.641e-05/0.7519, allocations: 83.05 kB / 0.9196 GB, free: 14.46 MB / 0.573 GB Notification: Performance of preOpt evalFunc (simulation): time 2.719e-05/0.752, allocations: 75.28 kB / 0.9197 GB, free: 14.38 MB / 0.573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.614e-05/0.752, allocations: 111 kB / 0.9198 GB, free: 14.27 MB / 0.573 GB Notification: Performance of pre-optimization done (n=0): time 1.022e-06/0.752, allocations: 4 kB / 0.9198 GB, free: 14.26 MB / 0.573 GB Notification: Performance of matching and sorting (n=0): time 7.979e-05/0.7521, allocations: 57.08 kB / 0.9199 GB, free: 14.21 MB / 0.573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.782e-05/0.7521, allocations: 132.5 kB / 0.92 GB, free: 14.08 MB / 0.573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002923/0.7524, allocations: 325.3 kB / 0.9203 GB, free: 13.98 MB / 0.573 GB Notification: Performance of collectPreVariables (initialization): time 1.45e-05/0.7525, allocations: 25.7 kB / 0.9203 GB, free: 13.95 MB / 0.573 GB Notification: Performance of collectInitialEqns (initialization): time 8.907e-05/0.7526, allocations: 161.2 kB / 0.9205 GB, free: 13.84 MB / 0.573 GB Notification: Performance of collectInitialBindings (initialization): time 3.446e-06/0.7526, allocations: 4.344 kB / 0.9205 GB, free: 13.84 MB / 0.573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.959e-05/0.7526, allocations: 27.27 kB / 0.9205 GB, free: 13.82 MB / 0.573 GB Notification: Performance of setup shared object (initialization): time 9.971e-05/0.7527, allocations: 336.5 kB / 0.9208 GB, free: 13.51 MB / 0.573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.686e-05/0.7527, allocations: 7.938 kB / 0.9208 GB, free: 13.51 MB / 0.573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.159e-05/0.7528, allocations: 52.28 kB / 0.9209 GB, free: 13.45 MB / 0.573 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.003e-05/0.7528, allocations: 77.7 kB / 0.921 GB, free: 13.38 MB / 0.573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.074e-06/0.7528, allocations: 1.094 kB / 0.921 GB, free: 13.38 MB / 0.573 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001482/0.753, allocations: 102.7 kB / 0.9211 GB, free: 13.33 MB / 0.573 GB Notification: Performance of prepare postOptimizeDAE: time 1.216e-05/0.753, allocations: 5.969 kB / 0.9211 GB, free: 13.33 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.482e-06/0.753, allocations: 2.469 kB / 0.9211 GB, free: 13.33 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.696e-05/0.7531, allocations: 6.953 kB / 0.9211 GB, free: 13.33 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.537e-05/0.7531, allocations: 17.77 kB / 0.9211 GB, free: 13.33 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.471e-06/0.7531, allocations: 5.844 kB / 0.9211 GB, free: 13.32 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.259e-05/0.7532, allocations: 27.5 kB / 0.9211 GB, free: 13.31 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.783e-06/0.7532, allocations: 5.469 kB / 0.9211 GB, free: 13.31 MB / 0.573 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.0001111/0.7533, allocations: 215.9 kB / 0.9213 GB, free: 13.12 MB / 0.573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.091e-05/0.7534, allocations: 122.7 kB / 0.9214 GB, free: 13 MB / 0.573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.785e-05/0.7535, allocations: 135.8 kB / 0.9216 GB, free: 12.88 MB / 0.573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.117e-05/0.7535, allocations: 180.2 kB / 0.9217 GB, free: 12.7 MB / 0.573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.787e-05/0.7536, allocations: 185.8 kB / 0.9219 GB, free: 12.51 MB / 0.573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.407e-05/0.7536, allocations: 180.3 kB / 0.9221 GB, free: 12.33 MB / 0.573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002432/0.7539, allocations: 480.5 kB / 0.9226 GB, free: 11.89 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.672e-05/0.7539, allocations: 106.7 kB / 0.9227 GB, free: 11.78 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.974e-05/0.754, allocations: 104.7 kB / 0.9228 GB, free: 11.68 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.227e-05/0.754, allocations: 182.4 kB / 0.9229 GB, free: 11.5 MB / 0.573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.406e-05/0.7541, allocations: 182.4 kB / 0.9231 GB, free: 11.31 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.186e-05/0.7541, allocations: 184.2 kB / 0.9233 GB, free: 11.13 MB / 0.573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.862e-05/0.7542, allocations: 178.5 kB / 0.9235 GB, free: 10.95 MB / 0.573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000325/0.7545, allocations: 0.9077 MB / 0.9243 GB, free: 10.04 MB / 0.573 GB Notification: Performance of postOpt removeConstants (simulation): time 9.844e-05/0.7546, allocations: 211.6 kB / 0.9245 GB, free: 9.828 MB / 0.573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.624e-05/0.7547, allocations: 176.3 kB / 0.9247 GB, free: 9.648 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.838e-05/0.7548, allocations: 110.1 kB / 0.9248 GB, free: 9.539 MB / 0.573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.395e-05/0.7549, allocations: 181.7 kB / 0.925 GB, free: 9.359 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.419e-05/0.7549, allocations: 110.5 kB / 0.9251 GB, free: 9.254 MB / 0.573 GB Notification: Performance of sorting global known variables: time 0.0002396/0.7551, allocations: 234 kB / 0.9253 GB, free: 9.172 MB / 0.573 GB Notification: Performance of sort global known variables: time 1.41e-07/0.7551, allocations: 4 kB / 0.9253 GB, free: 9.168 MB / 0.573 GB Notification: Performance of remove unused functions: time 0.0003979/0.7555, allocations: 28.56 kB / 0.9253 GB, free: 9.164 MB / 0.573 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.0001176/0.7557, allocations: 172.3 kB / 0.9255 GB, free: 9.004 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 7.503e-05/0.7558, allocations: 26.09 kB / 0.9255 GB, free: 9.004 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.7558, allocations: 0 / 0.9255 GB, free: 9.004 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 2.134e-06/0.7558, allocations: 1.203 kB / 0.9255 GB, free: 9.004 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007766/0.7566, allocations: 0.594 MB / 0.9261 GB, free: 8.473 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006246/0.7572, allocations: 441 kB / 0.9265 GB, free: 8.164 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000299/0.7575, allocations: 0.7475 MB / 0.9273 GB, free: 7.461 MB / 0.573 GB Notification: Performance of simCode: alias equations: time 9.169e-05/0.7576, allocations: 27.12 kB / 0.9273 GB, free: 7.453 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.067e-05/0.7576, allocations: 17.72 kB / 0.9273 GB, free: 7.445 MB / 0.573 GB Notification: Performance of SimCode: time 9.62e-07/0.7576, allocations: 0 / 0.9273 GB, free: 7.445 MB / 0.573 GB Notification: Performance of Templates: time 0.004787/0.7624, allocations: 2.309 MB / 0.9296 GB, free: 7.281 MB / 0.573 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2.makefile (rm -f BuildingSystems_BuildingSystems.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2.sim & ./BuildingSystems_BuildingSystems.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2.pipe 2>&1)