Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.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/IDEAS 3.0.0-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-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(IDEAS.Utilities.Psychrometrics.Examples.TotalAirDryAir,fileNamePrefix="IDEAS_dev_IDEAS_Utilities_Psychrometrics_Examples_TotalAirDryAir",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Psychrometrics.Examples.TotalAirDryAir,fileNamePrefix="IDEAS_dev_IDEAS_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.00667/0.00667, allocations: 100.8 kB / 15.73 MB, free: 6.062 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.001439/0.001439, allocations: 195.3 kB / 16.67 MB, free: 5.973 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.481/1.481, allocations: 222.9 MB / 240.4 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8586/0.8586, allocations: 135.6 MB / 426.1 MB, free: 3.688 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001936/0.001936, allocations: 67.55 kB / 0.5857 GB, free: 21.6 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1727/0.1747, allocations: 81.03 MB / 0.6649 GB, free: 5.648 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Psychrometrics.Examples.TotalAirDryAir): time 0.002913/0.1776, allocations: 1.484 MB / 0.6663 GB, free: 4.156 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0003621/0.178, allocations: 127.6 kB / 0.6664 GB, free: 4.031 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.212e-05/0.1781, allocations: 4 kB / 0.6664 GB, free: 4.027 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 3.602e-05/0.1782, allocations: 3.938 kB / 0.6664 GB, free: 4.023 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 7.547e-05/0.1782, allocations: 11.86 kB / 0.6664 GB, free: 4.012 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003574/0.1786, allocations: 66.64 kB / 0.6665 GB, free: 3.949 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0001328/0.1787, allocations: 63.83 kB / 0.6666 GB, free: 3.887 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001114/0.1789, allocations: 15.98 kB / 0.6666 GB, free: 3.871 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 6.495e-05/0.1789, allocations: 23.92 kB / 0.6666 GB, free: 3.848 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 7.16e-05/0.179, allocations: 31.91 kB / 0.6666 GB, free: 3.816 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 2.601e-05/0.179, allocations: 4 kB / 0.6666 GB, free: 3.812 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 1.903e-05/0.1791, allocations: 4 kB / 0.6666 GB, free: 3.809 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 3.121e-05/0.1791, allocations: 19.86 kB / 0.6667 GB, free: 3.789 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 4.452e-05/0.1791, allocations: 19.92 kB / 0.6667 GB, free: 3.77 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001358/0.1793, allocations: 64 kB / 0.6667 GB, free: 3.707 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.859e-06/0.1793, allocations: 0 / 0.6667 GB, free: 3.707 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.563e-06/0.1793, allocations: 0 / 0.6667 GB, free: 3.707 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 6.963e-06/0.1793, allocations: 0 / 0.6667 GB, free: 3.707 MB / 0.4981 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.0006172/0.1799, allocations: 375.3 kB / 0.6671 GB, free: 3.289 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.651e-05/0.18, allocations: 13.09 kB / 0.6671 GB, free: 3.277 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.309e-05/0.18, allocations: 38.75 kB / 0.6672 GB, free: 3.23 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.287e-05/0.1801, allocations: 0.9375 kB / 0.6672 GB, free: 3.23 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001383/0.1802, allocations: 168.3 kB / 0.6673 GB, free: 3.027 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.121e-05/0.1803, allocations: 30.27 kB / 0.6673 GB, free: 2.992 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.341e-05/0.1803, allocations: 4.375 kB / 0.6673 GB, free: 2.988 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002234/0.1805, allocations: 85.89 kB / 0.6674 GB, free: 2.898 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.575e-06/0.1806, allocations: 4 kB / 0.6674 GB, free: 2.895 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.18e-05/0.1806, allocations: 0 / 0.6674 GB, free: 2.895 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.238e-06/0.1806, allocations: 0 / 0.6674 GB, free: 2.895 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001819/0.1808, allocations: 51.88 kB / 0.6675 GB, free: 2.844 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006027/0.1814, allocations: 320.7 kB / 0.6678 GB, free: 2.48 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001374/0.1815, allocations: 50.5 kB / 0.6678 GB, free: 2.422 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001031/0.1816, allocations: 32.92 kB / 0.6679 GB, free: 2.387 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.208e-05/0.1817, allocations: 0 / 0.6679 GB, free: 2.387 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.798e-05/0.1817, allocations: 30.56 kB / 0.6679 GB, free: 2.348 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=4): time 9.22e-07/0.1817, allocations: 7.938 kB / 0.6679 GB, free: 2.34 MB / 0.4981 GB Notification: Performance of matching and sorting (n=4): time 0.0003752/0.1821, allocations: 101.7 kB / 0.668 GB, free: 2.234 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.395e-05/0.1821, allocations: 55.41 kB / 0.6681 GB, free: 2.168 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001039/0.1823, allocations: 113.9 kB / 0.6682 GB, free: 2.047 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.738e-05/0.1823, allocations: 25.7 kB / 0.6682 GB, free: 2.016 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 6.373e-05/0.1824, allocations: 96.08 kB / 0.6683 GB, free: 1.918 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 1.493e-05/0.1824, allocations: 7.906 kB / 0.6683 GB, free: 1.91 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.206e-05/0.1824, allocations: 17.72 kB / 0.6683 GB, free: 1.887 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001607/0.1826, allocations: 326.8 kB / 0.6686 GB, free: 1.559 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.818e-05/0.1827, allocations: 19.98 kB / 0.6686 GB, free: 1.539 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001006/0.1828, allocations: 37.69 kB / 0.6687 GB, free: 1.496 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000181/0.183, allocations: 53.69 kB / 0.6687 GB, free: 1.438 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.128e-06/0.183, allocations: 0 / 0.6687 GB, free: 1.438 MB / 0.4981 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.000226/0.1832, allocations: 85.59 kB / 0.6688 GB, free: 1.348 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.842e-05/0.1833, allocations: 10.03 kB / 0.6688 GB, free: 1.34 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.144e-06/0.1833, allocations: 4.109 kB / 0.6688 GB, free: 1.336 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.581e-05/0.1833, allocations: 0 / 0.6688 GB, free: 1.336 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001129/0.1834, allocations: 16 kB / 0.6688 GB, free: 1.32 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.925e-06/0.1834, allocations: 3.938 kB / 0.6688 GB, free: 1.316 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.889e-05/0.1835, allocations: 19.91 kB / 0.6689 GB, free: 1.297 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.34e-06/0.1835, allocations: 0 / 0.6689 GB, free: 1.297 MB / 0.4981 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 0.0001021/0.1836, allocations: 117.8 kB / 0.669 GB, free: 1.172 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.769e-05/0.1836, allocations: 4 kB / 0.669 GB, free: 1.168 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.07e-05/0.1837, allocations: 7.891 kB / 0.669 GB, free: 1.156 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.463e-06/0.1837, allocations: 0 / 0.669 GB, free: 1.156 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.009e-06/0.1837, allocations: 0 / 0.669 GB, free: 1.156 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.116e-06/0.1837, allocations: 0 / 0.669 GB, free: 1.156 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000211/0.1839, allocations: 181.6 kB / 0.6691 GB, free: 0.9297 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.122e-06/0.1839, allocations: 4 kB / 0.6692 GB, free: 0.9258 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.509e-05/0.184, allocations: 8 kB / 0.6692 GB, free: 0.918 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.613e-06/0.184, allocations: 0 / 0.6692 GB, free: 0.918 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.125e-06/0.184, allocations: 0 / 0.6692 GB, free: 0.918 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.117e-06/0.184, allocations: 3.984 kB / 0.6692 GB, free: 0.9141 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.52e-07/0.184, allocations: 0 / 0.6692 GB, free: 0.9141 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002947/0.1843, allocations: 187.3 kB / 0.6693 GB, free: 0.7148 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 4.318e-05/0.1844, allocations: 77.11 kB / 0.6694 GB, free: 0.6211 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.756e-05/0.1844, allocations: 11.88 kB / 0.6694 GB, free: 0.6094 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001254/0.1845, allocations: 7.984 kB / 0.6694 GB, free: 0.6016 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.357e-05/0.1846, allocations: 7.984 kB / 0.6694 GB, free: 0.5938 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.137e-06/0.1846, allocations: 0 / 0.6694 GB, free: 0.5938 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 4.991e-05/0.1847, allocations: 87.28 kB / 0.6695 GB, free: 0.5078 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.2e-07/0.1847, allocations: 0 / 0.6695 GB, free: 0.5078 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002214/0.1849, allocations: 12 kB / 0.6695 GB, free: 0.4961 MB / 0.4981 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.0006134/0.1855, allocations: 0.7085 MB / 0.6702 GB, free: 15.76 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0002397/0.1858, allocations: 55.89 kB / 0.6703 GB, free: 15.71 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.234e-06/0.1858, allocations: 4.062 kB / 0.6703 GB, free: 15.7 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 9.484e-05/0.1859, allocations: 28.25 kB / 0.6703 GB, free: 15.68 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003306/0.1862, allocations: 0 / 0.6703 GB, free: 15.68 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001599/0.1878, allocations: 1.338 MB / 0.6716 GB, free: 14.25 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003264/0.1882, allocations: 0.6846 MB / 0.6723 GB, free: 13.54 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 4.099e-05/0.1882, allocations: 4 kB / 0.6723 GB, free: 13.54 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.62e-05/0.1883, allocations: 15.44 kB / 0.6723 GB, free: 13.52 MB / 0.5137 GB Notification: Performance of SimCode: time 7.41e-07/0.1883, allocations: 4 kB / 0.6723 GB, free: 13.52 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02177/0.21, allocations: 1.777 MB / 0.674 GB, free: 11.83 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.789/7.999, allocations: 8.516 kB / 0.6741 GB, free: 11.82 MB / 0.5137 GB (rm -f IDEAS_dev_IDEAS.Utilities.Psychrometrics.Examples.TotalAirDryAir.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Psychrometrics.Examples.TotalAirDryAir.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Psychrometrics.Examples.TotalAirDryAir.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Psychrometrics.Examples.TotalAirDryAir.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Utilities_Psychrometrics_Examples_TotalAirDryAir_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Utilities_Psychrometrics_Examples_TotalAirDryAir.fmu > IDEAS_dev_IDEAS.Utilities.Psychrometrics.Examples.TotalAirDryAir.pipe 2>&1)