Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.TotalAirDryAir.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.TotalAirDryAir,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Psychrometrics_Examples_TotalAirDryAir",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Utilities.Psychrometrics.Examples.TotalAirDryAir,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Psychrometrics_Examples_TotalAirDryAir",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.005834/0.005834, allocations: 99.81 kB / 15.73 MB, free: 6.055 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.001159/0.001159, allocations: 192.2 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.402/1.402, allocations: 222.9 MB / 240.4 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002134/0.002134, allocations: 300.7 kB / 290.8 MB, free: 14.47 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9667/0.9667, allocations: 169.2 MB / 0.4983 GB, free: 4.457 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002052/0.002052, allocations: 108 kB / 0.681 GB, free: 7.5 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5305/0.5325, allocations: 86.97 MB / 0.7659 GB, free: 3.883 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Psychrometrics.Examples.TotalAirDryAir): time 0.003452/0.536, allocations: 1.496 MB / 0.7674 GB, free: 2.375 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.0004602/0.5365, allocations: 127.7 kB / 0.7675 GB, free: 2.25 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.087e-05/0.5366, allocations: 0 / 0.7675 GB, free: 2.25 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 4.484e-05/0.5367, allocations: 7.922 kB / 0.7675 GB, free: 2.242 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 8.256e-05/0.5368, allocations: 7.938 kB / 0.7675 GB, free: 2.234 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004025/0.5372, allocations: 67.83 kB / 0.7676 GB, free: 2.168 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0001547/0.5374, allocations: 59.91 kB / 0.7676 GB, free: 2.109 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000143/0.5375, allocations: 19.92 kB / 0.7676 GB, free: 2.09 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 7.524e-05/0.5376, allocations: 23.97 kB / 0.7677 GB, free: 2.066 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 6.83e-05/0.5377, allocations: 23.86 kB / 0.7677 GB, free: 2.043 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 2.439e-05/0.5377, allocations: 4 kB / 0.7677 GB, free: 2.039 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 1.6e-05/0.5377, allocations: 8 kB / 0.7677 GB, free: 2.031 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 2.722e-05/0.5378, allocations: 11.98 kB / 0.7677 GB, free: 2.02 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 4.441e-05/0.5378, allocations: 31.84 kB / 0.7677 GB, free: 1.988 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0001389/0.538, allocations: 51.61 kB / 0.7678 GB, free: 1.941 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 6.202e-06/0.538, allocations: 0 / 0.7678 GB, free: 1.941 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.453e-06/0.538, allocations: 0 / 0.7678 GB, free: 1.941 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 9.247e-06/0.538, allocations: 0 / 0.7678 GB, free: 1.941 MB / 0.5294 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0005673/0.5386, allocations: 384.5 kB / 0.7681 GB, free: 1.52 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.45e-05/0.5386, allocations: 12.03 kB / 0.7682 GB, free: 1.508 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.91e-05/0.5387, allocations: 38.75 kB / 0.7682 GB, free: 1.461 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.103e-05/0.5387, allocations: 8.891 kB / 0.7682 GB, free: 1.453 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001267/0.5388, allocations: 172.3 kB / 0.7684 GB, free: 1.246 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.976e-05/0.5389, allocations: 34.27 kB / 0.7684 GB, free: 1.207 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.586e-05/0.5389, allocations: 8.312 kB / 0.7684 GB, free: 1.199 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002325/0.5392, allocations: 73.97 kB / 0.7685 GB, free: 1.121 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.142e-05/0.5392, allocations: 0 / 0.7685 GB, free: 1.121 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.628e-05/0.5392, allocations: 4 kB / 0.7685 GB, free: 1.117 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.899e-06/0.5392, allocations: 4 kB / 0.7685 GB, free: 1.113 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001867/0.5394, allocations: 51.89 kB / 0.7685 GB, free: 1.062 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006101/0.54, allocations: 312.7 kB / 0.7688 GB, free: 0.707 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001428/0.5402, allocations: 58.53 kB / 0.7689 GB, free: 0.6406 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.393e-05/0.5403, allocations: 24.94 kB / 0.7689 GB, free: 0.6133 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 1.415e-05/0.5403, allocations: 3.938 kB / 0.7689 GB, free: 0.6094 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.829e-05/0.5404, allocations: 38.56 kB / 0.769 GB, free: 0.5625 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=4): time 1.383e-06/0.5404, allocations: 0 / 0.769 GB, free: 0.5625 MB / 0.5294 GB Notification: Performance of matching and sorting (n=4): time 0.0003715/0.5407, allocations: 101.6 kB / 0.769 GB, free: 468 kB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.367e-05/0.5408, allocations: 51.41 kB / 0.7691 GB, free: 404 kB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.985e-05/0.5409, allocations: 109.8 kB / 0.7692 GB, free: 284 kB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 2.124e-05/0.5409, allocations: 25.7 kB / 0.7692 GB, free: 252 kB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 4.578e-05/0.541, allocations: 89.92 kB / 0.7693 GB, free: 160 kB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 1.865e-05/0.541, allocations: 23.89 kB / 0.7693 GB, free: 136 kB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.42e-05/0.541, allocations: 13.72 kB / 0.7693 GB, free: 116 kB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001139/0.5411, allocations: 322.8 kB / 0.7697 GB, free: 15.79 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.485e-05/0.5412, allocations: 27.97 kB / 0.7697 GB, free: 15.76 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.014e-05/0.5413, allocations: 33.64 kB / 0.7697 GB, free: 15.72 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002025/0.5415, allocations: 57.67 kB / 0.7698 GB, free: 15.66 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.004e-06/0.5416, allocations: 0 / 0.7698 GB, free: 15.66 MB / 0.545 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.000212/0.5418, allocations: 93.55 kB / 0.7699 GB, free: 15.56 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.4e-05/0.5418, allocations: 4 kB / 0.7699 GB, free: 15.56 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.23e-06/0.5418, allocations: 0 / 0.7699 GB, free: 15.56 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.293e-05/0.5418, allocations: 0 / 0.7699 GB, free: 15.56 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000102/0.5419, allocations: 15.98 kB / 0.7699 GB, free: 15.54 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.029e-06/0.542, allocations: 0 / 0.7699 GB, free: 15.54 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.792e-05/0.542, allocations: 11.92 kB / 0.7699 GB, free: 15.53 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.36e-06/0.542, allocations: 0 / 0.7699 GB, free: 15.53 MB / 0.545 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 (5): * Single equations (assignments): 5 * 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 7.185e-05/0.5421, allocations: 124.2 kB / 0.77 GB, free: 15.4 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.249e-05/0.5421, allocations: 4 kB / 0.77 GB, free: 15.4 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.589e-05/0.5422, allocations: 7.906 kB / 0.77 GB, free: 15.39 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.274e-06/0.5422, allocations: 0 / 0.77 GB, free: 15.39 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.198e-06/0.5422, allocations: 0 / 0.77 GB, free: 15.39 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.967e-06/0.5422, allocations: 0 / 0.77 GB, free: 15.39 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001676/0.5424, allocations: 181.5 kB / 0.7702 GB, free: 15.16 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.192e-06/0.5424, allocations: 0 / 0.7702 GB, free: 15.16 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.028e-05/0.5425, allocations: 12.11 kB / 0.7702 GB, free: 15.15 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.014e-06/0.5425, allocations: 4 kB / 0.7702 GB, free: 15.14 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.985e-06/0.5425, allocations: 7.938 kB / 0.7702 GB, free: 15.14 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.605e-06/0.5425, allocations: 4 kB / 0.7702 GB, free: 15.13 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-06/0.5425, allocations: 0 / 0.7702 GB, free: 15.13 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002448/0.5427, allocations: 175.4 kB / 0.7704 GB, free: 14.95 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 3.707e-05/0.5428, allocations: 89.33 kB / 0.7705 GB, free: 14.84 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.254e-05/0.5428, allocations: 4 kB / 0.7705 GB, free: 14.84 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001286/0.5429, allocations: 11.98 kB / 0.7705 GB, free: 14.82 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.873e-05/0.543, allocations: 7.984 kB / 0.7705 GB, free: 14.82 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.824e-06/0.543, allocations: 0 / 0.7705 GB, free: 14.82 MB / 0.545 GB Notification: Performance of sorting global known variables: time 4.331e-05/0.543, allocations: 91.27 kB / 0.7706 GB, free: 14.73 MB / 0.545 GB Notification: Performance of sort global known variables: time 3.687e-06/0.5431, allocations: 0 / 0.7706 GB, free: 14.73 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.000222/0.5433, allocations: 15.88 kB / 0.7706 GB, free: 14.71 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 (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 Backend phase and start with SimCode phase: time 0.0004917/0.5438, allocations: 0.7115 MB / 0.7713 GB, free: 13.98 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0002182/0.544, allocations: 51.89 kB / 0.7713 GB, free: 13.93 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.544, allocations: 0 / 0.7713 GB, free: 13.93 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 9.053e-05/0.5441, allocations: 28.05 kB / 0.7714 GB, free: 13.9 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003/0.5444, allocations: 8 kB / 0.7714 GB, free: 13.89 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001336/0.5458, allocations: 1.313 MB / 0.7727 GB, free: 12.49 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000206/0.546, allocations: 0.6885 MB / 0.7733 GB, free: 11.78 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 4e-05/0.546, allocations: 0 / 0.7733 GB, free: 11.78 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.263e-05/0.5461, allocations: 19.42 kB / 0.7733 GB, free: 11.76 MB / 0.545 GB Notification: Performance of SimCode: time 4.91e-07/0.5461, allocations: 0 / 0.7733 GB, free: 11.76 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01791/0.564, allocations: 1.798 MB / 0.7751 GB, free: 10.11 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.445/8.01, allocations: 4.562 kB / 0.7751 GB, free: 10.1 MB / 0.545 GB (rm -f BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.TotalAirDryAir.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.TotalAirDryAir.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.TotalAirDryAir.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.TotalAirDryAir.sim & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.TotalAirDryAir_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_TotalAirDryAir.fmu > BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.TotalAirDryAir.pipe 2>&1)