Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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: translateModel(BuildingSystems.Fluid.FMI.Conversion.Validation.InletToAirMoistAir,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.FMI.Conversion.Validation.InletToAirMoistAir") translateModel(BuildingSystems.Fluid.FMI.Conversion.Validation.InletToAirMoistAir,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.FMI.Conversion.Validation.InletToAirMoistAir") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001392/0.001392, allocations: 111.3 kB / 15.23 MB, free: 0.6602 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001765/0.001765, allocations: 192.7 kB / 16.13 MB, free: 6.707 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.361/1.361, allocations: 222.9 MB / 239.8 MB, free: 4.625 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001993/0.001993, allocations: 286.5 kB / 290.2 MB, free: 2.215 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9442/0.9442, allocations: 169.2 MB / 0.4977 GB, free: 14.14 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001665/0.001665, allocations: 90.48 kB / 0.5945 GB, free: 28.42 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.154/0.1557, allocations: 86.99 MB / 0.6794 GB, free: 1.16 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.FMI.Conversion.Validation.InletToAirMoistAir): time 0.465/0.6207, allocations: 171.8 MB / 0.8472 GB, free: 14.53 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.009018/0.6297, allocations: 9.504 MB / 0.8565 GB, free: 7.734 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003391/0.6301, allocations: 12.66 kB / 0.8565 GB, free: 7.727 MB / 0.5762 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/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/BuildingSystems 2.0.0-master/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/BuildingSystems 2.0.0-master/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/BuildingSystems 2.0.0-master/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.000639/0.6308, allocations: 156.7 kB / 0.8567 GB, free: 7.598 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.0002257/0.631, allocations: 82.19 kB / 0.8567 GB, free: 7.527 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001304/0.6311, allocations: 54.89 kB / 0.8568 GB, free: 7.484 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0003299/0.6315, allocations: 375.3 kB / 0.8571 GB, free: 7.277 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002392/0.6317, allocations: 142.5 kB / 0.8573 GB, free: 7.191 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003117/0.632, allocations: 152.4 kB / 0.8574 GB, free: 7.105 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001114/0.6322, allocations: 106 kB / 0.8575 GB, free: 7.035 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 2.099e-05/0.6322, allocations: 10.44 kB / 0.8575 GB, free: 7.035 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 2.831e-05/0.6322, allocations: 12.19 kB / 0.8575 GB, free: 7.035 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 3.48e-05/0.6323, allocations: 36.14 kB / 0.8576 GB, free: 7.008 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 9.021e-05/0.6324, allocations: 95.11 kB / 0.8577 GB, free: 6.945 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0001845/0.6325, allocations: 206.4 kB / 0.8579 GB, free: 6.793 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.556e-06/0.6326, allocations: 0 / 0.8579 GB, free: 6.793 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.142e-06/0.6326, allocations: 0 / 0.8579 GB, free: 6.793 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 4.95e-06/0.6326, allocations: 0 / 0.8579 GB, free: 6.793 MB / 0.5762 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.0004886/0.6331, allocations: 474.7 kB / 0.8583 GB, free: 6.336 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.683e-05/0.6331, allocations: 8.438 kB / 0.8583 GB, free: 6.336 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.59e-05/0.6332, allocations: 26.28 kB / 0.8584 GB, free: 6.32 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002551/0.6334, allocations: 245.5 kB / 0.8586 GB, free: 6.066 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.817e-05/0.6334, allocations: 20.06 kB / 0.8586 GB, free: 6.055 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.492e-05/0.6335, allocations: 17.59 kB / 0.8586 GB, free: 6.051 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003281/0.6338, allocations: 230.8 kB / 0.8588 GB, free: 5.855 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.036e-05/0.6338, allocations: 5.844 kB / 0.8589 GB, free: 5.852 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.902e-05/0.6338, allocations: 9.531 kB / 0.8589 GB, free: 5.844 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.889e-06/0.6339, allocations: 12 kB / 0.8589 GB, free: 5.84 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001347/0.634, allocations: 83.56 kB / 0.859 GB, free: 5.801 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001012/0.635, allocations: 1.436 MB / 0.8604 GB, free: 4.387 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 8.597e-05/0.6351, allocations: 169.1 kB / 0.8605 GB, free: 4.211 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.221e-05/0.6352, allocations: 80.14 kB / 0.8606 GB, free: 4.129 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 3.806e-05/0.6352, allocations: 75.28 kB / 0.8607 GB, free: 4.055 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.124e-05/0.6352, allocations: 108.5 kB / 0.8608 GB, free: 3.941 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=0): time 1.112e-06/0.6353, allocations: 4 kB / 0.8608 GB, free: 3.938 MB / 0.5762 GB Notification: Performance of matching and sorting (n=0): time 8.636e-05/0.6353, allocations: 50.8 kB / 0.8608 GB, free: 3.891 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.348e-05/0.6354, allocations: 130.7 kB / 0.8609 GB, free: 3.75 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000285/0.6357, allocations: 288.1 kB / 0.8612 GB, free: 3.562 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 1.053e-05/0.6357, allocations: 29.64 kB / 0.8612 GB, free: 3.527 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001018/0.6358, allocations: 144 kB / 0.8614 GB, free: 3.395 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 2.865e-06/0.6358, allocations: 3.938 kB / 0.8614 GB, free: 3.391 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.913e-05/0.6359, allocations: 16.53 kB / 0.8614 GB, free: 3.371 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001216/0.636, allocations: 339.8 kB / 0.8617 GB, free: 3.035 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.294e-05/0.636, allocations: 6.781 kB / 0.8617 GB, free: 3.031 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.254e-05/0.636, allocations: 32.06 kB / 0.8618 GB, free: 2.992 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.307e-05/0.6361, allocations: 40.66 kB / 0.8618 GB, free: 2.945 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.603e-06/0.6361, allocations: 0 / 0.8618 GB, free: 2.945 MB / 0.5762 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001197/0.6362, allocations: 78.62 kB / 0.8619 GB, free: 2.887 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.152e-05/0.6362, allocations: 4.438 kB / 0.8619 GB, free: 2.887 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.288e-06/0.6363, allocations: 3 kB / 0.8619 GB, free: 2.887 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.257e-06/0.6363, allocations: 0 / 0.8619 GB, free: 2.887 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.521e-05/0.6363, allocations: 4.781 kB / 0.8619 GB, free: 2.887 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.284e-06/0.6363, allocations: 3.188 kB / 0.8619 GB, free: 2.887 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.7e-05/0.6364, allocations: 29.41 kB / 0.8619 GB, free: 2.863 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.07e-06/0.6364, allocations: 2.094 kB / 0.8619 GB, free: 2.863 MB / 0.5762 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 0.0001073/0.6365, allocations: 202.4 kB / 0.8621 GB, free: 2.664 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.604e-05/0.6366, allocations: 130 kB / 0.8622 GB, free: 2.539 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.186e-05/0.6367, allocations: 125.7 kB / 0.8624 GB, free: 2.414 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.769e-05/0.6367, allocations: 176.3 kB / 0.8625 GB, free: 2.234 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.366e-05/0.6368, allocations: 182.6 kB / 0.8627 GB, free: 2.051 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.722e-05/0.6368, allocations: 180.2 kB / 0.8629 GB, free: 1.867 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002782/0.6371, allocations: 474.2 kB / 0.8633 GB, free: 1.371 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.265e-05/0.6372, allocations: 111.7 kB / 0.8634 GB, free: 1.258 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.436e-05/0.6372, allocations: 101 kB / 0.8635 GB, free: 1.152 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.634e-05/0.6373, allocations: 176.3 kB / 0.8637 GB, free: 0.9727 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.179e-05/0.6373, allocations: 186.6 kB / 0.8639 GB, free: 0.7852 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.482e-05/0.6374, allocations: 176.3 kB / 0.864 GB, free: 0.6055 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.24e-05/0.6374, allocations: 190.6 kB / 0.8642 GB, free: 424 kB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001219/0.6376, allocations: 319.6 kB / 0.8645 GB, free: 92 kB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001028/0.6377, allocations: 207.9 kB / 0.8647 GB, free: 15.87 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.667e-05/0.6378, allocations: 176.3 kB / 0.8649 GB, free: 15.69 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.577e-05/0.6379, allocations: 104.9 kB / 0.865 GB, free: 15.58 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.774e-05/0.638, allocations: 182.4 kB / 0.8652 GB, free: 15.39 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.887e-05/0.638, allocations: 105 kB / 0.8653 GB, free: 15.29 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0001671/0.6382, allocations: 210 kB / 0.8655 GB, free: 15.15 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.51e-07/0.6382, allocations: 7.938 kB / 0.8655 GB, free: 15.14 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0002438/0.6384, allocations: 22.59 kB / 0.8655 GB, free: 15.14 MB / 0.5919 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.0001342/0.6386, allocations: 173.4 kB / 0.8657 GB, free: 14.98 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 5.993e-05/0.6386, allocations: 11.5 kB / 0.8657 GB, free: 14.97 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 1.543e-06/0.6386, allocations: 0 / 0.8657 GB, free: 14.97 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 4.358e-06/0.6387, allocations: 3.938 kB / 0.8657 GB, free: 14.97 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008216/0.6395, allocations: 0.6043 MB / 0.8663 GB, free: 14.4 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004767/0.64, allocations: 406.5 kB / 0.8667 GB, free: 14.07 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002685/0.6402, allocations: 0.7309 MB / 0.8674 GB, free: 13.34 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 7.353e-05/0.6403, allocations: 22.25 kB / 0.8674 GB, free: 13.34 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.509e-05/0.6404, allocations: 17.59 kB / 0.8674 GB, free: 13.33 MB / 0.5919 GB Notification: Performance of SimCode: time 2.5e-07/0.6404, allocations: 4 kB / 0.8674 GB, free: 13.32 MB / 0.5919 GB Notification: Performance of Templates: time 0.004471/0.6448, allocations: 2.305 MB / 0.8697 GB, free: 12.2 MB / 0.5919 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.FMI.Conversion.Validation.InletToAirMoistAir.makefile (rm -f BuildingSystems_BuildingSystems.Fluid.FMI.Conversion.Validation.InletToAirMoistAir.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.FMI.Conversion.Validation.InletToAirMoistAir.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.FMI.Conversion.Validation.InletToAirMoistAir.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.FMI.Conversion.Validation.InletToAirMoistAir.sim & ./BuildingSystems_BuildingSystems.Fluid.FMI.Conversion.Validation.InletToAirMoistAir -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.FMI.Conversion.Validation.InletToAirMoistAir.pipe 2>&1)