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.007794/0.007802, allocations: 99.44 kB / 15.73 MB, free: 6.039 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.001445/0.001445, allocations: 193.5 kB / 16.67 MB, free: 5.961 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.449/1.449, allocations: 222.9 MB / 240.4 MB, free: 4.305 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002865/0.002865, allocations: 287 kB / 290.8 MB, free: 1.902 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.049/1.049, allocations: 169.3 MB / 0.4983 GB, free: 13.8 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.004393/0.004393, allocations: 95.86 kB / 0.681 GB, free: 4 kB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2117/0.2161, allocations: 86.98 MB / 0.7659 GB, free: 8.945 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Psychrometrics.Examples.TotalAirDryAir): time 0.002592/0.2187, allocations: 1.493 MB / 0.7673 GB, free: 7.441 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.000341/0.2191, allocations: 135.6 kB / 0.7675 GB, free: 7.309 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.155e-05/0.2192, allocations: 0 / 0.7675 GB, free: 7.309 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 2.851e-05/0.2192, allocations: 3.938 kB / 0.7675 GB, free: 7.305 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 8.219e-05/0.2193, allocations: 7.922 kB / 0.7675 GB, free: 7.297 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003137/0.2196, allocations: 78.97 kB / 0.7676 GB, free: 7.223 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0001187/0.2197, allocations: 59.83 kB / 0.7676 GB, free: 7.164 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001067/0.2198, allocations: 16 kB / 0.7676 GB, free: 7.148 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 6.692e-05/0.2199, allocations: 27.92 kB / 0.7677 GB, free: 7.121 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 6.428e-05/0.22, allocations: 19.91 kB / 0.7677 GB, free: 7.102 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 2.454e-05/0.22, allocations: 4 kB / 0.7677 GB, free: 7.098 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 1.752e-05/0.22, allocations: 8 kB / 0.7677 GB, free: 7.09 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 3.177e-05/0.2201, allocations: 19.91 kB / 0.7677 GB, free: 7.07 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 4.232e-05/0.2201, allocations: 23.92 kB / 0.7677 GB, free: 7.047 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.000123/0.2203, allocations: 56.02 kB / 0.7678 GB, free: 6.992 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.657e-06/0.2203, allocations: 3.938 kB / 0.7678 GB, free: 6.988 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.262e-06/0.2203, allocations: 0 / 0.7678 GB, free: 6.988 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.346e-05/0.2203, allocations: 4 kB / 0.7678 GB, free: 6.984 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.000587/0.2209, allocations: 375.2 kB / 0.7682 GB, free: 6.566 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.567e-05/0.2209, allocations: 12.03 kB / 0.7682 GB, free: 6.555 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.304e-05/0.221, allocations: 30.75 kB / 0.7682 GB, free: 6.516 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.308e-05/0.221, allocations: 8.891 kB / 0.7682 GB, free: 6.508 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001422/0.2212, allocations: 172.4 kB / 0.7684 GB, free: 6.301 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.538e-05/0.2213, allocations: 30.27 kB / 0.7684 GB, free: 6.266 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.247e-05/0.2213, allocations: 4.375 kB / 0.7684 GB, free: 6.262 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002347/0.2215, allocations: 81.97 kB / 0.7685 GB, free: 6.176 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.077e-06/0.2215, allocations: 0 / 0.7685 GB, free: 6.176 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.451e-05/0.2216, allocations: 3.938 kB / 0.7685 GB, free: 6.172 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.324e-06/0.2216, allocations: 7.938 kB / 0.7685 GB, free: 6.164 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001889/0.2218, allocations: 43.95 kB / 0.7685 GB, free: 6.121 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006554/0.2224, allocations: 324.7 kB / 0.7688 GB, free: 5.754 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001467/0.2226, allocations: 50.48 kB / 0.7689 GB, free: 5.695 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.924e-05/0.2227, allocations: 28.94 kB / 0.7689 GB, free: 5.664 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 1.739e-05/0.2227, allocations: 4 kB / 0.7689 GB, free: 5.66 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.236e-05/0.2228, allocations: 38.5 kB / 0.769 GB, free: 5.613 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=4): time 1.243e-06/0.2228, allocations: 0 / 0.769 GB, free: 5.613 MB / 0.5606 GB Notification: Performance of matching and sorting (n=4): time 0.0003821/0.2232, allocations: 97.62 kB / 0.7691 GB, free: 5.512 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.317e-05/0.2232, allocations: 51.41 kB / 0.7691 GB, free: 5.449 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001237/0.2233, allocations: 113.8 kB / 0.7692 GB, free: 5.328 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 1.864e-05/0.2234, allocations: 25.7 kB / 0.7692 GB, free: 5.297 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 5.811e-05/0.2234, allocations: 84.14 kB / 0.7693 GB, free: 5.211 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 2.414e-05/0.2235, allocations: 27.83 kB / 0.7693 GB, free: 5.184 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.946e-05/0.2235, allocations: 21.66 kB / 0.7694 GB, free: 5.156 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001301/0.2236, allocations: 314.8 kB / 0.7697 GB, free: 4.84 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.098e-05/0.2237, allocations: 23.97 kB / 0.7697 GB, free: 4.816 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.462e-05/0.2238, allocations: 29.7 kB / 0.7697 GB, free: 4.781 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001825/0.224, allocations: 65.67 kB / 0.7698 GB, free: 4.711 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.583e-06/0.224, allocations: 0 / 0.7698 GB, free: 4.711 MB / 0.5606 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002231/0.2243, allocations: 85.55 kB / 0.7699 GB, free: 4.621 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.449e-05/0.2243, allocations: 4 kB / 0.7699 GB, free: 4.617 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.089e-06/0.2243, allocations: 0 / 0.7699 GB, free: 4.617 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.608e-05/0.2243, allocations: 4 kB / 0.7699 GB, free: 4.613 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001019/0.2244, allocations: 16.02 kB / 0.7699 GB, free: 4.598 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.2e-06/0.2244, allocations: 0 / 0.7699 GB, free: 4.598 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.654e-05/0.2245, allocations: 7.984 kB / 0.7699 GB, free: 4.59 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.047e-05/0.2245, allocations: 8 kB / 0.7699 GB, free: 4.582 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 (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 9.267e-05/0.2246, allocations: 110.4 kB / 0.77 GB, free: 4.465 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.734e-05/0.2246, allocations: 7.938 kB / 0.77 GB, free: 4.457 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.756e-05/0.2247, allocations: 8.141 kB / 0.77 GB, free: 4.445 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.853e-06/0.2247, allocations: 0 / 0.77 GB, free: 4.445 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.242e-06/0.2247, allocations: 11.98 kB / 0.77 GB, free: 4.434 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.474e-06/0.2247, allocations: 0 / 0.77 GB, free: 4.434 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001904/0.2249, allocations: 173.6 kB / 0.7702 GB, free: 4.215 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.637e-06/0.2249, allocations: 4.125 kB / 0.7702 GB, free: 4.211 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.001e-05/0.225, allocations: 15.98 kB / 0.7702 GB, free: 4.195 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.397e-06/0.225, allocations: 4 kB / 0.7702 GB, free: 4.191 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.635e-06/0.225, allocations: 0 / 0.7702 GB, free: 4.191 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.243e-06/0.225, allocations: 0 / 0.7702 GB, free: 4.191 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.32e-07/0.225, allocations: 0 / 0.7702 GB, free: 4.191 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002593/0.2253, allocations: 179.3 kB / 0.7704 GB, free: 4 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 4.665e-05/0.2253, allocations: 92.98 kB / 0.7705 GB, free: 3.891 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.489e-05/0.2254, allocations: 4 kB / 0.7705 GB, free: 3.887 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001262/0.2255, allocations: 11.98 kB / 0.7705 GB, free: 3.875 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.491e-05/0.2255, allocations: 3.938 kB / 0.7705 GB, free: 3.871 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.007e-05/0.2256, allocations: 4 kB / 0.7705 GB, free: 3.867 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 5.711e-05/0.2256, allocations: 91.27 kB / 0.7706 GB, free: 3.777 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2256, allocations: 0 / 0.7706 GB, free: 3.777 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0002207/0.2258, allocations: 8 kB / 0.7706 GB, free: 3.77 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 (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.0005796/0.2264, allocations: 0.7046 MB / 0.7713 GB, free: 3.039 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0002325/0.2267, allocations: 55.89 kB / 0.7713 GB, free: 2.984 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.355e-06/0.2267, allocations: 4 kB / 0.7713 GB, free: 2.98 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 8.726e-05/0.2268, allocations: 19.98 kB / 0.7714 GB, free: 2.961 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003029/0.2271, allocations: 8 kB / 0.7714 GB, free: 2.953 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001506/0.2286, allocations: 1.333 MB / 0.7727 GB, free: 1.535 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002991/0.2289, allocations: 0.6807 MB / 0.7733 GB, free: 0.8281 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 4.204e-05/0.229, allocations: 4 kB / 0.7733 GB, free: 0.8242 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.241e-05/0.229, allocations: 19.42 kB / 0.7734 GB, free: 0.8047 MB / 0.5606 GB Notification: Performance of SimCode: time 2.61e-07/0.229, allocations: 3.938 kB / 0.7734 GB, free: 0.8008 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3494/0.5784, allocations: 1.792 MB / 0.7751 GB, free: 14.41 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.719/8.297, allocations: 6.359 kB / 0.7751 GB, free: 14.41 MB / 0.5606 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)