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: "" <> buildModelFMU(Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2,fileNamePrefix="Buildings_8_Buildings_Fluid_FMI_Conversion_Validation_InletToAirDryAirCO2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2,fileNamePrefix="Buildings_8_Buildings_Fluid_FMI_Conversion_Validation_InletToAirDryAirCO2",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001008/0.001008, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.0009948/0.0009947, allocations: 195.3 kB / 16.14 MB, free: 6.707 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.389/1.389, allocations: 205.1 MB / 222 MB, free: 4.977 MB / 174.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.674/1.674, allocations: 292.3 MB / 0.5484 GB, free: 13.67 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.002118/0.002118, allocations: 62.14 kB / 0.6709 GB, free: 26.21 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2241/0.2262, allocations: 114.6 MB / 0.7828 GB, free: 13.91 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2): time 0.5739/0.8002, allocations: 145.8 MB / 0.9252 GB, free: 6.461 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.004347/0.8046, allocations: 4.618 MB / 0.9297 GB, free: 6.395 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002477/0.8049, allocations: 9.094 kB / 0.9297 GB, free: 6.395 MB / 0.7325 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.0005111/0.8054, allocations: 132.5 kB / 0.9298 GB, free: 6.395 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.0002516/0.8056, allocations: 79.44 kB / 0.9299 GB, free: 6.391 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001217/0.8058, allocations: 54.84 kB / 0.93 GB, free: 6.391 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0003606/0.8061, allocations: 363.5 kB / 0.9303 GB, free: 6.391 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002498/0.8064, allocations: 144.9 kB / 0.9305 GB, free: 6.371 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001564/0.8066, allocations: 104 kB / 0.9306 GB, free: 6.371 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001982/0.8068, allocations: 159.9 kB / 0.9307 GB, free: 6.371 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 2.8e-05/0.8068, allocations: 12.31 kB / 0.9307 GB, free: 6.371 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 3.443e-05/0.8068, allocations: 11.72 kB / 0.9307 GB, free: 6.371 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 7.337e-05/0.8069, allocations: 64.89 kB / 0.9308 GB, free: 6.367 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.0001115/0.807, allocations: 108.1 kB / 0.9309 GB, free: 6.363 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0001894/0.8072, allocations: 217.8 kB / 0.9311 GB, free: 6.348 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 5e-06/0.8072, allocations: 1.312 kB / 0.9311 GB, free: 6.348 MB / 0.7325 GB Notification: Performance of FrontEnd: time 8.02e-07/0.8072, allocations: 0 / 0.9311 GB, free: 6.348 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 4.518e-06/0.8073, allocations: 0 / 0.9311 GB, free: 6.348 MB / 0.7325 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.0006239/0.8079, allocations: 488.6 kB / 0.9316 GB, free: 21.94 MB / 0.7481 GB Notification: Performance of prepare preOptimizeDAE: time 3.843e-05/0.8079, allocations: 9.875 kB / 0.9316 GB, free: 21.94 MB / 0.7481 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.363e-05/0.808, allocations: 58.56 kB / 0.9316 GB, free: 21.9 MB / 0.7481 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.234e-05/0.808, allocations: 27.61 kB / 0.9317 GB, free: 21.89 MB / 0.7481 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002309/0.8083, allocations: 255.4 kB / 0.9319 GB, free: 21.68 MB / 0.7481 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.65e-05/0.8083, allocations: 20.66 kB / 0.9319 GB, free: 21.67 MB / 0.7481 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.391e-05/0.8083, allocations: 22.16 kB / 0.9319 GB, free: 21.67 MB / 0.7481 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003154/0.8086, allocations: 305.9 kB / 0.9322 GB, free: 21.5 MB / 0.7481 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.395e-06/0.8087, allocations: 0 / 0.9322 GB, free: 21.5 MB / 0.7481 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.704e-05/0.8087, allocations: 13.5 kB / 0.9323 GB, free: 21.5 MB / 0.7481 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.095e-06/0.8087, allocations: 5.812 kB / 0.9323 GB, free: 21.5 MB / 0.7481 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000153/0.8088, allocations: 122.6 kB / 0.9324 GB, free: 21.5 MB / 0.7481 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009956/0.8099, allocations: 1.983 MB / 0.9343 GB, free: 19.78 MB / 0.7481 GB Notification: Performance of preOpt comSubExp (simulation): time 6.318e-05/0.8099, allocations: 166.6 kB / 0.9345 GB, free: 19.61 MB / 0.7481 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.417e-05/0.81, allocations: 81.34 kB / 0.9345 GB, free: 19.53 MB / 0.7481 GB Notification: Performance of preOpt evalFunc (simulation): time 2.119e-05/0.81, allocations: 79.28 kB / 0.9346 GB, free: 19.45 MB / 0.7481 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.069e-05/0.81, allocations: 108.7 kB / 0.9347 GB, free: 19.34 MB / 0.7481 GB Notification: Performance of pre-optimization done (n=0): time 9.92e-07/0.81, allocations: 2.906 kB / 0.9347 GB, free: 19.34 MB / 0.7481 GB Notification: Performance of matching and sorting (n=0): time 7.905e-05/0.8101, allocations: 57.12 kB / 0.9348 GB, free: 19.29 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.498e-05/0.8102, allocations: 130.4 kB / 0.9349 GB, free: 19.15 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002693/0.8104, allocations: 328.5 kB / 0.9352 GB, free: 19.04 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 9.848e-06/0.8105, allocations: 25.7 kB / 0.9352 GB, free: 19 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 8.595e-05/0.8106, allocations: 163.6 kB / 0.9354 GB, free: 18.9 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 3.196e-06/0.8106, allocations: 2.844 kB / 0.9354 GB, free: 18.9 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.8e-05/0.8106, allocations: 25.42 kB / 0.9354 GB, free: 18.88 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 9.724e-05/0.8107, allocations: 332.4 kB / 0.9357 GB, free: 18.57 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.714e-05/0.8107, allocations: 8.719 kB / 0.9358 GB, free: 18.57 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.93e-05/0.8108, allocations: 60.95 kB / 0.9358 GB, free: 18.5 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.411e-05/0.8108, allocations: 73.52 kB / 0.9359 GB, free: 18.44 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.565e-06/0.8108, allocations: 0.6562 kB / 0.9359 GB, free: 18.44 MB / 0.7481 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001539/0.811, allocations: 101.9 kB / 0.936 GB, free: 18.39 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 1.332e-05/0.811, allocations: 6.781 kB / 0.936 GB, free: 18.39 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.049e-06/0.811, allocations: 2.125 kB / 0.936 GB, free: 18.39 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.269e-05/0.811, allocations: 7.969 kB / 0.936 GB, free: 18.39 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.725e-05/0.8111, allocations: 18.45 kB / 0.936 GB, free: 18.39 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.111e-06/0.8111, allocations: 6.344 kB / 0.936 GB, free: 18.39 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.436e-05/0.8112, allocations: 25.95 kB / 0.936 GB, free: 18.37 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.412e-06/0.8112, allocations: 5.5 kB / 0.9361 GB, free: 18.37 MB / 0.7481 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.0001105/0.8113, allocations: 211.8 kB / 0.9363 GB, free: 18.18 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.498e-05/0.8114, allocations: 127.6 kB / 0.9364 GB, free: 18.06 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.276e-05/0.8114, allocations: 130.6 kB / 0.9365 GB, free: 17.94 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.666e-05/0.8115, allocations: 186.5 kB / 0.9367 GB, free: 17.76 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.67e-05/0.8115, allocations: 179.9 kB / 0.9368 GB, free: 17.58 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.839e-05/0.8116, allocations: 183.6 kB / 0.937 GB, free: 17.4 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002523/0.8118, allocations: 475.8 kB / 0.9375 GB, free: 16.96 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.519e-05/0.8119, allocations: 102.8 kB / 0.9376 GB, free: 16.85 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.105e-05/0.8119, allocations: 107.4 kB / 0.9377 GB, free: 16.75 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.516e-05/0.812, allocations: 180.9 kB / 0.9379 GB, free: 16.56 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.282e-05/0.812, allocations: 187.6 kB / 0.938 GB, free: 16.38 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.777e-05/0.8121, allocations: 179.7 kB / 0.9382 GB, free: 16.2 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.014e-05/0.8121, allocations: 185.5 kB / 0.9384 GB, free: 16.02 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001144/0.8123, allocations: 330.3 kB / 0.9387 GB, free: 15.7 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 8.528e-05/0.8123, allocations: 208.8 kB / 0.9389 GB, free: 15.48 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.046e-05/0.8124, allocations: 184.5 kB / 0.9391 GB, free: 15.3 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.41e-05/0.8125, allocations: 107.3 kB / 0.9392 GB, free: 15.19 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.446e-05/0.8126, allocations: 182.7 kB / 0.9393 GB, free: 15.01 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.879e-05/0.8126, allocations: 109.5 kB / 0.9394 GB, free: 14.9 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.0001952/0.8128, allocations: 239.2 kB / 0.9397 GB, free: 14.82 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1.2e-07/0.8128, allocations: 0 / 0.9397 GB, free: 14.82 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.0002437/0.8131, allocations: 23 kB / 0.9397 GB, free: 14.82 MB / 0.7481 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.000317/0.8134, allocations: 0.8307 MB / 0.9405 GB, free: 14.01 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 6.888e-05/0.8135, allocations: 26.8 kB / 0.9405 GB, free: 14 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 1.884e-06/0.8135, allocations: 2.844 kB / 0.9405 GB, free: 14 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 2.725e-06/0.8135, allocations: 3.422 kB / 0.9405 GB, free: 14 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006566/0.8141, allocations: 0.587 MB / 0.9411 GB, free: 13.48 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002134/0.8163, allocations: 2.553 MB / 0.9436 GB, free: 11.86 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002688/0.8166, allocations: 0.7493 MB / 0.9443 GB, free: 11.16 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 9.047e-05/0.8167, allocations: 29.55 kB / 0.9444 GB, free: 11.16 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.955e-05/0.8167, allocations: 60.12 kB / 0.9444 GB, free: 11.16 MB / 0.7481 GB Notification: Performance of SimCode: time 3.8e-07/0.8167, allocations: 0 / 0.9444 GB, free: 11.16 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.9523/1.769, allocations: 4.53 MB / 0.9488 GB, free: 10.75 MB / 0.7481 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000266/1.769, allocations: 214.7 kB / 0.9491 GB, free: 10.49 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.186/3.956, allocations: 0 / 0.9491 GB, free: 10.49 MB / 0.7481 GB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Fluid_FMI_Conversion_Validation_InletToAirDryAirCO2_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Fluid_FMI_Conversion_Validation_InletToAirDryAirCO2.fmu > Buildings_8_Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2.pipe 2>&1)