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.001496/0.001496, allocations: 108 kB / 15.61 MB, free: 152 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.001923/0.001923, allocations: 194.2 kB / 16.53 MB, free: 6.664 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.485/1.485, allocations: 205.1 MB / 222.4 MB, free: 4.613 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.868/1.868, allocations: 292.3 MB / 0.5489 GB, free: 12.8 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.002985/0.002985, allocations: 69.12 kB / 0.6716 GB, free: 26.16 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2565/0.2595, allocations: 114.6 MB / 0.7835 GB, free: 13.35 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2): time 0.6351/0.8947, allocations: 148 MB / 0.928 GB, free: 5 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.005722/0.9004, allocations: 4.642 MB / 0.9325 GB, free: 4.898 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007724/0.9013, allocations: 12.19 kB / 0.9326 GB, free: 4.898 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.0009652/0.9022, allocations: 169.1 kB / 0.9327 GB, free: 4.895 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0005214/0.9028, allocations: 77.38 kB / 0.9328 GB, free: 4.895 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002289/0.903, allocations: 65.75 kB / 0.9329 GB, free: 4.895 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0005006/0.9035, allocations: 305.2 kB / 0.9331 GB, free: 4.895 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004169/0.9039, allocations: 150.9 kB / 0.9333 GB, free: 4.863 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002472/0.9042, allocations: 109.9 kB / 0.9334 GB, free: 4.863 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002721/0.9045, allocations: 151.4 kB / 0.9335 GB, free: 4.863 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 3.619e-05/0.9045, allocations: 15.75 kB / 0.9336 GB, free: 4.863 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 4.033e-05/0.9046, allocations: 15.81 kB / 0.9336 GB, free: 4.863 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0001369/0.9047, allocations: 72.03 kB / 0.9336 GB, free: 4.859 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.000202/0.9049, allocations: 104.2 kB / 0.9337 GB, free: 4.859 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0003967/0.9053, allocations: 223.8 kB / 0.934 GB, free: 4.84 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 6.973e-06/0.9054, allocations: 0 / 0.934 GB, free: 4.84 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.395e-06/0.9054, allocations: 0 / 0.934 GB, free: 4.84 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 9.478e-06/0.9054, allocations: 0 / 0.934 GB, free: 4.84 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.001042/0.9064, allocations: 493.6 kB / 0.9344 GB, free: 20.43 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 6.448e-05/0.9065, allocations: 11.97 kB / 0.9344 GB, free: 20.43 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.234e-05/0.9066, allocations: 59.28 kB / 0.9345 GB, free: 20.39 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.407e-05/0.9066, allocations: 28.16 kB / 0.9345 GB, free: 20.38 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003834/0.907, allocations: 255 kB / 0.9348 GB, free: 20.16 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.632e-05/0.9071, allocations: 21.09 kB / 0.9348 GB, free: 20.16 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.514e-05/0.9071, allocations: 25.33 kB / 0.9348 GB, free: 20.16 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004461/0.9076, allocations: 309.1 kB / 0.9351 GB, free: 19.99 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.497e-05/0.9076, allocations: 7.516 kB / 0.9351 GB, free: 19.98 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.249e-05/0.9076, allocations: 10.09 kB / 0.9351 GB, free: 19.98 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.16e-05/0.9076, allocations: 6.562 kB / 0.9351 GB, free: 19.98 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000199/0.9078, allocations: 125.4 kB / 0.9352 GB, free: 19.98 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001563/0.9094, allocations: 1.967 MB / 0.9372 GB, free: 18.27 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001037/0.9095, allocations: 167.3 kB / 0.9373 GB, free: 18.09 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.078e-05/0.9096, allocations: 89.7 kB / 0.9374 GB, free: 18.01 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 3.106e-05/0.9096, allocations: 75.28 kB / 0.9375 GB, free: 17.93 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.682e-05/0.9097, allocations: 106.4 kB / 0.9376 GB, free: 17.82 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=0): time 1.102e-06/0.9097, allocations: 1.094 kB / 0.9376 GB, free: 17.82 MB / 0.7325 GB Notification: Performance of matching and sorting (n=0): time 9.716e-05/0.9098, allocations: 56.64 kB / 0.9376 GB, free: 17.77 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.809e-05/0.9099, allocations: 126.7 kB / 0.9378 GB, free: 17.64 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003964/0.9103, allocations: 329.5 kB / 0.9381 GB, free: 17.53 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 1.643e-05/0.9103, allocations: 29.7 kB / 0.9381 GB, free: 17.49 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001432/0.9105, allocations: 167.4 kB / 0.9383 GB, free: 17.39 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 5.08e-06/0.9105, allocations: 2.719 kB / 0.9383 GB, free: 17.39 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.684e-05/0.9105, allocations: 21.91 kB / 0.9383 GB, free: 17.37 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001795/0.9107, allocations: 340.2 kB / 0.9386 GB, free: 17.06 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.854e-05/0.9107, allocations: 3.859 kB / 0.9386 GB, free: 17.06 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.696e-05/0.9108, allocations: 61.98 kB / 0.9387 GB, free: 16.99 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.862e-05/0.9109, allocations: 73.09 kB / 0.9387 GB, free: 16.93 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.813e-06/0.9109, allocations: 0 / 0.9387 GB, free: 16.93 MB / 0.7325 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001923/0.9111, allocations: 99.02 kB / 0.9388 GB, free: 16.88 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.624e-05/0.9111, allocations: 7.984 kB / 0.9388 GB, free: 16.88 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.332e-06/0.9111, allocations: 256 / 0.9388 GB, free: 16.88 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.713e-05/0.9111, allocations: 12.25 kB / 0.9389 GB, free: 16.88 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.712e-05/0.9112, allocations: 15.75 kB / 0.9389 GB, free: 16.88 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.418e-06/0.9112, allocations: 3.031 kB / 0.9389 GB, free: 16.88 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.383e-05/0.9113, allocations: 27.53 kB / 0.9389 GB, free: 16.86 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.828e-06/0.9113, allocations: 5.547 kB / 0.9389 GB, free: 16.86 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.0001471/0.9115, allocations: 217.9 kB / 0.9391 GB, free: 16.67 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.49e-05/0.9116, allocations: 124.4 kB / 0.9392 GB, free: 16.55 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.923e-05/0.9116, allocations: 140.7 kB / 0.9394 GB, free: 16.42 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.447e-05/0.9117, allocations: 179.2 kB / 0.9395 GB, free: 16.24 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.47e-05/0.9118, allocations: 179.5 kB / 0.9397 GB, free: 16.06 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.984e-05/0.9119, allocations: 179.6 kB / 0.9399 GB, free: 15.88 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000382/0.9122, allocations: 478.5 kB / 0.9403 GB, free: 15.44 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.472e-05/0.9123, allocations: 112.7 kB / 0.9404 GB, free: 15.33 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.343e-05/0.9123, allocations: 106.7 kB / 0.9405 GB, free: 15.22 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.122e-05/0.9124, allocations: 180.2 kB / 0.9407 GB, free: 15.04 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.966e-05/0.9125, allocations: 188.3 kB / 0.9409 GB, free: 14.86 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.19e-05/0.9126, allocations: 179.2 kB / 0.9411 GB, free: 14.68 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.321e-05/0.9127, allocations: 179.3 kB / 0.9412 GB, free: 14.5 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001557/0.9128, allocations: 330.5 kB / 0.9416 GB, free: 14.17 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001074/0.9129, allocations: 203.8 kB / 0.9417 GB, free: 13.96 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.115e-05/0.913, allocations: 189.8 kB / 0.9419 GB, free: 13.77 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001137/0.9132, allocations: 106.3 kB / 0.942 GB, free: 13.67 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.772e-05/0.9132, allocations: 186.6 kB / 0.9422 GB, free: 13.48 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.714e-05/0.9133, allocations: 107.4 kB / 0.9423 GB, free: 13.38 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0002328/0.9135, allocations: 236.4 kB / 0.9425 GB, free: 13.29 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.3e-07/0.9135, allocations: 1.094 kB / 0.9425 GB, free: 13.29 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0002657/0.9138, allocations: 24.03 kB / 0.9426 GB, free: 13.29 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.0004318/0.9142, allocations: 0.8311 MB / 0.9434 GB, free: 12.48 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 8.8e-05/0.9143, allocations: 29.58 kB / 0.9434 GB, free: 12.47 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.454e-06/0.9143, allocations: 0 / 0.9434 GB, free: 12.47 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 2.214e-06/0.9143, allocations: 2.75 kB / 0.9434 GB, free: 12.47 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008036/0.9152, allocations: 0.5258 MB / 0.9439 GB, free: 12.01 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002827/0.918, allocations: 2.526 MB / 0.9464 GB, free: 10.44 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003599/0.9184, allocations: 0.7398 MB / 0.9471 GB, free: 9.738 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0001239/0.9185, allocations: 29.77 kB / 0.9471 GB, free: 9.734 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.686e-05/0.9186, allocations: 60.36 kB / 0.9472 GB, free: 9.73 MB / 0.7325 GB Notification: Performance of SimCode: time 6.91e-07/0.9186, allocations: 0 / 0.9472 GB, free: 9.73 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02744/0.9461, allocations: 4.73 MB / 0.9518 GB, free: 9.176 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.031/8.977, allocations: 14.16 kB / 0.9518 GB, free: 9.168 MB / 0.7325 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 & python3 -m fmpy simulate --output-file Buildings_8_Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 Buildings_8_Buildings_Fluid_FMI_Conversion_Validation_InletToAirDryAirCO2.fmu > Buildings_8_Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2.pipe 2>&1)