Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.Fluid.FMI.Conversion.Validation.AirToOutlet.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.AirToOutlet,fileNamePrefix="Buildings_8_Buildings_Fluid_FMI_Conversion_Validation_AirToOutlet",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.FMI.Conversion.Validation.AirToOutlet,fileNamePrefix="Buildings_8_Buildings_Fluid_FMI_Conversion_Validation_AirToOutlet",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.001516/0.001516, allocations: 108 kB / 15.61 MB, free: 128 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.00188/0.00188, allocations: 197.7 kB / 16.53 MB, free: 6.672 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.468/1.468, 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.697/1.697, allocations: 292.3 MB / 0.5489 GB, free: 12.82 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.001512/0.001512, allocations: 71.06 kB / 0.6716 GB, free: 26.23 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2439/0.2454, allocations: 114.5 MB / 0.7835 GB, free: 13.37 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FMI.Conversion.Validation.AirToOutlet): time 0.7525/0.9979, allocations: 170.3 MB / 0.9498 GB, free: 1.508 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.009408/1.007, allocations: 6.002 MB / 0.9557 GB, free: 1.027 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005795/1.008, allocations: 10.47 kB / 0.9557 GB, free: 1.023 MB / 0.7169 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/Fluid/FMI/Conversion/AirToOutlet.mo:96:3-98:60:writable] Warning: Connector bacPro_internal is not balanced: The number of potential variables (2) 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/AirToOutlet.mo:96:3-98: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/Conversion/AirToOutlet.mo:96:3-98:60:writable] Warning: Connector bacPro_internal is not balanced: The number of potential variables (2) 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/AirToOutlet.mo:96:3-98: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). Notification: Performance of NFTyping.typeComponents: time 0.0007358/1.009, allocations: 187 kB / 0.9559 GB, free: 0.9492 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0003616/1.009, allocations: 95.09 kB / 0.956 GB, free: 0.9141 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.001545/1.011, allocations: 0.517 MB / 0.9565 GB, free: 0.8242 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0005304/1.011, allocations: 417.7 kB / 0.9569 GB, free: 0.7656 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003468/1.012, allocations: 132.6 kB / 0.957 GB, free: 0.7422 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003974/1.012, allocations: 189.3 kB / 0.9572 GB, free: 0.7227 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000245/1.012, allocations: 152.1 kB / 0.9573 GB, free: 0.7188 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 3.93e-05/1.012, allocations: 17.41 kB / 0.9573 GB, free: 0.7188 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009208/1.013, allocations: 458.1 kB / 0.9578 GB, free: 0.668 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0001056/1.013, allocations: 68.69 kB / 0.9578 GB, free: 0.668 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0001241/1.014, allocations: 107.4 kB / 0.9579 GB, free: 0.668 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0006199/1.014, allocations: 443 kB / 0.9584 GB, free: 0.6328 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.987e-06/1.014, allocations: 1.031 kB / 0.9584 GB, free: 0.6328 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.124e-06/1.014, allocations: 0 / 0.9584 GB, free: 0.6328 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 7.134e-06/1.014, allocations: 3.938 kB / 0.9584 GB, free: 0.6289 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: 56 * Number of variables: 56 Notification: Performance of Generate backend data structure: time 0.0006585/1.015, allocations: 0.5204 MB / 0.9589 GB, free: 16.2 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.057e-05/1.015, allocations: 13.22 kB / 0.9589 GB, free: 16.2 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.475e-05/1.015, allocations: 60.11 kB / 0.9589 GB, free: 16.16 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002725/1.015, allocations: 42 kB / 0.959 GB, free: 16.15 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002891/1.016, allocations: 252.8 kB / 0.9592 GB, free: 15.93 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001592/1.016, allocations: 132.3 kB / 0.9593 GB, free: 15.8 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.339e-05/1.016, allocations: 25.69 kB / 0.9594 GB, free: 15.8 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004144/1.016, allocations: 296 kB / 0.9596 GB, free: 15.66 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.235e-05/1.016, allocations: 3.938 kB / 0.9597 GB, free: 15.66 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.459e-05/1.016, allocations: 14.88 kB / 0.9597 GB, free: 15.66 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.029e-05/1.016, allocations: 5.656 kB / 0.9597 GB, free: 15.66 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002903/1.017, allocations: 158.4 kB / 0.9598 GB, free: 15.65 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001376/1.018, allocations: 1.579 MB / 0.9614 GB, free: 14.34 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 8.877e-05/1.018, allocations: 174.1 kB / 0.9615 GB, free: 14.16 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.291e-05/1.018, allocations: 80.14 kB / 0.9616 GB, free: 14.08 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 3.315e-05/1.018, allocations: 75.28 kB / 0.9617 GB, free: 14.01 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.935e-05/1.018, allocations: 110.2 kB / 0.9618 GB, free: 13.89 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=0): time 1.122e-06/1.018, allocations: 0 / 0.9618 GB, free: 13.89 MB / 0.7325 GB Notification: Performance of matching and sorting (n=0): time 9.829e-05/1.018, allocations: 53.62 kB / 0.9618 GB, free: 13.85 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.503e-05/1.018, allocations: 126.7 kB / 0.962 GB, free: 13.71 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004024/1.019, allocations: 315.1 kB / 0.9623 GB, free: 13.59 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 1.274e-05/1.019, allocations: 25.7 kB / 0.9623 GB, free: 13.56 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001477/1.019, allocations: 189.6 kB / 0.9625 GB, free: 13.43 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 8.155e-06/1.019, allocations: 8.203 kB / 0.9625 GB, free: 13.43 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.68e-05/1.019, allocations: 41.52 kB / 0.9625 GB, free: 13.41 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001419/1.019, allocations: 331.8 kB / 0.9628 GB, free: 13.1 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.379e-05/1.019, allocations: 38.08 kB / 0.9629 GB, free: 13.09 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001874/1.02, allocations: 161.2 kB / 0.963 GB, free: 12.93 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002549/1.02, allocations: 196.7 kB / 0.9632 GB, free: 12.75 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.358e-06/1.02, allocations: 1.219 kB / 0.9632 GB, free: 12.75 MB / 0.7325 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0004644/1.02, allocations: 217.7 kB / 0.9634 GB, free: 12.68 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 2.47e-05/1.02, allocations: 13.72 kB / 0.9634 GB, free: 12.68 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.359e-05/1.02, allocations: 7.156 kB / 0.9634 GB, free: 12.68 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.244e-05/1.02, allocations: 9.453 kB / 0.9634 GB, free: 12.68 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001799/1.021, allocations: 39.89 kB / 0.9635 GB, free: 12.67 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.716e-05/1.021, allocations: 11.73 kB / 0.9635 GB, free: 12.66 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001785/1.021, allocations: 29.06 kB / 0.9635 GB, free: 12.65 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.148e-05/1.021, allocations: 10.72 kB / 0.9635 GB, free: 12.65 MB / 0.7325 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 20 * 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 (20): * Single equations (assignments): 20 * 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.0001557/1.021, allocations: 221 kB / 0.9637 GB, free: 12.45 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.354e-05/1.021, allocations: 126 kB / 0.9639 GB, free: 12.33 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.237e-05/1.021, allocations: 125.2 kB / 0.964 GB, free: 12.22 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.248e-05/1.021, allocations: 184.5 kB / 0.9642 GB, free: 12.04 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.357e-05/1.021, allocations: 177.5 kB / 0.9643 GB, free: 11.86 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.575e-05/1.021, allocations: 186.5 kB / 0.9645 GB, free: 11.67 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003495/1.022, allocations: 481 kB / 0.965 GB, free: 11.23 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.786e-05/1.022, allocations: 106 kB / 0.9651 GB, free: 11.12 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.901e-05/1.022, allocations: 108.2 kB / 0.9652 GB, free: 11.01 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.902e-05/1.022, allocations: 181.3 kB / 0.9653 GB, free: 10.83 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.106e-05/1.022, allocations: 181.5 kB / 0.9655 GB, free: 10.64 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.07e-05/1.022, allocations: 181 kB / 0.9657 GB, free: 10.46 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.16e-05/1.022, allocations: 185 kB / 0.9659 GB, free: 10.28 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001647/1.022, allocations: 329.8 kB / 0.9662 GB, free: 9.949 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001328/1.022, allocations: 204.6 kB / 0.9664 GB, free: 9.742 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001012/1.023, allocations: 181.7 kB / 0.9665 GB, free: 9.559 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000137/1.023, allocations: 111.3 kB / 0.9666 GB, free: 9.445 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.62e-05/1.023, allocations: 178.7 kB / 0.9668 GB, free: 9.266 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.514e-05/1.023, allocations: 110.4 kB / 0.9669 GB, free: 9.152 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0002497/1.023, allocations: 219.2 kB / 0.9671 GB, free: 9.07 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.3e-07/1.023, allocations: 0 / 0.9671 GB, free: 9.07 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0004177/1.023, allocations: 57.75 kB / 0.9672 GB, free: 9.059 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.0006895/1.024, allocations: 0.8582 MB / 0.968 GB, free: 8.238 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0002158/1.024, allocations: 82.72 kB / 0.9681 GB, free: 8.223 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/1.024, allocations: 1.094 kB / 0.9681 GB, free: 8.223 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 2.294e-06/1.024, allocations: 1.156 kB / 0.9681 GB, free: 8.223 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005793/1.025, allocations: 488.7 kB / 0.9686 GB, free: 7.77 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002798/1.028, allocations: 2.507 MB / 0.971 GB, free: 5.992 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003455/1.028, allocations: 0.7381 MB / 0.9717 GB, free: 5.293 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0001604/1.028, allocations: 36.38 kB / 0.9718 GB, free: 5.281 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.73e-05/1.028, allocations: 55.75 kB / 0.9718 GB, free: 5.277 MB / 0.7325 GB Notification: Performance of SimCode: time 6.12e-07/1.028, allocations: 0 / 0.9718 GB, free: 5.277 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0244/1.053, allocations: 3.979 MB / 0.9757 GB, free: 4.711 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.087/9.14, allocations: 7.281 kB / 0.9757 GB, free: 4.711 MB / 0.7325 GB (rm -f Buildings_8_Buildings.Fluid.FMI.Conversion.Validation.AirToOutlet.pipe ; mkfifo Buildings_8_Buildings.Fluid.FMI.Conversion.Validation.AirToOutlet.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.FMI.Conversion.Validation.AirToOutlet.pipe >> ../files/Buildings_8_Buildings.Fluid.FMI.Conversion.Validation.AirToOutlet.sim & python3 -m fmpy simulate --output-file Buildings_8_Buildings.Fluid.FMI.Conversion.Validation.AirToOutlet_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 Buildings_8_Buildings_Fluid_FMI_Conversion_Validation_AirToOutlet.fmu > Buildings_8_Buildings.Fluid.FMI.Conversion.Validation.AirToOutlet.pipe 2>&1)