Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck.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/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck,fileNamePrefix="IDEAS_IDEAS_Utilities_Psychrometrics_Functions_BaseClasses_Examples_WaterVaporPressureDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck,fileNamePrefix="IDEAS_IDEAS_Utilities_Psychrometrics_Functions_BaseClasses_Examples_WaterVaporPressureDerivativeCheck",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.00785/0.00785, allocations: 99.14 kB / 15.73 MB, free: 6.035 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.002297/0.002298, allocations: 194.6 kB / 16.67 MB, free: 5.965 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.429/1.429, allocations: 222.9 MB / 240.4 MB, free: 4.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7598/0.7598, allocations: 132.2 MB / 422.7 MB, free: 1.738 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001261/0.001261, allocations: 67.77 kB / 0.5809 GB, free: 1.129 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1802/0.1814, allocations: 80.2 MB / 0.6592 GB, free: 13.99 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck): time 0.002451/0.1839, allocations: 1.254 MB / 0.6604 GB, free: 12.73 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.000569/0.1845, allocations: 241.8 kB / 0.6607 GB, free: 12.49 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.195e-05/0.1846, allocations: 0 / 0.6607 GB, free: 12.49 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 1.997e-05/0.1846, allocations: 0 / 0.6607 GB, free: 12.49 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 3.77e-05/0.1847, allocations: 0 / 0.6607 GB, free: 12.49 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003464/0.185, allocations: 47.77 kB / 0.6607 GB, free: 12.45 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 6.706e-05/0.1851, allocations: 19.98 kB / 0.6607 GB, free: 12.43 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 5.009e-05/0.1852, allocations: 0 / 0.6607 GB, free: 12.43 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 3.143e-05/0.1852, allocations: 15.91 kB / 0.6607 GB, free: 12.41 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 8.138e-05/0.1853, allocations: 8 kB / 0.6607 GB, free: 12.4 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.332e-05/0.1853, allocations: 0 / 0.6607 GB, free: 12.4 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001282/0.1854, allocations: 43.95 kB / 0.6608 GB, free: 12.36 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.735e-05/0.1855, allocations: 8 kB / 0.6608 GB, free: 12.35 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 3.003e-05/0.1855, allocations: 11.92 kB / 0.6608 GB, free: 12.34 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001323/0.1856, allocations: 36.95 kB / 0.6608 GB, free: 12.31 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 6.041e-06/0.1857, allocations: 4 kB / 0.6608 GB, free: 12.3 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.773e-06/0.1857, allocations: 3.938 kB / 0.6608 GB, free: 12.3 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 5.12e-06/0.1857, allocations: 0 / 0.6608 GB, free: 12.3 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.000409/0.1861, allocations: 331.6 kB / 0.6612 GB, free: 11.93 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.798e-05/0.1861, allocations: 15.97 kB / 0.6612 GB, free: 11.91 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.049e-05/0.1862, allocations: 38.73 kB / 0.6612 GB, free: 11.87 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001778/0.1864, allocations: 8.938 kB / 0.6612 GB, free: 11.86 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001008/0.1865, allocations: 168.9 kB / 0.6614 GB, free: 11.66 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.448e-06/0.1865, allocations: 384 / 0.6614 GB, free: 11.66 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.682e-05/0.1865, allocations: 4.375 kB / 0.6614 GB, free: 11.65 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001286/0.1867, allocations: 50 kB / 0.6614 GB, free: 11.6 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.035e-06/0.1867, allocations: 0 / 0.6614 GB, free: 11.6 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.979e-06/0.1867, allocations: 0 / 0.6614 GB, free: 11.6 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.829e-06/0.1867, allocations: 0 / 0.6614 GB, free: 11.6 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.174e-05/0.1868, allocations: 15.94 kB / 0.6615 GB, free: 11.58 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001645/0.1869, allocations: 154 kB / 0.6616 GB, free: 11.38 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 8.998e-05/0.187, allocations: 46.62 kB / 0.6616 GB, free: 11.33 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.376e-05/0.1871, allocations: 28.97 kB / 0.6617 GB, free: 11.3 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 8.786e-06/0.1871, allocations: 0 / 0.6617 GB, free: 11.3 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.574e-05/0.1871, allocations: 38.5 kB / 0.6617 GB, free: 11.25 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=5): time 8.72e-07/0.1871, allocations: 0 / 0.6617 GB, free: 11.25 MB / 0.4981 GB Notification: Performance of matching and sorting (n=8): time 0.002272/0.1894, allocations: 0.5018 MB / 0.6622 GB, free: 10.7 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.134e-05/0.1895, allocations: 51.41 kB / 0.6622 GB, free: 10.63 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.083e-05/0.1895, allocations: 89.86 kB / 0.6623 GB, free: 10.54 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 3.211e-05/0.1896, allocations: 33.69 kB / 0.6624 GB, free: 10.5 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 4.524e-05/0.1896, allocations: 84.14 kB / 0.6624 GB, free: 10.41 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 4.397e-05/0.1897, allocations: 19.66 kB / 0.6625 GB, free: 10.39 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.682e-05/0.1897, allocations: 25.72 kB / 0.6625 GB, free: 10.36 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001317/0.1899, allocations: 314.8 kB / 0.6628 GB, free: 10.04 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.186e-05/0.1899, allocations: 20 kB / 0.6628 GB, free: 10.02 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.261e-05/0.19, allocations: 23.98 kB / 0.6628 GB, free: 10 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001058/0.1901, allocations: 56.86 kB / 0.6629 GB, free: 9.941 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.082e-06/0.1901, allocations: 3.938 kB / 0.6629 GB, free: 9.938 MB / 0.4981 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001539/0.1902, allocations: 101.5 kB / 0.663 GB, free: 9.832 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.904e-05/0.1903, allocations: 8 kB / 0.663 GB, free: 9.824 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.542e-06/0.1903, allocations: 0 / 0.663 GB, free: 9.824 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.056e-05/0.1903, allocations: 0 / 0.663 GB, free: 9.824 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001628/0.1905, allocations: 15.94 kB / 0.663 GB, free: 9.809 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.057e-06/0.1905, allocations: 0 / 0.663 GB, free: 9.809 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.354e-05/0.1906, allocations: 7.938 kB / 0.663 GB, free: 9.801 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.668e-06/0.1906, allocations: 4 kB / 0.663 GB, free: 9.797 MB / 0.4981 GB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (9): * Single equations (assignments): 9 * 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.0001009/0.1907, allocations: 110.5 kB / 0.6631 GB, free: 9.68 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.134e-05/0.1907, allocations: 12.22 kB / 0.6631 GB, free: 9.668 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.557e-05/0.1908, allocations: 15.97 kB / 0.6632 GB, free: 9.641 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.543e-06/0.1908, allocations: 0 / 0.6632 GB, free: 9.641 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.099e-06/0.1908, allocations: 3.938 kB / 0.6632 GB, free: 9.637 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.407e-06/0.1908, allocations: 0 / 0.6632 GB, free: 9.637 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001624/0.191, allocations: 175.5 kB / 0.6633 GB, free: 9.414 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.21e-06/0.191, allocations: 7.922 kB / 0.6633 GB, free: 9.406 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001447/0.1911, allocations: 16 kB / 0.6633 GB, free: 9.391 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.497e-06/0.1912, allocations: 0 / 0.6633 GB, free: 9.391 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.119e-05/0.1912, allocations: 0 / 0.6633 GB, free: 9.391 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.968e-06/0.1912, allocations: 0 / 0.6633 GB, free: 9.391 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.212e-06/0.1912, allocations: 7.938 kB / 0.6634 GB, free: 9.383 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002667/0.1915, allocations: 145.1 kB / 0.6635 GB, free: 9.223 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 4.857e-05/0.1915, allocations: 84.95 kB / 0.6636 GB, free: 9.121 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.872e-05/0.1915, allocations: 448 / 0.6636 GB, free: 9.121 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001128/0.1917, allocations: 4.031 kB / 0.6636 GB, free: 9.117 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.208e-05/0.1917, allocations: 11.98 kB / 0.6636 GB, free: 9.105 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.428e-06/0.1917, allocations: 4 kB / 0.6636 GB, free: 9.102 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 4.407e-05/0.1918, allocations: 79.34 kB / 0.6637 GB, free: 9.023 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1e-07/0.1918, allocations: 0 / 0.6637 GB, free: 9.023 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002083/0.192, allocations: 12 kB / 0.6637 GB, free: 9.012 MB / 0.4981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (y_comp) * 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 (8): * Single equations (assignments): 8 * 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.0005737/0.1926, allocations: 0.6827 MB / 0.6643 GB, free: 8.301 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0001889/0.1928, allocations: 67.97 kB / 0.6644 GB, free: 8.234 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 3.336e-06/0.1928, allocations: 4 kB / 0.6644 GB, free: 8.23 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 5.739e-05/0.1928, allocations: 27.98 kB / 0.6644 GB, free: 8.203 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003045/0.1932, allocations: 12.39 kB / 0.6645 GB, free: 8.195 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001453/0.1946, allocations: 1.279 MB / 0.6657 GB, free: 6.836 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003031/0.1949, allocations: 0.6807 MB / 0.6664 GB, free: 6.129 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 7.357e-05/0.195, allocations: 11.98 kB / 0.6664 GB, free: 6.117 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.838e-05/0.1951, allocations: 11.44 kB / 0.6664 GB, free: 6.105 MB / 0.4981 GB Notification: Performance of SimCode: time 3.1e-07/0.1951, allocations: 3.938 kB / 0.6664 GB, free: 6.102 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02054/0.2156, allocations: 1.648 MB / 0.668 GB, free: 4.648 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.71/7.926, allocations: 14.88 kB / 0.668 GB, free: 4.645 MB / 0.4981 GB (rm -f IDEAS_IDEAS.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck.pipe ; mkfifo IDEAS_IDEAS.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck.pipe >> ../files/IDEAS_IDEAS.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Utilities_Psychrometrics_Functions_BaseClasses_Examples_WaterVaporPressureDerivativeCheck_fmu --startTime=-1 --stopTime=1 --timeout=50 --tolerance=1e-09 IDEAS_IDEAS_Utilities_Psychrometrics_Functions_BaseClasses_Examples_WaterVaporPressureDerivativeCheck.fmu > IDEAS_IDEAS.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck.pipe 2>&1)