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.00564/0.005641, allocations: 101 kB / 15.73 MB, free: 6.059 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.001257/0.001257, allocations: 194.3 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.389/1.389, allocations: 222.9 MB / 240.4 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.0025/0.0025, allocations: 289.1 kB / 290.8 MB, free: 14.42 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.011/1.011, allocations: 169.3 MB / 0.4983 GB, free: 4.398 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002826/0.002826, allocations: 104 kB / 0.681 GB, free: 7.418 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4778/0.4807, allocations: 86.98 MB / 0.7659 GB, free: 3.789 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Psychrometrics.Examples.DewPointTemperature): time 0.003234/0.484, allocations: 1.515 MB / 0.7674 GB, free: 2.262 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.001521/0.4855, allocations: 0.8931 MB / 0.7682 GB, free: 1.367 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.121e-05/0.4856, allocations: 0 / 0.7682 GB, free: 1.367 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.0001018/0.4858, allocations: 3.938 kB / 0.7683 GB, free: 1.363 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 4.469e-05/0.4858, allocations: 11.88 kB / 0.7683 GB, free: 1.352 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006153/0.4864, allocations: 199.1 kB / 0.7685 GB, free: 1.156 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0001184/0.4866, allocations: 59.72 kB / 0.7685 GB, free: 1.098 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001009/0.4867, allocations: 15.8 kB / 0.7685 GB, free: 1.086 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 4.833e-05/0.4867, allocations: 15.98 kB / 0.7685 GB, free: 1.07 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 6.542e-05/0.4868, allocations: 27.84 kB / 0.7686 GB, free: 1.043 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 1.149e-05/0.4868, allocations: 4 kB / 0.7686 GB, free: 1.039 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005707/0.4874, allocations: 331.5 kB / 0.7689 GB, free: 0.7148 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 1.576e-05/0.4874, allocations: 12 kB / 0.7689 GB, free: 0.7031 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 3.82e-05/0.4875, allocations: 23.88 kB / 0.7689 GB, free: 0.6797 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0004029/0.4879, allocations: 228.6 kB / 0.7691 GB, free: 472 kB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 3.928e-06/0.4879, allocations: 0 / 0.7691 GB, free: 472 kB / 0.5294 GB Notification: Performance of FrontEnd: time 1.242e-06/0.4879, allocations: 0 / 0.7691 GB, free: 472 kB / 0.5294 GB Notification: Performance of Transformations before backend: time 9.307e-06/0.4879, allocations: 0 / 0.7691 GB, free: 472 kB / 0.5294 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.0005919/0.4885, allocations: 406.8 kB / 0.7695 GB, free: 12 kB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.136e-05/0.4886, allocations: 12.03 kB / 0.7695 GB, free: 0 / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.809e-05/0.4886, allocations: 38.8 kB / 0.7696 GB, free: 15.95 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002551/0.4889, allocations: 20.91 kB / 0.7696 GB, free: 15.93 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002528/0.4891, allocations: 184.2 kB / 0.7698 GB, free: 15.71 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.43e-05/0.4892, allocations: 8.375 kB / 0.7698 GB, free: 15.7 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.5e-05/0.4892, allocations: 384 / 0.7698 GB, free: 15.7 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002299/0.4894, allocations: 74.22 kB / 0.7699 GB, free: 15.62 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.108e-05/0.4894, allocations: 3.938 kB / 0.7699 GB, free: 15.62 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.257e-06/0.4895, allocations: 0 / 0.7699 GB, free: 15.62 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.418e-06/0.4895, allocations: 7.938 kB / 0.7699 GB, free: 15.62 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002296/0.4897, allocations: 63.88 kB / 0.7699 GB, free: 15.55 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005391/0.4903, allocations: 304.7 kB / 0.7702 GB, free: 15.21 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002555/0.4905, allocations: 74.67 kB / 0.7703 GB, free: 15.12 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001079/0.4906, allocations: 32.88 kB / 0.7703 GB, free: 15.09 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 3.378e-05/0.4907, allocations: 7.984 kB / 0.7703 GB, free: 15.08 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.835e-05/0.4907, allocations: 34.5 kB / 0.7704 GB, free: 15.04 MB / 0.545 GB Notification: Performance of pre-optimization done (n=5): time 1.113e-06/0.4907, allocations: 0 / 0.7704 GB, free: 15.04 MB / 0.545 GB Notification: Performance of matching and sorting (n=5): time 0.0004248/0.4911, allocations: 113.6 kB / 0.7705 GB, free: 14.92 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.071e-05/0.4912, allocations: 51.41 kB / 0.7705 GB, free: 14.86 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.904e-05/0.4913, allocations: 109.8 kB / 0.7706 GB, free: 14.74 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.91e-05/0.4913, allocations: 29.7 kB / 0.7706 GB, free: 14.71 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 6.395e-05/0.4914, allocations: 92.08 kB / 0.7707 GB, free: 14.61 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 2.687e-05/0.4914, allocations: 15.84 kB / 0.7708 GB, free: 14.6 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.286e-05/0.4915, allocations: 17.72 kB / 0.7708 GB, free: 14.57 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001465/0.4916, allocations: 322.8 kB / 0.7711 GB, free: 14.25 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.788e-05/0.4917, allocations: 27.92 kB / 0.7711 GB, free: 14.22 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.305e-05/0.4918, allocations: 27.97 kB / 0.7711 GB, free: 14.2 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001871/0.492, allocations: 56.83 kB / 0.7712 GB, free: 14.14 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.703e-06/0.492, allocations: 0 / 0.7712 GB, free: 14.14 MB / 0.545 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002367/0.4923, allocations: 89.61 kB / 0.7713 GB, free: 14.04 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.408e-05/0.4923, allocations: 8 kB / 0.7713 GB, free: 14.04 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.492e-06/0.4923, allocations: 3.984 kB / 0.7713 GB, free: 14.03 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.418e-05/0.4923, allocations: 0 / 0.7713 GB, free: 14.03 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000983/0.4933, allocations: 124.3 kB / 0.7714 GB, free: 13.91 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001639/0.495, allocations: 1.476 MB / 0.7728 GB, free: 12.29 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.849e-05/0.4951, allocations: 8.016 kB / 0.7728 GB, free: 12.29 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.818e-06/0.4951, allocations: 4 kB / 0.7729 GB, free: 12.28 MB / 0.545 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 0.0001007/0.4952, allocations: 116.3 kB / 0.773 GB, free: 12.16 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.938e-05/0.4952, allocations: 7.953 kB / 0.773 GB, free: 12.15 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000573/0.4958, allocations: 154.2 kB / 0.7731 GB, free: 11.98 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.134e-06/0.4958, allocations: 48 / 0.7731 GB, free: 11.98 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.078e-06/0.4958, allocations: 3.984 kB / 0.7731 GB, free: 11.98 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.565e-06/0.4958, allocations: 0 / 0.7731 GB, free: 11.98 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002214/0.4961, allocations: 185.6 kB / 0.7733 GB, free: 11.75 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.396e-06/0.4961, allocations: 3.938 kB / 0.7733 GB, free: 11.75 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.139e-05/0.4961, allocations: 15.98 kB / 0.7733 GB, free: 11.73 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002994/0.4965, allocations: 32.78 kB / 0.7733 GB, free: 11.7 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.433e-05/0.4965, allocations: 7.984 kB / 0.7734 GB, free: 11.69 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00152/0.498, allocations: 1.439 MB / 0.7748 GB, free: 10.11 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.881e-06/0.498, allocations: 7.922 kB / 0.7748 GB, free: 10.1 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005657/0.4986, allocations: 224.4 kB / 0.775 GB, free: 9.859 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 5.552e-05/0.4987, allocations: 81.06 kB / 0.7751 GB, free: 9.762 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.073e-05/0.4987, allocations: 3.938 kB / 0.7751 GB, free: 9.758 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001019/0.4988, allocations: 11.92 kB / 0.7751 GB, free: 9.746 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.83e-05/0.4989, allocations: 12 kB / 0.7751 GB, free: 9.734 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.003e-05/0.4989, allocations: 7.984 kB / 0.7751 GB, free: 9.727 MB / 0.545 GB Notification: Performance of sorting global known variables: time 6.289e-05/0.4989, allocations: 79.28 kB / 0.7752 GB, free: 9.648 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.01e-07/0.4989, allocations: 0 / 0.7752 GB, free: 9.648 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.000263/0.4992, allocations: 20 kB / 0.7752 GB, free: 9.629 MB / 0.545 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.0009214/0.5001, allocations: 0.7561 MB / 0.7759 GB, free: 8.844 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.00112/0.5013, allocations: 159.8 kB / 0.7761 GB, free: 8.688 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.595e-06/0.5013, allocations: 0 / 0.7761 GB, free: 8.688 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0003743/0.5017, allocations: 154.6 kB / 0.7762 GB, free: 8.523 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003274/0.502, allocations: 15.23 kB / 0.7762 GB, free: 8.512 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00206/0.5041, allocations: 1.387 MB / 0.7776 GB, free: 7.047 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003528/0.5044, allocations: 0.6846 MB / 0.7783 GB, free: 6.336 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 4.602e-05/0.5045, allocations: 16.22 kB / 0.7783 GB, free: 6.32 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.963e-05/0.5046, allocations: 15.44 kB / 0.7783 GB, free: 6.305 MB / 0.545 GB Notification: Performance of SimCode: time 6.12e-07/0.5046, allocations: 0 / 0.7783 GB, free: 6.305 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02516/0.5297, allocations: 2.374 MB / 0.7806 GB, free: 4.125 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.51/12.04, allocations: 17.42 kB / 0.7806 GB, free: 4.113 MB / 0.545 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 & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.DewPointTemperature_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 BuildingSystems_BuildingSystems_Utilities_Psychrometrics_Examples_DewPointTemperature.fmu > BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.DewPointTemperature.pipe 2>&1)