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.0009755/0.0009755, 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.0009204/0.0009204, allocations: 193.9 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.314/1.314, allocations: 205.1 MB / 222.4 MB, free: 4.617 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.655/1.655, allocations: 292.3 MB / 0.5489 GB, free: 12.79 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.001503/0.001503, allocations: 69.45 kB / 0.6716 GB, free: 26.36 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1913/0.1928, allocations: 114.5 MB / 0.7835 GB, free: 13.36 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FMI.Conversion.Validation.AirToOutlet): time 0.531/0.7239, allocations: 170.3 MB / 0.9498 GB, free: 1.488 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.005375/0.7293, allocations: 6.001 MB / 0.9557 GB, free: 1.008 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002396/0.7295, allocations: 9.5 kB / 0.9557 GB, free: 1.004 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.0005458/0.7301, allocations: 186.9 kB / 0.9559 GB, free: 0.9336 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0002538/0.7303, allocations: 89.41 kB / 0.956 GB, free: 0.8984 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.001014/0.7314, allocations: 0.5203 MB / 0.9565 GB, free: 0.8086 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0003631/0.7317, allocations: 413.6 kB / 0.9569 GB, free: 0.75 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002312/0.732, allocations: 137.2 kB / 0.957 GB, free: 0.7227 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002496/0.7322, allocations: 191 kB / 0.9572 GB, free: 0.707 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001824/0.7324, allocations: 148 kB / 0.9573 GB, free: 0.7031 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 3.07e-05/0.7325, allocations: 21.62 kB / 0.9573 GB, free: 0.6992 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000657/0.7331, allocations: 460.2 kB / 0.9578 GB, free: 0.6484 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 8.333e-05/0.7332, allocations: 67.3 kB / 0.9578 GB, free: 0.6484 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 9.691e-05/0.7333, allocations: 106.6 kB / 0.9579 GB, free: 0.6484 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0005146/0.7339, allocations: 440.2 kB / 0.9584 GB, free: 0.6133 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.128e-06/0.7339, allocations: 3.312 kB / 0.9584 GB, free: 0.6133 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.493e-06/0.7339, allocations: 5 kB / 0.9584 GB, free: 0.6094 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 5.751e-06/0.7339, allocations: 0 / 0.9584 GB, free: 0.6094 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.0005403/0.7344, allocations: 0.5143 MB / 0.9589 GB, free: 16.19 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.509e-05/0.7345, allocations: 13.81 kB / 0.9589 GB, free: 16.18 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.313e-05/0.7345, allocations: 56.67 kB / 0.9589 GB, free: 16.14 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002397/0.7348, allocations: 43.75 kB / 0.959 GB, free: 16.13 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002515/0.735, allocations: 258.8 kB / 0.9592 GB, free: 15.91 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001245/0.7352, allocations: 132.9 kB / 0.9594 GB, free: 15.79 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.987e-05/0.7352, allocations: 21.81 kB / 0.9594 GB, free: 15.79 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003684/0.7356, allocations: 295.2 kB / 0.9597 GB, free: 15.65 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.06e-05/0.7356, allocations: 1.219 kB / 0.9597 GB, free: 15.65 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.096e-05/0.7356, allocations: 14.47 kB / 0.9597 GB, free: 15.64 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.696e-06/0.7356, allocations: 6.625 kB / 0.9597 GB, free: 15.64 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000269/0.7359, allocations: 159.4 kB / 0.9598 GB, free: 15.63 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001107/0.737, allocations: 1.576 MB / 0.9614 GB, free: 14.33 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 6.333e-05/0.7371, allocations: 172.5 kB / 0.9615 GB, free: 14.15 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.535e-05/0.7371, allocations: 83.45 kB / 0.9616 GB, free: 14.07 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 2.295e-05/0.7372, allocations: 79.22 kB / 0.9617 GB, free: 13.99 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.218e-05/0.7372, allocations: 107.1 kB / 0.9618 GB, free: 13.88 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=0): time 2.004e-06/0.7372, allocations: 0 / 0.9618 GB, free: 13.88 MB / 0.7325 GB Notification: Performance of matching and sorting (n=0): time 8.174e-05/0.7373, allocations: 47.91 kB / 0.9618 GB, free: 13.84 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.913e-05/0.7373, allocations: 134.3 kB / 0.962 GB, free: 13.7 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003087/0.7377, allocations: 309.7 kB / 0.9623 GB, free: 13.58 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 9.909e-06/0.7377, allocations: 25.7 kB / 0.9623 GB, free: 13.55 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001032/0.7378, allocations: 190.9 kB / 0.9625 GB, free: 13.42 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 4.328e-06/0.7378, allocations: 4.688 kB / 0.9625 GB, free: 13.42 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.284e-05/0.7379, allocations: 43.28 kB / 0.9625 GB, free: 13.4 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 9.743e-05/0.738, allocations: 332.6 kB / 0.9628 GB, free: 13.09 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.364e-05/0.7381, allocations: 37.81 kB / 0.9629 GB, free: 13.09 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001451/0.7382, allocations: 157.1 kB / 0.963 GB, free: 12.92 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001976/0.7384, allocations: 198 kB / 0.9632 GB, free: 12.74 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.567e-06/0.7384, allocations: 3.312 kB / 0.9632 GB, free: 12.74 MB / 0.7325 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003698/0.7388, allocations: 220.9 kB / 0.9634 GB, free: 12.66 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.7e-05/0.7388, allocations: 13.16 kB / 0.9634 GB, free: 12.66 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.614e-06/0.7388, allocations: 5.156 kB / 0.9634 GB, free: 12.66 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.486e-05/0.7389, allocations: 6.5 kB / 0.9634 GB, free: 12.66 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001388/0.739, allocations: 36.88 kB / 0.9635 GB, free: 12.66 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.075e-05/0.739, allocations: 16.52 kB / 0.9635 GB, free: 12.65 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000158/0.7392, allocations: 28.94 kB / 0.9635 GB, free: 12.63 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.144e-05/0.7392, allocations: 14.75 kB / 0.9635 GB, free: 12.63 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.0001214/0.7393, allocations: 214.1 kB / 0.9637 GB, free: 12.44 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.349e-05/0.7394, allocations: 129.3 kB / 0.9639 GB, free: 12.32 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.196e-05/0.7395, allocations: 126.8 kB / 0.964 GB, free: 12.21 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.406e-05/0.7395, allocations: 186 kB / 0.9642 GB, free: 12.02 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.784e-05/0.7396, allocations: 179.6 kB / 0.9643 GB, free: 11.84 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.176e-05/0.7397, allocations: 180.2 kB / 0.9645 GB, free: 11.66 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000284/0.74, allocations: 482.3 kB / 0.965 GB, free: 11.21 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.315e-05/0.74, allocations: 102.4 kB / 0.9651 GB, free: 11.11 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.067e-05/0.74, allocations: 106.7 kB / 0.9652 GB, free: 11 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.604e-05/0.7401, allocations: 187.8 kB / 0.9653 GB, free: 10.81 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.06e-05/0.7402, allocations: 185.6 kB / 0.9655 GB, free: 10.62 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.938e-05/0.7402, allocations: 182.3 kB / 0.9657 GB, free: 10.45 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.333e-05/0.7403, allocations: 177.3 kB / 0.9659 GB, free: 10.27 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001323/0.7404, allocations: 332.2 kB / 0.9662 GB, free: 9.934 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000102/0.7405, allocations: 205.3 kB / 0.9664 GB, free: 9.723 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.124e-05/0.7406, allocations: 184.7 kB / 0.9666 GB, free: 9.539 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001169/0.7407, allocations: 105 kB / 0.9667 GB, free: 9.43 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.963e-05/0.7408, allocations: 181.3 kB / 0.9668 GB, free: 9.246 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.271e-05/0.7408, allocations: 107.5 kB / 0.9669 GB, free: 9.141 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.000238/0.7411, allocations: 223.6 kB / 0.9671 GB, free: 9.055 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.4e-07/0.7411, allocations: 0 / 0.9671 GB, free: 9.055 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0003514/0.7414, allocations: 54.53 kB / 0.9672 GB, free: 9.043 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.0005765/0.742, allocations: 0.8594 MB / 0.968 GB, free: 8.223 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0001973/0.7422, allocations: 83.5 kB / 0.9681 GB, free: 8.207 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.7422, allocations: 0 / 0.9681 GB, free: 8.207 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 2.535e-06/0.7423, allocations: 2.344 kB / 0.9681 GB, free: 8.207 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004545/0.7427, allocations: 477.9 kB / 0.9686 GB, free: 7.762 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002353/0.7451, allocations: 2.512 MB / 0.971 GB, free: 5.977 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002562/0.7453, allocations: 0.7405 MB / 0.9717 GB, free: 5.277 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0001423/0.7455, allocations: 40.61 kB / 0.9718 GB, free: 5.262 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.433e-05/0.7456, allocations: 55.28 kB / 0.9718 GB, free: 5.258 MB / 0.7325 GB Notification: Performance of SimCode: time 2.21e-07/0.7456, allocations: 0 / 0.9718 GB, free: 5.258 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09377/0.8394, allocations: 3.979 MB / 0.9757 GB, free: 4.703 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.77/9.609, allocations: 4.219 kB / 0.9757 GB, free: 4.703 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Fluid_FMI_Conversion_Validation_AirToOutlet_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Fluid_FMI_Conversion_Validation_AirToOutlet.fmu > Buildings_8_Buildings.Fluid.FMI.Conversion.Validation.AirToOutlet.pipe 2>&1)