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.001249/0.001249, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001266/0.001266, allocations: 194.1 kB / 16.53 MB, free: 6.391 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.379/1.379, allocations: 222.9 MB / 240.2 MB, free: 4.266 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002523/0.002523, allocations: 282.8 kB / 290.7 MB, free: 1.879 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9736/0.9736, allocations: 169.3 MB / 0.4982 GB, free: 13.89 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002595/0.002595, allocations: 96.59 kB / 0.5953 GB, free: 27.87 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1447/0.1473, allocations: 86.98 MB / 0.6803 GB, free: 0.582 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Psychrometrics.Examples.TotalAirDryAir): time 0.002865/0.1503, allocations: 1.494 MB / 0.6817 GB, free: 15.09 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003209/0.1506, allocations: 125.1 kB / 0.6819 GB, free: 14.96 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.056e-05/0.1507, allocations: 0 / 0.6819 GB, free: 14.96 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 3.407e-05/0.1507, allocations: 4.594 kB / 0.6819 GB, free: 14.96 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 5.483e-05/0.1508, allocations: 7.922 kB / 0.6819 GB, free: 14.95 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003034/0.1511, allocations: 76.3 kB / 0.6819 GB, free: 14.88 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 9.589e-05/0.1512, allocations: 55.86 kB / 0.682 GB, free: 14.83 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001104/0.1513, allocations: 20.83 kB / 0.682 GB, free: 14.81 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.981e-05/0.1514, allocations: 37.38 kB / 0.6821 GB, free: 14.77 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.24e-05/0.1514, allocations: 19.91 kB / 0.6821 GB, free: 14.75 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 2.193e-05/0.1515, allocations: 4 kB / 0.6821 GB, free: 14.75 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.069e-05/0.1515, allocations: 8 kB / 0.6821 GB, free: 14.74 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 2.772e-05/0.1515, allocations: 16.45 kB / 0.6821 GB, free: 14.73 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 3.913e-05/0.1516, allocations: 27.92 kB / 0.6821 GB, free: 14.7 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001039/0.1517, allocations: 47.8 kB / 0.6822 GB, free: 14.65 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.168e-06/0.1517, allocations: 0 / 0.6822 GB, free: 14.65 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.212e-06/0.1517, allocations: 0 / 0.6822 GB, free: 14.65 MB / 494.1 MB Notification: Performance of Transformations before backend: time 4.85e-06/0.1517, allocations: 0 / 0.6822 GB, free: 14.65 MB / 494.1 MB 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.0005619/0.1523, allocations: 375.4 kB / 0.6825 GB, free: 14.23 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.819e-05/0.1523, allocations: 12.03 kB / 0.6825 GB, free: 14.22 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.169e-05/0.1523, allocations: 34.69 kB / 0.6826 GB, free: 14.18 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.498e-05/0.1524, allocations: 8.844 kB / 0.6826 GB, free: 14.17 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001232/0.1525, allocations: 164.4 kB / 0.6827 GB, free: 13.97 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.097e-05/0.1526, allocations: 38.25 kB / 0.6828 GB, free: 13.93 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.003e-05/0.1526, allocations: 4.375 kB / 0.6828 GB, free: 13.93 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002147/0.1528, allocations: 77.95 kB / 0.6829 GB, free: 13.84 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.526e-06/0.1528, allocations: 0 / 0.6829 GB, free: 13.84 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.564e-05/0.1529, allocations: 7.984 kB / 0.6829 GB, free: 13.84 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.318e-06/0.1529, allocations: 0 / 0.6829 GB, free: 13.84 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001857/0.1531, allocations: 55.89 kB / 0.6829 GB, free: 13.78 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005881/0.1537, allocations: 316.6 kB / 0.6832 GB, free: 13.42 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000133/0.1538, allocations: 42.56 kB / 0.6833 GB, free: 13.37 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001018/0.1539, allocations: 36.92 kB / 0.6833 GB, free: 13.33 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.22e-05/0.1539, allocations: 0 / 0.6833 GB, free: 13.33 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.183e-05/0.154, allocations: 42.5 kB / 0.6833 GB, free: 13.28 MB / 494.1 MB Notification: Performance of pre-optimization done (n=4): time 1.222e-06/0.154, allocations: 0 / 0.6833 GB, free: 13.28 MB / 494.1 MB Notification: Performance of matching and sorting (n=4): time 0.0003607/0.1543, allocations: 97.55 kB / 0.6834 GB, free: 13.18 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.67e-05/0.1544, allocations: 59.39 kB / 0.6835 GB, free: 13.11 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.468e-05/0.1545, allocations: 105.8 kB / 0.6836 GB, free: 13 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.988e-05/0.1545, allocations: 33.64 kB / 0.6836 GB, free: 12.96 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.65e-05/0.1546, allocations: 84.14 kB / 0.6837 GB, free: 12.87 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.918e-05/0.1546, allocations: 15.81 kB / 0.6837 GB, free: 12.86 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.672e-05/0.1547, allocations: 13.72 kB / 0.6837 GB, free: 12.84 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001333/0.1548, allocations: 322.8 kB / 0.684 GB, free: 12.51 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.166e-05/0.1549, allocations: 23.98 kB / 0.6841 GB, free: 12.49 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.829e-05/0.155, allocations: 41.62 kB / 0.6841 GB, free: 12.44 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001744/0.1552, allocations: 53.69 kB / 0.6841 GB, free: 12.38 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.713e-06/0.1552, allocations: 4 kB / 0.6842 GB, free: 12.38 MB / 494.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002231/0.1554, allocations: 89.58 kB / 0.6842 GB, free: 12.29 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.59e-05/0.1554, allocations: 6.031 kB / 0.6842 GB, free: 12.28 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.328e-06/0.1555, allocations: 3.938 kB / 0.6842 GB, free: 12.28 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.357e-05/0.1555, allocations: 0 / 0.6842 GB, free: 12.28 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001038/0.1556, allocations: 15.98 kB / 0.6843 GB, free: 12.26 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.212e-06/0.1556, allocations: 0 / 0.6843 GB, free: 12.26 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.681e-05/0.1557, allocations: 11.84 kB / 0.6843 GB, free: 12.25 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.444e-06/0.1557, allocations: 4 kB / 0.6843 GB, free: 12.25 MB / 494.1 MB 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.673e-05/0.1558, allocations: 119.1 kB / 0.6844 GB, free: 12.12 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.936e-05/0.1558, allocations: 4 kB / 0.6844 GB, free: 12.12 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.39e-05/0.1558, allocations: 11.89 kB / 0.6844 GB, free: 12.1 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.124e-06/0.1559, allocations: 0 / 0.6844 GB, free: 12.1 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.709e-06/0.1559, allocations: 0 / 0.6844 GB, free: 12.1 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.805e-06/0.1559, allocations: 240 / 0.6844 GB, free: 12.1 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002107/0.1561, allocations: 177.6 kB / 0.6846 GB, free: 11.88 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.268e-06/0.1561, allocations: 0 / 0.6846 GB, free: 11.88 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.895e-05/0.1562, allocations: 15.92 kB / 0.6846 GB, free: 11.86 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.977e-06/0.1562, allocations: 7.984 kB / 0.6846 GB, free: 11.86 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.928e-06/0.1562, allocations: 4 kB / 0.6846 GB, free: 11.85 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.292e-06/0.1562, allocations: 4 kB / 0.6846 GB, free: 11.85 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/0.1562, allocations: 0 / 0.6846 GB, free: 11.85 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000276/0.1565, allocations: 171.4 kB / 0.6848 GB, free: 11.66 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.152e-05/0.1566, allocations: 81.11 kB / 0.6848 GB, free: 11.57 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.382e-05/0.1566, allocations: 0 / 0.6848 GB, free: 11.57 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001251/0.1567, allocations: 15.98 kB / 0.6849 GB, free: 11.55 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.423e-05/0.1568, allocations: 7.984 kB / 0.6849 GB, free: 11.54 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.009e-05/0.1568, allocations: 0 / 0.6849 GB, free: 11.54 MB / 494.1 MB Notification: Performance of sorting global known variables: time 6.375e-05/0.1568, allocations: 99.58 kB / 0.685 GB, free: 11.45 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1569, allocations: 0 / 0.685 GB, free: 11.45 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002188/0.1571, allocations: 8 kB / 0.685 GB, free: 11.44 MB / 494.1 MB 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.0006292/0.1577, allocations: 0.7123 MB / 0.6857 GB, free: 10.7 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.000235/0.158, allocations: 51.89 kB / 0.6857 GB, free: 10.65 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.924e-06/0.158, allocations: 0 / 0.6857 GB, free: 10.65 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 9.62e-05/0.1581, allocations: 32.03 kB / 0.6857 GB, free: 10.62 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003268/0.1584, allocations: 8 kB / 0.6858 GB, free: 10.61 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001607/0.16, allocations: 1.329 MB / 0.6871 GB, free: 9.195 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002976/0.1603, allocations: 0.6884 MB / 0.6877 GB, free: 8.48 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 3.97e-05/0.1604, allocations: 7.984 kB / 0.6877 GB, free: 8.473 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.225e-05/0.1604, allocations: 11.44 kB / 0.6877 GB, free: 8.461 MB / 494.1 MB Notification: Performance of SimCode: time 2.1e-07/0.1604, allocations: 0 / 0.6877 GB, free: 8.461 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02159/0.182, allocations: 1.759 MB / 0.6895 GB, free: 6.828 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.485/7.667, allocations: 17.69 kB / 0.6895 GB, free: 6.82 MB / 494.1 MB (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)