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.001234/0.001234, allocations: 109.4 kB / 15.69 MB, free: 128 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.001374/0.001374, allocations: 187.9 kB / 16.62 MB, free: 6.613 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.262/1.262, allocations: 222.9 MB / 240.3 MB, free: 4.344 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002163/0.002163, allocations: 271.1 kB / 290.8 MB, free: 1.953 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9529/0.9529, allocations: 169.3 MB / 0.4983 GB, free: 13.84 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001657/0.001657, allocations: 99.12 kB / 0.5955 GB, free: 27.94 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1532/0.1549, allocations: 86.98 MB / 0.6804 GB, free: 488 kB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Psychrometrics.Examples.TotalAirDryAir): time 0.002317/0.1572, allocations: 1.495 MB / 0.6819 GB, free: 14.98 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002589/0.1575, allocations: 123.7 kB / 0.682 GB, free: 14.86 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.474e-05/0.1576, allocations: 0 / 0.682 GB, free: 14.86 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 2.593e-05/0.1576, allocations: 3.938 kB / 0.682 GB, free: 14.86 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 4.296e-05/0.1576, allocations: 15.92 kB / 0.682 GB, free: 14.84 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002625/0.1579, allocations: 71.83 kB / 0.6821 GB, free: 14.77 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 9.444e-05/0.158, allocations: 59.84 kB / 0.6822 GB, free: 14.71 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.152e-05/0.1581, allocations: 20.2 kB / 0.6822 GB, free: 14.7 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.718e-05/0.1582, allocations: 23.92 kB / 0.6822 GB, free: 14.67 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.14e-05/0.1582, allocations: 27.89 kB / 0.6822 GB, free: 14.64 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 2.012e-05/0.1582, allocations: 8 kB / 0.6822 GB, free: 14.64 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.183e-05/0.1583, allocations: 4 kB / 0.6822 GB, free: 14.63 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 2.335e-05/0.1583, allocations: 19.92 kB / 0.6823 GB, free: 14.61 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 3.166e-05/0.1583, allocations: 19.92 kB / 0.6823 GB, free: 14.59 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 8.924e-05/0.1584, allocations: 51.8 kB / 0.6823 GB, free: 14.54 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.895e-06/0.1584, allocations: 4 kB / 0.6823 GB, free: 14.54 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.152e-06/0.1584, allocations: 0 / 0.6823 GB, free: 14.54 MB / 494.1 MB Notification: Performance of Transformations before backend: time 5.38e-06/0.1584, allocations: 0 / 0.6823 GB, free: 14.54 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.0004567/0.1589, allocations: 375.3 kB / 0.6827 GB, free: 14.12 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.266e-05/0.1589, allocations: 8.031 kB / 0.6827 GB, free: 14.11 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.912e-05/0.159, allocations: 38.75 kB / 0.6827 GB, free: 14.07 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.059e-05/0.159, allocations: 8.844 kB / 0.6827 GB, free: 14.06 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001027/0.1591, allocations: 168.4 kB / 0.6829 GB, free: 13.86 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.831e-05/0.1592, allocations: 34.27 kB / 0.6829 GB, free: 13.82 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.029e-05/0.1592, allocations: 384 / 0.6829 GB, free: 13.82 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001829/0.1594, allocations: 73.97 kB / 0.683 GB, free: 13.74 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.502e-06/0.1594, allocations: 0 / 0.683 GB, free: 13.74 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.414e-05/0.1594, allocations: 8 kB / 0.683 GB, free: 13.73 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.797e-06/0.1595, allocations: 4 kB / 0.683 GB, free: 13.73 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001631/0.1596, allocations: 47.89 kB / 0.6831 GB, free: 13.68 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000532/0.1602, allocations: 316.6 kB / 0.6834 GB, free: 13.32 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001233/0.1603, allocations: 62.42 kB / 0.6834 GB, free: 13.25 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.156e-05/0.1604, allocations: 32.88 kB / 0.6835 GB, free: 13.21 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.878e-06/0.1604, allocations: 0 / 0.6835 GB, free: 13.21 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.201e-05/0.1604, allocations: 38.56 kB / 0.6835 GB, free: 13.17 MB / 494.1 MB Notification: Performance of pre-optimization done (n=4): time 8.52e-07/0.1604, allocations: 0 / 0.6835 GB, free: 13.17 MB / 494.1 MB Notification: Performance of matching and sorting (n=4): time 0.0003144/0.1608, allocations: 105.5 kB / 0.6836 GB, free: 13.06 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.549e-05/0.1608, allocations: 51.41 kB / 0.6836 GB, free: 13 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.659e-05/0.1609, allocations: 109.8 kB / 0.6838 GB, free: 12.88 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.549e-05/0.1609, allocations: 25.7 kB / 0.6838 GB, free: 12.85 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.924e-05/0.1609, allocations: 88.14 kB / 0.6839 GB, free: 12.76 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.45e-05/0.161, allocations: 15.8 kB / 0.6839 GB, free: 12.74 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.078e-05/0.161, allocations: 13.72 kB / 0.6839 GB, free: 12.72 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.000102/0.1611, allocations: 318.8 kB / 0.6842 GB, free: 12.4 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.249e-05/0.1612, allocations: 31.91 kB / 0.6842 GB, free: 12.37 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.997e-05/0.1613, allocations: 33.7 kB / 0.6843 GB, free: 12.33 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001455/0.1614, allocations: 53.67 kB / 0.6843 GB, free: 12.27 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.613e-06/0.1614, allocations: 0 / 0.6843 GB, free: 12.27 MB / 494.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001969/0.1616, allocations: 89.83 kB / 0.6844 GB, free: 12.18 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.133e-05/0.1617, allocations: 4 kB / 0.6844 GB, free: 12.18 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.001e-06/0.1617, allocations: 4 kB / 0.6844 GB, free: 12.17 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.277e-06/0.1617, allocations: 0 / 0.6844 GB, free: 12.17 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.902e-05/0.1618, allocations: 15.97 kB / 0.6844 GB, free: 12.16 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.553e-06/0.1618, allocations: 4.312 kB / 0.6844 GB, free: 12.15 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.284e-05/0.1619, allocations: 11.84 kB / 0.6844 GB, free: 12.14 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.991e-06/0.1619, allocations: 3.984 kB / 0.6844 GB, free: 12.14 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 6.624e-05/0.1619, allocations: 123.1 kB / 0.6846 GB, free: 12.01 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.532e-05/0.162, allocations: 0 / 0.6846 GB, free: 12.01 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.224e-05/0.162, allocations: 7.906 kB / 0.6846 GB, free: 12 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.474e-06/0.162, allocations: 4 kB / 0.6846 GB, free: 11.99 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.066e-06/0.162, allocations: 4.062 kB / 0.6846 GB, free: 11.99 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.186e-06/0.162, allocations: 4 kB / 0.6846 GB, free: 11.98 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000154/0.1622, allocations: 173.6 kB / 0.6847 GB, free: 11.77 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.023e-06/0.1622, allocations: 4 kB / 0.6847 GB, free: 11.76 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.829e-05/0.1623, allocations: 15.98 kB / 0.6848 GB, free: 11.75 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.392e-06/0.1623, allocations: 0 / 0.6848 GB, free: 11.75 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.903e-06/0.1623, allocations: 0 / 0.6848 GB, free: 11.75 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.213e-06/0.1623, allocations: 3.938 kB / 0.6848 GB, free: 11.74 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.923e-06/0.1623, allocations: 3.984 kB / 0.6848 GB, free: 11.74 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002257/0.1625, allocations: 179.4 kB / 0.6849 GB, free: 11.55 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.671e-05/0.1626, allocations: 77.11 kB / 0.685 GB, free: 11.45 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.235e-05/0.1626, allocations: 7.984 kB / 0.685 GB, free: 11.45 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001191/0.1627, allocations: 15.98 kB / 0.685 GB, free: 11.43 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.224e-05/0.1627, allocations: 3.938 kB / 0.685 GB, free: 11.43 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.746e-06/0.1628, allocations: 4 kB / 0.685 GB, free: 11.42 MB / 494.1 MB Notification: Performance of sorting global known variables: time 3.888e-05/0.1628, allocations: 91.2 kB / 0.6851 GB, free: 11.33 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1628, allocations: 0 / 0.6851 GB, free: 11.33 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002197/0.163, allocations: 8 kB / 0.6851 GB, free: 11.32 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.0004751/0.1635, allocations: 0.7123 MB / 0.6858 GB, free: 10.59 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.000196/0.1637, allocations: 55.89 kB / 0.6859 GB, free: 10.53 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.744e-06/0.1637, allocations: 0 / 0.6859 GB, free: 10.53 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 8.491e-05/0.1638, allocations: 28.05 kB / 0.6859 GB, free: 10.5 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002504/0.1641, allocations: 4.75 kB / 0.6859 GB, free: 10.5 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001237/0.1653, allocations: 1.33 MB / 0.6872 GB, free: 9.086 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000208/0.1655, allocations: 0.6846 MB / 0.6879 GB, free: 8.375 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 3.069e-05/0.1656, allocations: 4 kB / 0.6879 GB, free: 8.371 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.545e-05/0.1656, allocations: 19.42 kB / 0.6879 GB, free: 8.352 MB / 494.1 MB Notification: Performance of SimCode: time 2.11e-07/0.1656, allocations: 0 / 0.6879 GB, free: 8.352 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01551/0.1812, allocations: 1.787 MB / 0.6896 GB, free: 6.715 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.906/7.087, allocations: 16.03 kB / 0.6897 GB, free: 6.703 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Utilities_Psychrometrics_Examples_TotalAirDryAir_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Utilities_Psychrometrics_Examples_TotalAirDryAir.fmu > BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.TotalAirDryAir.pipe 2>&1)