Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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(Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2") translateModel(Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.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.001094/0.001093, allocations: 103.1 kB / 16.27 MB, free: 5.988 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.001054/0.001054, allocations: 188.9 kB / 17.2 MB, free: 5.613 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.479/1.479, allocations: 205.1 MB / 223.1 MB, free: 12.28 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.731/1.731, allocations: 292.3 MB / 0.5495 GB, free: 17.5 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001581/0.001581, allocations: 78.38 kB / 0.6722 GB, free: 6.605 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2494/0.251, allocations: 114.6 MB / 0.784 GB, free: 3.934 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2): time 0.6453/0.8964, allocations: 148 MB / 0.9286 GB, free: 6.145 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.005357/0.9018, allocations: 4.644 MB / 0.9331 GB, free: 1.945 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004351/0.9023, allocations: 8 kB / 0.9331 GB, free: 1.938 MB / 0.7169 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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/Buildings 8.1.4-maint.8.1.x/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/Buildings 8.1.4-maint.8.1.x/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/Buildings 8.1.4-maint.8.1.x/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.0006158/0.9029, allocations: 166.8 kB / 0.9333 GB, free: 1.773 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0003398/0.9033, allocations: 83.45 kB / 0.9333 GB, free: 1.691 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001601/0.9035, allocations: 67.91 kB / 0.9334 GB, free: 1.625 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0003512/0.9038, allocations: 306.6 kB / 0.9337 GB, free: 1.324 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002789/0.9041, allocations: 143.6 kB / 0.9338 GB, free: 1.188 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001718/0.9043, allocations: 115.6 kB / 0.934 GB, free: 1.074 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001929/0.9045, allocations: 151.4 kB / 0.9341 GB, free: 0.9258 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 2.668e-05/0.9045, allocations: 16 kB / 0.9341 GB, free: 0.9102 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 2.944e-05/0.9046, allocations: 16 kB / 0.9341 GB, free: 0.8945 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 7.718e-05/0.9046, allocations: 59.83 kB / 0.9342 GB, free: 0.8359 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.000108/0.9047, allocations: 107.4 kB / 0.9343 GB, free: 0.7305 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0002465/0.905, allocations: 227.4 kB / 0.9345 GB, free: 0.5117 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 9.608e-06/0.905, allocations: 4 kB / 0.9345 GB, free: 0.5078 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.172e-06/0.905, allocations: 3.938 kB / 0.9345 GB, free: 0.5039 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 5.83e-06/0.905, allocations: 4 kB / 0.9345 GB, free: 0.5 MB / 0.7169 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.0005461/0.9056, allocations: 490.1 kB / 0.935 GB, free: 15.97 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.896e-05/0.9056, allocations: 12.03 kB / 0.935 GB, free: 15.96 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.519e-05/0.9057, allocations: 24.66 kB / 0.935 GB, free: 15.94 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002846/0.906, allocations: 257.9 kB / 0.9353 GB, free: 15.65 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.699e-05/0.906, allocations: 12.81 kB / 0.9353 GB, free: 15.64 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.436e-05/0.906, allocations: 20.38 kB / 0.9353 GB, free: 15.62 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000393/0.9064, allocations: 313.2 kB / 0.9356 GB, free: 15.27 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.062e-05/0.9065, allocations: 0 / 0.9356 GB, free: 15.27 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.223e-05/0.9065, allocations: 12.5 kB / 0.9356 GB, free: 15.25 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.017e-05/0.9065, allocations: 8 kB / 0.9356 GB, free: 15.25 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001727/0.9067, allocations: 123.7 kB / 0.9357 GB, free: 15.12 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001249/0.9079, allocations: 1.977 MB / 0.9377 GB, free: 13.04 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 8.438e-05/0.908, allocations: 173.1 kB / 0.9378 GB, free: 12.86 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.541e-05/0.9081, allocations: 81.52 kB / 0.9379 GB, free: 12.78 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 3.292e-05/0.9081, allocations: 75.84 kB / 0.938 GB, free: 12.7 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.433e-05/0.9082, allocations: 109.8 kB / 0.9381 GB, free: 12.59 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=0): time 1.031e-06/0.9082, allocations: 7.938 kB / 0.9381 GB, free: 12.58 MB / 0.7325 GB Notification: Performance of matching and sorting (n=0): time 9.349e-05/0.9083, allocations: 53.36 kB / 0.9381 GB, free: 12.52 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.624e-05/0.9083, allocations: 126.7 kB / 0.9383 GB, free: 12.38 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000321/0.9087, allocations: 336.4 kB / 0.9386 GB, free: 12.05 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 1.003e-05/0.9087, allocations: 26.36 kB / 0.9386 GB, free: 12.02 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001061/0.9088, allocations: 159.7 kB / 0.9388 GB, free: 11.86 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 3.206e-06/0.9088, allocations: 0 / 0.9388 GB, free: 11.86 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.517e-05/0.9089, allocations: 25.7 kB / 0.9388 GB, free: 11.82 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001299/0.909, allocations: 338.8 kB / 0.9391 GB, free: 11.48 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.941e-05/0.909, allocations: 4 kB / 0.9391 GB, free: 11.48 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.685e-05/0.9091, allocations: 58.8 kB / 0.9392 GB, free: 11.4 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.692e-05/0.9092, allocations: 72.78 kB / 0.9392 GB, free: 11.3 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.884e-06/0.9092, allocations: 0 / 0.9392 GB, free: 11.3 MB / 0.7325 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001853/0.9094, allocations: 105.2 kB / 0.9393 GB, free: 11.2 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.487e-05/0.9094, allocations: 4 kB / 0.9393 GB, free: 11.19 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.055e-06/0.9094, allocations: 4 kB / 0.9393 GB, free: 11.19 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.012e-05/0.9094, allocations: 7.922 kB / 0.9393 GB, free: 11.18 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.039e-05/0.9095, allocations: 12 kB / 0.9394 GB, free: 11.17 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.092e-05/0.9095, allocations: 7.938 kB / 0.9394 GB, free: 11.16 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.977e-05/0.9096, allocations: 29.31 kB / 0.9394 GB, free: 11.13 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.556e-06/0.9096, allocations: 4 kB / 0.9394 GB, free: 11.13 MB / 0.7325 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.0001378/0.9098, allocations: 217.3 kB / 0.9396 GB, free: 10.91 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.521e-05/0.9099, allocations: 128.6 kB / 0.9397 GB, free: 10.77 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.806e-05/0.91, allocations: 122 kB / 0.9398 GB, free: 10.64 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.407e-05/0.91, allocations: 184.2 kB / 0.94 GB, free: 10.45 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.829e-05/0.9101, allocations: 180.2 kB / 0.9402 GB, free: 10.27 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.387e-05/0.9102, allocations: 184.3 kB / 0.9404 GB, free: 10.08 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003412/0.9105, allocations: 485.1 kB / 0.9408 GB, free: 9.547 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.227e-05/0.9106, allocations: 101 kB / 0.9409 GB, free: 9.441 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.173e-05/0.9106, allocations: 105 kB / 0.941 GB, free: 9.332 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.575e-05/0.9107, allocations: 180.2 kB / 0.9412 GB, free: 9.148 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.246e-05/0.9108, allocations: 176.3 kB / 0.9414 GB, free: 8.969 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.884e-05/0.9109, allocations: 194.5 kB / 0.9416 GB, free: 8.773 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.737e-05/0.911, allocations: 180.3 kB / 0.9417 GB, free: 8.59 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001525/0.9111, allocations: 323.7 kB / 0.942 GB, free: 8.25 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001176/0.9112, allocations: 213.8 kB / 0.9422 GB, free: 8.016 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.582e-05/0.9113, allocations: 184.2 kB / 0.9424 GB, free: 7.828 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001035/0.9114, allocations: 108.9 kB / 0.9425 GB, free: 7.715 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.478e-05/0.9115, allocations: 180.2 kB / 0.9427 GB, free: 7.531 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.191e-05/0.9116, allocations: 104.9 kB / 0.9428 GB, free: 7.422 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0002243/0.9118, allocations: 239 kB / 0.943 GB, free: 7.188 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.3e-07/0.9118, allocations: 0 / 0.943 GB, free: 7.188 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0002586/0.9121, allocations: 28 kB / 0.943 GB, free: 7.16 MB / 0.7325 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.0001386/0.9122, allocations: 174.5 kB / 0.9432 GB, free: 6.98 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 9.036e-05/0.9123, allocations: 26.08 kB / 0.9432 GB, free: 6.957 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.274e-06/0.9123, allocations: 0 / 0.9432 GB, free: 6.957 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 3.387e-06/0.9123, allocations: 4 kB / 0.9432 GB, free: 6.953 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007669/0.9131, allocations: 0.5148 MB / 0.9437 GB, free: 6.441 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005876/0.9137, allocations: 441.8 kB / 0.9442 GB, free: 5.98 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003205/0.914, allocations: 0.748 MB / 0.9449 GB, free: 5.207 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.293e-05/0.9141, allocations: 19.44 kB / 0.9449 GB, free: 5.188 MB / 0.7325 GB Notification: Performance of SimCode: time 2.9e-07/0.9141, allocations: 0 / 0.9449 GB, free: 5.188 MB / 0.7325 GB Notification: Performance of Templates: time 0.004717/0.9188, allocations: 2.602 MB / 0.9475 GB, free: 2.656 MB / 0.7325 GB make -j1 -f Buildings_8_Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2.makefile (rm -f Buildings_8_Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2.pipe ; mkfifo Buildings_8_Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2.pipe >> ../files/Buildings_8_Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2.sim & ./Buildings_8_Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2.pipe 2>&1)