Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.DewPointTemperature.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: "" <> buildModelFMU(BuildingSystems.Utilities.Psychrometrics.Examples.DewPointTemperature,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Psychrometrics_Examples_DewPointTemperature",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Utilities.Psychrometrics.Examples.DewPointTemperature,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Psychrometrics_Examples_DewPointTemperature",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.007299/0.007299, allocations: 97.62 kB / 15.73 MB, free: 6.047 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.00188/0.00188, allocations: 202.5 kB / 16.68 MB, free: 5.969 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.503/1.503, allocations: 222.9 MB / 240.4 MB, free: 4.191 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002538/0.002539, allocations: 270.8 kB / 290.8 MB, free: 1.805 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.085/1.085, allocations: 169.3 MB / 0.4983 GB, free: 13.8 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002986/0.002986, allocations: 95.47 kB / 0.681 GB, free: 28 kB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1977/0.2007, allocations: 86.97 MB / 0.7659 GB, free: 8.977 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Psychrometrics.Examples.DewPointTemperature): time 0.002919/0.2036, allocations: 1.526 MB / 0.7674 GB, free: 7.441 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.001419/0.2051, allocations: 0.8764 MB / 0.7682 GB, free: 6.562 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.163e-05/0.2052, allocations: 3.938 kB / 0.7682 GB, free: 6.559 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 8.186e-05/0.2053, allocations: 11.92 kB / 0.7682 GB, free: 6.547 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 4.473e-05/0.2053, allocations: 15.92 kB / 0.7683 GB, free: 6.531 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005422/0.2059, allocations: 191.1 kB / 0.7684 GB, free: 6.344 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0001168/0.206, allocations: 55.73 kB / 0.7685 GB, free: 6.289 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 9.495e-05/0.2061, allocations: 24.19 kB / 0.7685 GB, free: 6.266 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 4.922e-05/0.2062, allocations: 23.92 kB / 0.7685 GB, free: 6.242 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 4.918e-05/0.2062, allocations: 19.92 kB / 0.7686 GB, free: 6.223 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 1.154e-05/0.2062, allocations: 4 kB / 0.7686 GB, free: 6.219 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005507/0.2068, allocations: 331.5 kB / 0.7689 GB, free: 5.895 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 1.906e-05/0.2068, allocations: 11.98 kB / 0.7689 GB, free: 5.883 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 3.605e-05/0.2069, allocations: 23.88 kB / 0.7689 GB, free: 5.859 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0004054/0.2073, allocations: 231.3 kB / 0.7691 GB, free: 5.633 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.617e-06/0.2073, allocations: 0 / 0.7691 GB, free: 5.633 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.263e-06/0.2073, allocations: 0 / 0.7691 GB, free: 5.633 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 6.563e-06/0.2073, allocations: 0 / 0.7691 GB, free: 5.633 MB / 0.5606 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0005448/0.2079, allocations: 410.8 kB / 0.7695 GB, free: 5.18 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.398e-05/0.2079, allocations: 8.031 kB / 0.7695 GB, free: 5.172 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.869e-05/0.2079, allocations: 42.73 kB / 0.7696 GB, free: 5.121 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002639/0.2082, allocations: 20.91 kB / 0.7696 GB, free: 5.102 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002393/0.2085, allocations: 176.3 kB / 0.7698 GB, free: 4.891 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.426e-05/0.2085, allocations: 8.375 kB / 0.7698 GB, free: 4.883 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.427e-05/0.2085, allocations: 384 / 0.7698 GB, free: 4.883 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00022/0.2087, allocations: 82.16 kB / 0.7699 GB, free: 4.797 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.172e-05/0.2088, allocations: 7.922 kB / 0.7699 GB, free: 4.789 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.578e-06/0.2088, allocations: 0 / 0.7699 GB, free: 4.789 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.847e-06/0.2088, allocations: 0 / 0.7699 GB, free: 4.789 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002091/0.209, allocations: 59.94 kB / 0.7699 GB, free: 4.73 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004908/0.2095, allocations: 312.8 kB / 0.7702 GB, free: 4.375 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002218/0.2097, allocations: 74.61 kB / 0.7703 GB, free: 4.293 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001019/0.2098, allocations: 28.83 kB / 0.7703 GB, free: 4.262 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 2.37e-05/0.2099, allocations: 4 kB / 0.7703 GB, free: 4.258 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.145e-05/0.2099, allocations: 34.56 kB / 0.7703 GB, free: 4.215 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=5): time 1.293e-06/0.2099, allocations: 4 kB / 0.7704 GB, free: 4.211 MB / 0.5606 GB Notification: Performance of matching and sorting (n=5): time 0.0003923/0.2103, allocations: 117.6 kB / 0.7705 GB, free: 4.09 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.574e-05/0.2104, allocations: 51.41 kB / 0.7705 GB, free: 4.027 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.767e-05/0.2104, allocations: 105.8 kB / 0.7706 GB, free: 3.914 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 1.734e-05/0.2105, allocations: 25.7 kB / 0.7706 GB, free: 3.883 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 4.998e-05/0.2105, allocations: 96.03 kB / 0.7707 GB, free: 3.785 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 2.115e-05/0.2106, allocations: 15.91 kB / 0.7707 GB, free: 3.77 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.945e-05/0.2106, allocations: 17.7 kB / 0.7708 GB, free: 3.746 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001359/0.2107, allocations: 322.8 kB / 0.7711 GB, free: 3.422 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.814e-05/0.2108, allocations: 27.97 kB / 0.7711 GB, free: 3.395 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.407e-05/0.2109, allocations: 23.98 kB / 0.7711 GB, free: 3.371 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001774/0.2111, allocations: 60.81 kB / 0.7712 GB, free: 3.309 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.673e-06/0.2111, allocations: 4 kB / 0.7712 GB, free: 3.305 MB / 0.5606 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002342/0.2114, allocations: 93.55 kB / 0.7713 GB, free: 3.207 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.253e-05/0.2114, allocations: 7.938 kB / 0.7713 GB, free: 3.199 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.317e-06/0.2114, allocations: 0 / 0.7713 GB, free: 3.199 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.097e-05/0.2114, allocations: 0 / 0.7713 GB, free: 3.199 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00101/0.2124, allocations: 123.9 kB / 0.7714 GB, free: 3.078 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001537/0.214, allocations: 1.477 MB / 0.7728 GB, free: 1.461 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.712e-05/0.2141, allocations: 12.06 kB / 0.7729 GB, free: 1.449 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.107e-06/0.2141, allocations: 4 kB / 0.7729 GB, free: 1.445 MB / 0.5606 GB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (5): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 9.841e-05/0.2142, allocations: 119.6 kB / 0.773 GB, free: 1.32 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.104e-05/0.2142, allocations: 7.953 kB / 0.773 GB, free: 1.312 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005967/0.2148, allocations: 150.4 kB / 0.7731 GB, free: 1.148 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.535e-06/0.2149, allocations: 3.938 kB / 0.7731 GB, free: 1.145 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.082e-06/0.2149, allocations: 0 / 0.7731 GB, free: 1.145 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.939e-06/0.2149, allocations: 3.984 kB / 0.7731 GB, free: 1.141 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002234/0.2151, allocations: 173.7 kB / 0.7733 GB, free: 0.9219 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.146e-06/0.2151, allocations: 3.938 kB / 0.7733 GB, free: 0.918 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.674e-05/0.2152, allocations: 19.92 kB / 0.7733 GB, free: 0.8984 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003284/0.2155, allocations: 32.83 kB / 0.7733 GB, free: 0.8633 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.201e-05/0.2156, allocations: 4 kB / 0.7734 GB, free: 0.8594 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.3239/0.5394, allocations: 1.438 MB / 0.7748 GB, free: 13.7 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.503e-06/0.5395, allocations: 0.9688 kB / 0.7748 GB, free: 13.7 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005568/0.54, allocations: 223.5 kB / 0.775 GB, free: 13.57 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 2.399e-05/0.5401, allocations: 82.8 kB / 0.775 GB, free: 13.47 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.273e-05/0.5401, allocations: 4.812 kB / 0.7751 GB, free: 13.47 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001209/0.5402, allocations: 7.141 kB / 0.7751 GB, free: 13.47 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.617e-05/0.5403, allocations: 8.406 kB / 0.7751 GB, free: 13.47 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.237e-06/0.5403, allocations: 3.188 kB / 0.7751 GB, free: 13.47 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 3.52e-05/0.5403, allocations: 86.88 kB / 0.7752 GB, free: 13.4 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.11e-07/0.5403, allocations: 0 / 0.7752 GB, free: 13.4 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.000349/0.5407, allocations: 22.05 kB / 0.7752 GB, free: 13.4 MB / 0.5606 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 (5): * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,1)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0006719/0.5414, allocations: 0.7575 MB / 0.7759 GB, free: 12.73 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.001129/0.5425, allocations: 159.8 kB / 0.7761 GB, free: 12.73 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.495e-06/0.5425, allocations: 0 / 0.7761 GB, free: 12.73 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0003078/0.5428, allocations: 155.7 kB / 0.7762 GB, free: 12.62 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003571/0.5432, allocations: 17.19 kB / 0.7762 GB, free: 12.62 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001707/0.5449, allocations: 1.396 MB / 0.7776 GB, free: 11.47 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001155/0.545, allocations: 0.6836 MB / 0.7783 GB, free: 10.78 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 4.379e-05/0.5451, allocations: 8.828 kB / 0.7783 GB, free: 10.78 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.454e-05/0.5452, allocations: 18.22 kB / 0.7783 GB, free: 10.77 MB / 0.5606 GB Notification: Performance of SimCode: time 3.31e-07/0.5452, allocations: 0 / 0.7783 GB, free: 10.77 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03096/0.5761, allocations: 2.383 MB / 0.7806 GB, free: 10.44 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.8/12.37, allocations: 9.453 kB / 0.7806 GB, free: 10.43 MB / 0.5606 GB (rm -f BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.DewPointTemperature.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.DewPointTemperature.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.DewPointTemperature.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.DewPointTemperature.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Utilities_Psychrometrics_Examples_DewPointTemperature_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Utilities_Psychrometrics_Examples_DewPointTemperature.fmu > BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.DewPointTemperature.pipe 2>&1)