Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2.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.InletToAirMoistAirCO2,fileNamePrefix="Buildings_8_Buildings_Fluid_FMI_Conversion_Validation_InletToAirMoistAirCO2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2,fileNamePrefix="Buildings_8_Buildings_Fluid_FMI_Conversion_Validation_InletToAirMoistAirCO2",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.001259/0.001259, 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.001453/0.001453, allocations: 192.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.546/1.546, allocations: 205.1 MB / 222.4 MB, free: 4.574 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.85/1.85, 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.002293/0.002293, allocations: 68.03 kB / 0.6716 GB, free: 26.33 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2614/0.2637, allocations: 114.5 MB / 0.7835 GB, free: 13.37 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2): time 0.7611/1.025, allocations: 174 MB / 0.9534 GB, free: 1.137 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.01413/1.039, allocations: 9.523 MB / 0.9627 GB, free: 372 kB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005793/1.04, allocations: 11.62 kB / 0.9627 GB, free: 368 kB / 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.0009818/1.041, allocations: 189.1 kB / 0.9629 GB, free: 292 kB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0005107/1.041, allocations: 96.64 kB / 0.963 GB, free: 248 kB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003402/1.042, allocations: 63.61 kB / 0.9631 GB, free: 248 kB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0006189/1.042, allocations: 332.3 kB / 0.9634 GB, free: 180 kB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005737/1.043, allocations: 205 kB / 0.9636 GB, free: 140 kB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006054/1.043, allocations: 164.5 kB / 0.9638 GB, free: 128 kB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002305/1.044, allocations: 124.5 kB / 0.9639 GB, free: 124 kB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 5.802e-05/1.044, allocations: 25.75 kB / 0.9639 GB, free: 120 kB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 8.138e-05/1.044, allocations: 21.44 kB / 0.9639 GB, free: 120 kB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0001451/1.044, allocations: 74.73 kB / 0.964 GB, free: 120 kB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0002403/1.044, allocations: 128.1 kB / 0.9641 GB, free: 120 kB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0004347/1.045, allocations: 274 kB / 0.9644 GB, free: 100 kB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 6.352e-06/1.045, allocations: 2.156 kB / 0.9644 GB, free: 100 kB / 0.7169 GB Notification: Performance of FrontEnd: time 1.483e-06/1.045, allocations: 0 / 0.9644 GB, free: 100 kB / 0.7169 GB Notification: Performance of Transformations before backend: time 8.045e-06/1.045, allocations: 0 / 0.9644 GB, free: 100 kB / 0.7169 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 66 * Number of variables: 66 Notification: Performance of Generate backend data structure: time 0.0007517/1.046, allocations: 0.5074 MB / 0.9649 GB, free: 15.68 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 5.466e-05/1.046, allocations: 14.28 kB / 0.9649 GB, free: 15.68 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.917e-05/1.046, allocations: 63.73 kB / 0.9649 GB, free: 15.64 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.351e-05/1.046, allocations: 39.72 kB / 0.965 GB, free: 15.61 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004714/1.046, allocations: 270.7 kB / 0.9652 GB, free: 15.39 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.862e-05/1.046, allocations: 22.56 kB / 0.9653 GB, free: 15.39 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.304e-05/1.046, allocations: 22.34 kB / 0.9653 GB, free: 15.39 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007218/1.047, allocations: 326.7 kB / 0.9656 GB, free: 15.23 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.883e-05/1.047, allocations: 3.938 kB / 0.9656 GB, free: 15.23 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.782e-05/1.047, allocations: 18.23 kB / 0.9656 GB, free: 15.23 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.759e-05/1.047, allocations: 7.906 kB / 0.9656 GB, free: 15.23 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003585/1.048, allocations: 142.3 kB / 0.9658 GB, free: 15.21 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002065/1.05, allocations: 1.818 MB / 0.9675 GB, free: 13.71 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001634/1.05, allocations: 170.4 kB / 0.9677 GB, free: 13.53 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.757e-05/1.05, allocations: 80.14 kB / 0.9678 GB, free: 13.45 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 6.106e-05/1.05, allocations: 79.22 kB / 0.9678 GB, free: 13.37 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.409e-05/1.05, allocations: 115 kB / 0.968 GB, free: 13.25 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=0): time 2.625e-06/1.05, allocations: 0 / 0.968 GB, free: 13.25 MB / 0.7325 GB Notification: Performance of matching and sorting (n=0): time 0.0001363/1.05, allocations: 53.55 kB / 0.968 GB, free: 13.21 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9e-05/1.05, allocations: 130.9 kB / 0.9681 GB, free: 13.07 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006475/1.051, allocations: 371.5 kB / 0.9685 GB, free: 12.96 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 1.777e-05/1.051, allocations: 27.17 kB / 0.9685 GB, free: 12.93 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001841/1.051, allocations: 166.5 kB / 0.9687 GB, free: 12.83 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 3.516e-06/1.051, allocations: 0 / 0.9687 GB, free: 12.83 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.224e-05/1.051, allocations: 24.09 kB / 0.9687 GB, free: 12.81 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001761/1.052, allocations: 335.9 kB / 0.969 GB, free: 12.5 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.248e-05/1.052, allocations: 3.25 kB / 0.969 GB, free: 12.5 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.167e-05/1.052, allocations: 40.62 kB / 0.9691 GB, free: 12.46 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.248e-05/1.052, allocations: 49.52 kB / 0.9691 GB, free: 12.41 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.795e-06/1.052, allocations: 1.094 kB / 0.9691 GB, free: 12.41 MB / 0.7325 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002169/1.052, allocations: 87.69 kB / 0.9692 GB, free: 12.36 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 2.367e-05/1.052, allocations: 6.188 kB / 0.9692 GB, free: 12.36 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.344e-06/1.052, allocations: 1.031 kB / 0.9692 GB, free: 12.36 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.526e-05/1.052, allocations: 5.438 kB / 0.9692 GB, free: 12.35 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.353e-05/1.052, allocations: 14.09 kB / 0.9692 GB, free: 12.35 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.384e-06/1.052, allocations: 1.188 kB / 0.9692 GB, free: 12.35 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001159/1.052, allocations: 26.81 kB / 0.9692 GB, free: 12.33 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.778e-06/1.052, allocations: 3.438 kB / 0.9692 GB, free: 12.33 MB / 0.7325 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * 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 (5): * Single equations (assignments): 5 * 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.0001851/1.052, allocations: 213.4 kB / 0.9694 GB, free: 12.14 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001195/1.053, allocations: 142.1 kB / 0.9696 GB, free: 12.01 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.999e-05/1.053, allocations: 129.1 kB / 0.9697 GB, free: 11.89 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.215e-05/1.053, allocations: 178.8 kB / 0.9699 GB, free: 11.71 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.141e-05/1.053, allocations: 188.8 kB / 0.9701 GB, free: 11.53 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.178e-05/1.053, allocations: 177.3 kB / 0.9702 GB, free: 11.35 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005097/1.053, allocations: 492.3 kB / 0.9707 GB, free: 10.9 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.864e-05/1.054, allocations: 105.8 kB / 0.9708 GB, free: 10.79 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.41e-05/1.054, allocations: 108.3 kB / 0.9709 GB, free: 10.68 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.937e-05/1.054, allocations: 187.4 kB / 0.9711 GB, free: 10.5 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.795e-05/1.054, allocations: 177.4 kB / 0.9712 GB, free: 10.32 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.561e-05/1.054, allocations: 185.3 kB / 0.9714 GB, free: 10.13 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.048e-05/1.054, allocations: 178.8 kB / 0.9716 GB, free: 9.953 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002324/1.054, allocations: 336.5 kB / 0.9719 GB, free: 9.621 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001815/1.054, allocations: 214.2 kB / 0.9721 GB, free: 9.402 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000129/1.055, allocations: 181.9 kB / 0.9723 GB, free: 9.219 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001897/1.055, allocations: 102.7 kB / 0.9724 GB, free: 9.113 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.865e-05/1.055, allocations: 180.7 kB / 0.9726 GB, free: 8.934 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.247e-05/1.055, allocations: 112.6 kB / 0.9727 GB, free: 8.82 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.000418/1.055, allocations: 269.8 kB / 0.9729 GB, free: 8.734 MB / 0.7325 GB Notification: Performance of sort global known variables: time 2.41e-07/1.055, allocations: 0 / 0.9729 GB, free: 8.734 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0004663/1.056, allocations: 27.03 kB / 0.973 GB, free: 8.734 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.0005777/1.056, allocations: 0.8335 MB / 0.9738 GB, free: 7.914 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0001128/1.057, allocations: 16.33 kB / 0.9738 GB, free: 7.91 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 4.318e-06/1.057, allocations: 4.281 kB / 0.9738 GB, free: 7.91 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 6.161e-06/1.057, allocations: 3.938 kB / 0.9738 GB, free: 7.906 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00132/1.058, allocations: 0.5489 MB / 0.9743 GB, free: 7.438 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005359/1.063, allocations: 2.699 MB / 0.977 GB, free: 5.875 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005562/1.064, allocations: 0.7558 MB / 0.9777 GB, free: 5.172 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0002529/1.064, allocations: 31.81 kB / 0.9777 GB, free: 5.164 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001621/1.064, allocations: 77.67 kB / 0.9778 GB, free: 5.156 MB / 0.7325 GB Notification: Performance of SimCode: time 1.533e-06/1.064, allocations: 3.938 kB / 0.9778 GB, free: 5.152 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03094/1.095, allocations: 5.835 MB / 0.9835 GB, free: 3.988 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.901/8.996, allocations: 15.39 kB / 0.9835 GB, free: 3.977 MB / 0.7325 GB (rm -f Buildings_8_Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2.pipe ; mkfifo Buildings_8_Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2.pipe >> ../files/Buildings_8_Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2.sim & python3 -m fmpy simulate --output-file Buildings_8_Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 Buildings_8_Buildings_Fluid_FMI_Conversion_Validation_InletToAirMoistAirCO2.fmu > Buildings_8_Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2.pipe 2>&1)