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.0011/0.0011, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001108/0.001108, allocations: 194.1 kB / 16.53 MB, free: 6.391 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.352/1.352, allocations: 205.1 MB / 222.4 MB, free: 4.586 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.653/1.653, allocations: 292.3 MB / 0.5489 GB, free: 13.55 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.002225/0.002225, allocations: 73.81 kB / 0.6716 GB, free: 25.91 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2115/0.2137, allocations: 114.5 MB / 0.7835 GB, free: 13.5 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2): time 0.4922/0.706, allocations: 148 MB / 0.928 GB, free: 6.059 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.003463/0.7095, allocations: 4.651 MB / 0.9325 GB, free: 5.996 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001713/0.7097, allocations: 11.16 kB / 0.9326 GB, free: 5.996 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.0004052/0.7101, allocations: 167.7 kB / 0.9327 GB, free: 5.992 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.0002359/0.7103, allocations: 85 kB / 0.9328 GB, free: 5.992 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001133/0.7104, allocations: 61.89 kB / 0.9329 GB, free: 5.992 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0002619/0.7107, allocations: 307.6 kB / 0.9331 GB, free: 5.992 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002221/0.7109, allocations: 152.4 kB / 0.9333 GB, free: 5.977 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001246/0.7111, allocations: 110.4 kB / 0.9334 GB, free: 5.977 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001514/0.7112, allocations: 157.5 kB / 0.9335 GB, free: 5.977 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 2.218e-05/0.7113, allocations: 14.59 kB / 0.9336 GB, free: 5.977 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 2.714e-05/0.7113, allocations: 19.23 kB / 0.9336 GB, free: 5.977 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 5.897e-05/0.7113, allocations: 61.83 kB / 0.9336 GB, free: 5.977 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 8.043e-05/0.7114, allocations: 103.1 kB / 0.9337 GB, free: 5.977 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0001623/0.7116, allocations: 219.1 kB / 0.9339 GB, free: 5.961 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 3.697e-06/0.7116, allocations: 3.562 kB / 0.934 GB, free: 5.961 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.122e-06/0.7116, allocations: 0.9375 kB / 0.934 GB, free: 5.961 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 5.921e-06/0.7116, allocations: 0 / 0.934 GB, free: 5.961 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.0004598/0.7121, allocations: 496.7 kB / 0.9344 GB, free: 21.55 MB / 0.7481 GB Notification: Performance of prepare preOptimizeDAE: time 3.013e-05/0.7121, allocations: 7.719 kB / 0.9344 GB, free: 21.55 MB / 0.7481 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.742e-05/0.7122, allocations: 64.58 kB / 0.9345 GB, free: 21.51 MB / 0.7481 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.36e-05/0.7122, allocations: 26.09 kB / 0.9345 GB, free: 21.5 MB / 0.7481 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002174/0.7124, allocations: 258.3 kB / 0.9348 GB, free: 21.29 MB / 0.7481 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.198e-05/0.7125, allocations: 13.34 kB / 0.9348 GB, free: 21.29 MB / 0.7481 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.898e-05/0.7125, allocations: 23.12 kB / 0.9348 GB, free: 21.29 MB / 0.7481 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000286/0.7128, allocations: 308.7 kB / 0.9351 GB, free: 21.12 MB / 0.7481 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.876e-06/0.7128, allocations: 0 / 0.9351 GB, free: 21.12 MB / 0.7481 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.637e-05/0.7128, allocations: 10.66 kB / 0.9351 GB, free: 21.12 MB / 0.7481 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.274e-06/0.7128, allocations: 7.359 kB / 0.9351 GB, free: 21.12 MB / 0.7481 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001444/0.713, allocations: 125.7 kB / 0.9352 GB, free: 21.12 MB / 0.7481 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000972/0.714, allocations: 1.972 MB / 0.9372 GB, free: 19.41 MB / 0.7481 GB Notification: Performance of preOpt comSubExp (simulation): time 5.732e-05/0.714, allocations: 175.5 kB / 0.9373 GB, free: 19.24 MB / 0.7481 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.28e-05/0.7141, allocations: 80.14 kB / 0.9374 GB, free: 19.16 MB / 0.7481 GB Notification: Performance of preOpt evalFunc (simulation): time 1.958e-05/0.7141, allocations: 77.02 kB / 0.9375 GB, free: 19.09 MB / 0.7481 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.943e-05/0.7141, allocations: 109.5 kB / 0.9376 GB, free: 18.97 MB / 0.7481 GB Notification: Performance of pre-optimization done (n=0): time 1.333e-06/0.7141, allocations: 1.469 kB / 0.9376 GB, free: 18.97 MB / 0.7481 GB Notification: Performance of matching and sorting (n=0): time 6.837e-05/0.7142, allocations: 53.19 kB / 0.9376 GB, free: 18.93 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.452e-05/0.7142, allocations: 131.9 kB / 0.9378 GB, free: 18.79 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002622/0.7145, allocations: 331.6 kB / 0.9381 GB, free: 18.68 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 1.069e-05/0.7145, allocations: 25.7 kB / 0.9381 GB, free: 18.65 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 8.098e-05/0.7146, allocations: 161.8 kB / 0.9383 GB, free: 18.55 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 3.317e-06/0.7146, allocations: 1.703 kB / 0.9383 GB, free: 18.55 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.743e-05/0.7147, allocations: 35.86 kB / 0.9383 GB, free: 18.53 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 8.807e-05/0.7147, allocations: 331.5 kB / 0.9386 GB, free: 18.21 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.676e-05/0.7148, allocations: 8.844 kB / 0.9386 GB, free: 18.21 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.65e-05/0.7148, allocations: 54.98 kB / 0.9387 GB, free: 18.15 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.919e-05/0.7149, allocations: 72.17 kB / 0.9387 GB, free: 18.09 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.926e-06/0.7149, allocations: 4.234 kB / 0.9387 GB, free: 18.09 MB / 0.7481 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001398/0.715, allocations: 103.2 kB / 0.9388 GB, free: 18.05 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 1.034e-05/0.715, allocations: 5.625 kB / 0.9388 GB, free: 18.05 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.272e-06/0.715, allocations: 6.938 kB / 0.9388 GB, free: 18.05 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.105e-05/0.7151, allocations: 8.016 kB / 0.9389 GB, free: 18.04 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.827e-05/0.7151, allocations: 13.69 kB / 0.9389 GB, free: 18.04 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.841e-06/0.7151, allocations: 6.297 kB / 0.9389 GB, free: 18.04 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.817e-05/0.7152, allocations: 22.19 kB / 0.9389 GB, free: 18.03 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.061e-06/0.7152, allocations: 6.859 kB / 0.9389 GB, free: 18.03 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 9.454e-05/0.7153, allocations: 212.9 kB / 0.9391 GB, free: 17.84 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.692e-05/0.7154, allocations: 133.2 kB / 0.9392 GB, free: 17.72 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.24e-05/0.7154, allocations: 132.2 kB / 0.9394 GB, free: 17.59 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.007e-05/0.7155, allocations: 182.9 kB / 0.9395 GB, free: 17.41 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.566e-05/0.7155, allocations: 178.3 kB / 0.9397 GB, free: 17.23 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.475e-05/0.7156, allocations: 180.5 kB / 0.9399 GB, free: 17.05 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002399/0.7158, allocations: 482.1 kB / 0.9403 GB, free: 16.61 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.571e-05/0.7158, allocations: 104.9 kB / 0.9404 GB, free: 16.51 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.706e-05/0.7159, allocations: 105.1 kB / 0.9405 GB, free: 16.4 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.366e-05/0.7159, allocations: 183.5 kB / 0.9407 GB, free: 16.22 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.272e-05/0.716, allocations: 181.7 kB / 0.9409 GB, free: 16.04 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.289e-05/0.716, allocations: 187.2 kB / 0.9411 GB, free: 15.86 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.033e-05/0.7161, allocations: 177.9 kB / 0.9412 GB, free: 15.68 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001037/0.7162, allocations: 331.9 kB / 0.9415 GB, free: 15.36 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 7.869e-05/0.7163, allocations: 210.7 kB / 0.9417 GB, free: 15.14 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.514e-05/0.7163, allocations: 183.5 kB / 0.9419 GB, free: 14.96 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.537e-05/0.7164, allocations: 109.4 kB / 0.942 GB, free: 14.86 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.825e-05/0.7165, allocations: 182.4 kB / 0.9422 GB, free: 14.68 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.583e-05/0.7165, allocations: 105.5 kB / 0.9423 GB, free: 14.57 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.000184/0.7167, allocations: 237.7 kB / 0.9425 GB, free: 14.49 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1.3e-07/0.7167, allocations: 0.8125 kB / 0.9425 GB, free: 14.49 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.0002336/0.7169, allocations: 24.91 kB / 0.9426 GB, free: 14.49 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.0002742/0.7172, allocations: 0.8291 MB / 0.9434 GB, free: 13.68 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 6.572e-05/0.7173, allocations: 27.16 kB / 0.9434 GB, free: 13.67 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 1.914e-06/0.7173, allocations: 0.9375 kB / 0.9434 GB, free: 13.67 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 2.735e-06/0.7173, allocations: 6.719 kB / 0.9434 GB, free: 13.67 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006126/0.7179, allocations: 0.5178 MB / 0.9439 GB, free: 13.22 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001843/0.7198, allocations: 2.515 MB / 0.9464 GB, free: 11.68 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000236/0.72, allocations: 0.7443 MB / 0.9471 GB, free: 10.98 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 7.995e-05/0.7201, allocations: 27.88 kB / 0.9471 GB, free: 10.98 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.769e-05/0.7202, allocations: 63.19 kB / 0.9472 GB, free: 10.97 MB / 0.7481 GB Notification: Performance of SimCode: time 2.51e-07/0.7202, allocations: 1.203 kB / 0.9472 GB, free: 10.97 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2508/0.971, allocations: 4.737 MB / 0.9518 GB, free: 10.55 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.175/10.15, allocations: 14.38 kB / 0.9518 GB, free: 10.54 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)