Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.HumidityRatioPressure.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.HumidityRatioPressure,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Psychrometrics_Examples_HumidityRatioPressure",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Utilities.Psychrometrics.Examples.HumidityRatioPressure,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Psychrometrics_Examples_HumidityRatioPressure",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.004996/0.004996, allocations: 98.75 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.001307/0.001307, allocations: 189 kB / 16.67 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.436/1.436, allocations: 222.9 MB / 240.4 MB, free: 4.176 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002471/0.002471, allocations: 278.8 kB / 290.8 MB, free: 1.785 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.048/1.048, allocations: 169.3 MB / 0.4983 GB, free: 13.79 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002962/0.002962, allocations: 103.9 kB / 0.681 GB, free: 15.98 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1941/0.1971, allocations: 86.97 MB / 0.7659 GB, free: 8.938 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Psychrometrics.Examples.HumidityRatioPressure): time 0.00363/0.2007, allocations: 1.661 MB / 0.7675 GB, free: 7.266 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.0008465/0.2016, allocations: 395.4 kB / 0.7679 GB, free: 6.879 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.522e-05/0.2017, allocations: 7.938 kB / 0.7679 GB, free: 6.871 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.000126/0.2018, allocations: 11.86 kB / 0.7679 GB, free: 6.859 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 5.619e-05/0.2019, allocations: 23.78 kB / 0.7679 GB, free: 6.836 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004558/0.2024, allocations: 105.8 kB / 0.768 GB, free: 6.734 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0001748/0.2026, allocations: 115.6 kB / 0.7681 GB, free: 6.621 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001737/0.2028, allocations: 52.17 kB / 0.7682 GB, free: 6.57 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 7.151e-05/0.2028, allocations: 39.86 kB / 0.7682 GB, free: 6.531 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 8.87e-05/0.2029, allocations: 47.77 kB / 0.7683 GB, free: 6.484 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 2.752e-05/0.203, allocations: 8 kB / 0.7683 GB, free: 6.477 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001473/0.2031, allocations: 67.88 kB / 0.7684 GB, free: 6.41 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 3.07e-05/0.2032, allocations: 15.92 kB / 0.7684 GB, free: 6.395 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 5.815e-05/0.2032, allocations: 47.8 kB / 0.7684 GB, free: 6.348 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0002528/0.2035, allocations: 135.5 kB / 0.7685 GB, free: 6.215 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.488e-06/0.2035, allocations: 0 / 0.7685 GB, free: 6.215 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.713e-06/0.2035, allocations: 0 / 0.7685 GB, free: 6.215 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 6.512e-06/0.2035, allocations: 0 / 0.7685 GB, free: 6.215 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: 17 * Number of variables: 17 Notification: Performance of Generate backend data structure: time 0.0006825/0.2042, allocations: 418.9 kB / 0.7689 GB, free: 5.754 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.145e-05/0.2043, allocations: 8.031 kB / 0.769 GB, free: 5.746 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.765e-05/0.2043, allocations: 42.73 kB / 0.769 GB, free: 5.695 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002305/0.2046, allocations: 36.83 kB / 0.769 GB, free: 5.66 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003038/0.2049, allocations: 192.2 kB / 0.7692 GB, free: 5.434 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.275e-05/0.2049, allocations: 34.25 kB / 0.7692 GB, free: 5.395 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.876e-05/0.2051, allocations: 12.38 kB / 0.7693 GB, free: 5.383 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002714/0.2053, allocations: 109.8 kB / 0.7694 GB, free: 5.27 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.308e-06/0.2053, allocations: 0 / 0.7694 GB, free: 5.27 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.491e-05/0.2054, allocations: 4 kB / 0.7694 GB, free: 5.266 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.888e-06/0.2054, allocations: 8 kB / 0.7694 GB, free: 5.258 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000249/0.2056, allocations: 75.94 kB / 0.7694 GB, free: 5.184 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000742/0.2064, allocations: 388.5 kB / 0.7698 GB, free: 4.754 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005316/0.2069, allocations: 130.5 kB / 0.7699 GB, free: 4.617 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00012/0.2071, allocations: 40.88 kB / 0.77 GB, free: 4.574 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 1.549e-05/0.2071, allocations: 0 / 0.77 GB, free: 4.574 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.447e-05/0.2071, allocations: 38.56 kB / 0.77 GB, free: 4.527 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=7): time 1.082e-06/0.2071, allocations: 0 / 0.77 GB, free: 4.527 MB / 0.5606 GB Notification: Performance of matching and sorting (n=7): time 0.0004282/0.2076, allocations: 133.7 kB / 0.7701 GB, free: 4.391 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.794e-05/0.2076, allocations: 59.28 kB / 0.7702 GB, free: 4.32 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001331/0.2078, allocations: 143.8 kB / 0.7703 GB, free: 4.172 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 2.022e-05/0.2078, allocations: 29.7 kB / 0.7704 GB, free: 4.137 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 6.625e-05/0.2079, allocations: 104 kB / 0.7705 GB, free: 4.031 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 2.708e-05/0.2079, allocations: 27.8 kB / 0.7705 GB, free: 4.004 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.624e-05/0.208, allocations: 25.7 kB / 0.7705 GB, free: 3.973 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001541/0.2081, allocations: 314.8 kB / 0.7708 GB, free: 3.656 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001076/0.2082, allocations: 31.97 kB / 0.7708 GB, free: 3.625 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001117/0.2084, allocations: 45.69 kB / 0.7709 GB, free: 3.574 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002115/0.2086, allocations: 77.69 kB / 0.771 GB, free: 3.492 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.743e-06/0.2086, allocations: 0 / 0.771 GB, free: 3.492 MB / 0.5606 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002586/0.2088, allocations: 105.5 kB / 0.7711 GB, free: 3.383 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.939e-05/0.2089, allocations: 11.98 kB / 0.7711 GB, free: 3.371 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.779e-06/0.2089, allocations: 0 / 0.7711 GB, free: 3.371 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.8e-05/0.2089, allocations: 3.938 kB / 0.7711 GB, free: 3.367 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001094/0.209, allocations: 28 kB / 0.7711 GB, free: 3.34 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.297e-06/0.209, allocations: 8.484 kB / 0.7711 GB, free: 3.332 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.611e-05/0.2091, allocations: 7.953 kB / 0.7711 GB, free: 3.324 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.782e-06/0.2091, allocations: 0 / 0.7711 GB, free: 3.324 MB / 0.5606 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (8): * Single equations (assignments): 8 * 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.646e-05/0.2092, allocations: 118.4 kB / 0.7712 GB, free: 3.199 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.914e-05/0.2093, allocations: 11.94 kB / 0.7712 GB, free: 3.188 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.185e-05/0.2093, allocations: 20.66 kB / 0.7713 GB, free: 3.168 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.168e-06/0.2093, allocations: 3.938 kB / 0.7713 GB, free: 3.164 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.727e-06/0.2093, allocations: 4 kB / 0.7713 GB, free: 3.16 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.706e-06/0.2093, allocations: 0 / 0.7713 GB, free: 3.16 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003216/0.2097, allocations: 201.6 kB / 0.7715 GB, free: 2.914 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.413e-06/0.2097, allocations: 0 / 0.7715 GB, free: 2.914 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001342/0.2098, allocations: 15.98 kB / 0.7715 GB, free: 2.898 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.235e-06/0.2098, allocations: 0 / 0.7715 GB, free: 2.898 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.137e-05/0.2099, allocations: 0 / 0.7715 GB, free: 2.898 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.468e-06/0.2099, allocations: 7.938 kB / 0.7715 GB, free: 2.891 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.12e-07/0.2099, allocations: 0 / 0.7715 GB, free: 2.891 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004114/0.2103, allocations: 207.4 kB / 0.7717 GB, free: 2.672 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 6.806e-05/0.2104, allocations: 92.98 kB / 0.7718 GB, free: 2.562 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.686e-05/0.2104, allocations: 4 kB / 0.7718 GB, free: 2.559 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001518/0.2106, allocations: 15.92 kB / 0.7718 GB, free: 2.543 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.043e-05/0.2106, allocations: 4 kB / 0.7718 GB, free: 2.539 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.098e-05/0.2106, allocations: 4 kB / 0.7718 GB, free: 2.535 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 9.104e-05/0.2107, allocations: 110.2 kB / 0.7719 GB, free: 2.43 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.3e-07/0.2107, allocations: 4 kB / 0.7719 GB, free: 2.426 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0002397/0.211, allocations: 23.95 kB / 0.7719 GB, free: 2.402 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 (7): * Single equations (assignments): 7 * 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.0006517/0.2116, allocations: 0.7358 MB / 0.7727 GB, free: 1.641 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0002762/0.2119, allocations: 71.95 kB / 0.7727 GB, free: 1.57 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.2119, allocations: 0 / 0.7727 GB, free: 1.57 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0001145/0.2121, allocations: 39.91 kB / 0.7728 GB, free: 1.531 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003409/0.2124, allocations: 27.92 kB / 0.7728 GB, free: 1.504 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3293/0.5417, allocations: 1.558 MB / 0.7743 GB, free: 14.03 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001363/0.5419, allocations: 0.6943 MB / 0.775 GB, free: 13.33 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0001027/0.542, allocations: 11.2 kB / 0.775 GB, free: 13.33 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.682e-05/0.5421, allocations: 26.5 kB / 0.775 GB, free: 13.32 MB / 0.5606 GB Notification: Performance of SimCode: time 9.32e-07/0.5421, allocations: 0.5312 kB / 0.775 GB, free: 13.32 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02507/0.5671, allocations: 2.753 MB / 0.7777 GB, free: 13.03 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.901/8.468, allocations: 10.16 kB / 0.7777 GB, free: 13.03 MB / 0.5606 GB (rm -f BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.HumidityRatioPressure.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.HumidityRatioPressure.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.HumidityRatioPressure.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.HumidityRatioPressure.sim & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.HumidityRatioPressure_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_HumidityRatioPressure.fmu > BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.HumidityRatioPressure.pipe 2>&1)