Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAir.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.InletToAirMoistAir,fileNamePrefix="Buildings_8_Buildings_Fluid_FMI_Conversion_Validation_InletToAirMoistAir",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAir,fileNamePrefix="Buildings_8_Buildings_Fluid_FMI_Conversion_Validation_InletToAirMoistAir",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.001273/0.001273, 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.001068/0.001068, allocations: 192.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.301/1.301, allocations: 205.1 MB / 222.4 MB, free: 4.59 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.641/1.641, allocations: 292.3 MB / 0.5489 GB, free: 12.84 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.001366/0.001366, allocations: 72.25 kB / 0.6716 GB, free: 26.21 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1866/0.188, allocations: 114.5 MB / 0.7835 GB, free: 13.4 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAir): time 0.5064/0.6944, allocations: 174 MB / 0.9534 GB, free: 1.156 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.006733/0.7011, allocations: 9.513 MB / 0.9627 GB, free: 392 kB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002947/0.7015, allocations: 6.406 kB / 0.9627 GB, free: 392 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 (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/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 (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/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.0005054/0.702, allocations: 198.5 kB / 0.9629 GB, free: 308 kB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0002193/0.7022, allocations: 91.88 kB / 0.963 GB, free: 272 kB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001631/0.7024, allocations: 65.03 kB / 0.963 GB, free: 268 kB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0004042/0.7028, allocations: 312.3 kB / 0.9633 GB, free: 204 kB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002963/0.7031, allocations: 156.9 kB / 0.9635 GB, free: 172 kB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002824/0.7034, allocations: 161.4 kB / 0.9636 GB, free: 156 kB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000106/0.7036, allocations: 97.75 kB / 0.9637 GB, free: 156 kB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 2.267e-05/0.7036, allocations: 17.5 kB / 0.9637 GB, free: 156 kB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 3.07e-05/0.7036, allocations: 15.53 kB / 0.9638 GB, free: 156 kB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 3.318e-05/0.7037, allocations: 39.41 kB / 0.9638 GB, free: 156 kB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 9.628e-05/0.7038, allocations: 102.3 kB / 0.9639 GB, free: 152 kB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001965/0.704, allocations: 202.9 kB / 0.9641 GB, free: 140 kB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.928e-06/0.704, allocations: 0 / 0.9641 GB, free: 140 kB / 0.7169 GB Notification: Performance of FrontEnd: time 1.563e-06/0.704, allocations: 0 / 0.9641 GB, free: 140 kB / 0.7169 GB Notification: Performance of Transformations before backend: time 7.223e-06/0.704, allocations: 0 / 0.9641 GB, free: 140 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: 49 * Number of variables: 49 Notification: Performance of Generate backend data structure: time 0.0004276/0.7044, allocations: 481.3 kB / 0.9645 GB, free: 15.72 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.927e-05/0.7045, allocations: 9.344 kB / 0.9646 GB, free: 15.72 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.413e-05/0.7045, allocations: 55.64 kB / 0.9646 GB, free: 15.68 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.196e-05/0.7046, allocations: 26.72 kB / 0.9646 GB, free: 15.67 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000237/0.7048, allocations: 244 kB / 0.9649 GB, free: 15.45 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.863e-05/0.7048, allocations: 18.91 kB / 0.9649 GB, free: 15.45 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.633e-05/0.7049, allocations: 21.41 kB / 0.9649 GB, free: 15.45 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002911/0.7052, allocations: 231.9 kB / 0.9651 GB, free: 15.33 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.024e-05/0.7052, allocations: 9.031 kB / 0.9651 GB, free: 15.32 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.687e-05/0.7052, allocations: 14.12 kB / 0.9651 GB, free: 15.32 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.067e-05/0.7052, allocations: 5.281 kB / 0.9652 GB, free: 15.32 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001254/0.7054, allocations: 87.27 kB / 0.9652 GB, free: 15.31 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000809/0.7062, allocations: 1.44 MB / 0.9666 GB, free: 14.08 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 7.104e-05/0.7063, allocations: 165.1 kB / 0.9668 GB, free: 13.91 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.1e-05/0.7063, allocations: 85.61 kB / 0.9669 GB, free: 13.82 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 2.565e-05/0.7063, allocations: 75.28 kB / 0.967 GB, free: 13.75 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.036e-05/0.7064, allocations: 116.3 kB / 0.9671 GB, free: 13.62 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=0): time 8.82e-07/0.7064, allocations: 0 / 0.9671 GB, free: 13.62 MB / 0.7325 GB Notification: Performance of matching and sorting (n=0): time 7.726e-05/0.7065, allocations: 44.58 kB / 0.9671 GB, free: 13.59 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.179e-05/0.7065, allocations: 131.7 kB / 0.9672 GB, free: 13.45 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002553/0.7068, allocations: 289.3 kB / 0.9675 GB, free: 13.33 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 1.269e-05/0.7068, allocations: 30.61 kB / 0.9675 GB, free: 13.3 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 8.116e-05/0.7069, allocations: 142.2 kB / 0.9677 GB, free: 13.21 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 2.325e-06/0.7069, allocations: 0 / 0.9677 GB, free: 13.21 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.753e-05/0.7069, allocations: 21.44 kB / 0.9677 GB, free: 13.19 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 9.927e-05/0.707, allocations: 336.3 kB / 0.968 GB, free: 12.88 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.191e-05/0.707, allocations: 4.359 kB / 0.968 GB, free: 12.88 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.082e-05/0.7071, allocations: 25.17 kB / 0.968 GB, free: 12.84 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.982e-05/0.7071, allocations: 40.11 kB / 0.9681 GB, free: 12.8 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.425e-06/0.7071, allocations: 0.625 kB / 0.9681 GB, free: 12.8 MB / 0.7325 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001147/0.7072, allocations: 74.41 kB / 0.9682 GB, free: 12.76 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.115e-05/0.7073, allocations: 5.938 kB / 0.9682 GB, free: 12.76 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.838e-06/0.7073, allocations: 1.219 kB / 0.9682 GB, free: 12.76 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.016e-05/0.7073, allocations: 1.125 kB / 0.9682 GB, free: 12.76 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.63e-05/0.7073, allocations: 7.531 kB / 0.9682 GB, free: 12.76 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.259e-06/0.7074, allocations: 7.25 kB / 0.9682 GB, free: 12.75 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.581e-05/0.7074, allocations: 22.47 kB / 0.9682 GB, free: 12.74 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.741e-06/0.7074, allocations: 1.188 kB / 0.9682 GB, free: 12.74 MB / 0.7325 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * 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 (4): * Single equations (assignments): 4 * 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.724e-05/0.7075, allocations: 206.4 kB / 0.9684 GB, free: 12.55 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.893e-05/0.7076, allocations: 127.1 kB / 0.9685 GB, free: 12.43 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.728e-05/0.7077, allocations: 120.5 kB / 0.9686 GB, free: 12.32 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.154e-05/0.7077, allocations: 181.2 kB / 0.9688 GB, free: 12.13 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.156e-05/0.7078, allocations: 184.3 kB / 0.969 GB, free: 11.95 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.078e-05/0.7078, allocations: 183.8 kB / 0.9692 GB, free: 11.77 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000247/0.7081, allocations: 472.7 kB / 0.9696 GB, free: 11.32 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.481e-05/0.7081, allocations: 101 kB / 0.9697 GB, free: 11.21 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.755e-05/0.7082, allocations: 109.8 kB / 0.9698 GB, free: 11.1 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.679e-05/0.7082, allocations: 183.2 kB / 0.97 GB, free: 10.92 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.092e-05/0.7083, allocations: 182.6 kB / 0.9702 GB, free: 10.73 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.631e-05/0.7083, allocations: 181.4 kB / 0.9703 GB, free: 10.55 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.005e-05/0.7084, allocations: 185.7 kB / 0.9705 GB, free: 10.37 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001216/0.7085, allocations: 333.9 kB / 0.9708 GB, free: 10.04 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 7.928e-05/0.7086, allocations: 200.3 kB / 0.971 GB, free: 9.824 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.915e-05/0.7087, allocations: 181.5 kB / 0.9712 GB, free: 9.641 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.096e-05/0.7088, allocations: 108.9 kB / 0.9713 GB, free: 9.531 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.171e-05/0.7088, allocations: 184.9 kB / 0.9715 GB, free: 9.348 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.67e-05/0.7089, allocations: 101 kB / 0.9716 GB, free: 9.242 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0001771/0.709, allocations: 212.9 kB / 0.9718 GB, free: 9.16 MB / 0.7325 GB Notification: Performance of sort global known variables: time 7.82e-07/0.709, allocations: 0 / 0.9718 GB, free: 9.16 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0002331/0.7093, allocations: 22.95 kB / 0.9718 GB, free: 9.16 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.0003227/0.7096, allocations: 0.8256 MB / 0.9726 GB, free: 8.34 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 6.485e-05/0.7097, allocations: 14.91 kB / 0.9726 GB, free: 8.336 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 1.693e-06/0.7097, allocations: 0 / 0.9726 GB, free: 8.336 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 2.735e-06/0.7097, allocations: 3.938 kB / 0.9726 GB, free: 8.332 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007517/0.7104, allocations: 0.5261 MB / 0.9731 GB, free: 7.871 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001898/0.7124, allocations: 2.23 MB / 0.9753 GB, free: 6.371 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002482/0.7126, allocations: 0.7247 MB / 0.976 GB, free: 5.672 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 7.55e-05/0.7127, allocations: 24.19 kB / 0.976 GB, free: 5.668 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.128e-05/0.7128, allocations: 55.83 kB / 0.9761 GB, free: 5.66 MB / 0.7325 GB Notification: Performance of SimCode: time 2.11e-07/0.7128, allocations: 0 / 0.9761 GB, free: 5.66 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2838/0.9966, allocations: 4.618 MB / 0.9806 GB, free: 5.094 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.306/10.3, allocations: 18.95 kB / 0.9806 GB, free: 5.082 MB / 0.7325 GB (rm -f Buildings_8_Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAir.pipe ; mkfifo Buildings_8_Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAir.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAir.pipe >> ../files/Buildings_8_Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAir.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Fluid_FMI_Conversion_Validation_InletToAirMoistAir_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Fluid_FMI_Conversion_Validation_InletToAirMoistAir.fmu > Buildings_8_Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAir.pipe 2>&1)