Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_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-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.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck,fileNamePrefix="IDEAS_dev_IDEAS_Utilities_Psychrometrics_Functions_BaseClasses_Examples_WaterVaporPressureDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck,fileNamePrefix="IDEAS_dev_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.001006/0.001006, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001077/0.001077, allocations: 193.9 kB / 16.14 MB, free: 6.703 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.296/1.296, allocations: 222.9 MB / 239.8 MB, free: 4.473 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8885/0.8885, allocations: 135.1 MB / 425.1 MB, free: 11.96 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001108/0.001108, allocations: 68.05 kB / 0.5048 GB, free: 5.621 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1374/0.1385, allocations: 80.92 MB / 0.5838 GB, free: 4.859 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck): time 0.002228/0.1408, allocations: 1.309 MB / 0.5851 GB, free: 3.535 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005438/0.1413, allocations: 244.9 kB / 0.5853 GB, free: 3.297 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.05e-05/0.1413, allocations: 0 / 0.5853 GB, free: 3.297 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 1.533e-05/0.1414, allocations: 0 / 0.5853 GB, free: 3.297 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 3.427e-05/0.1414, allocations: 0 / 0.5853 GB, free: 3.297 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002328/0.1416, allocations: 43.81 kB / 0.5854 GB, free: 3.254 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 4.384e-05/0.1417, allocations: 15.98 kB / 0.5854 GB, free: 3.238 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.71e-05/0.1417, allocations: 0 / 0.5854 GB, free: 3.238 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.064e-05/0.1418, allocations: 8 kB / 0.5854 GB, free: 3.23 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.732e-05/0.1418, allocations: 11.92 kB / 0.5854 GB, free: 3.219 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 9.938e-06/0.1418, allocations: 0 / 0.5854 GB, free: 3.219 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.497e-05/0.1419, allocations: 43.95 kB / 0.5855 GB, free: 3.176 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.665e-05/0.142, allocations: 11.98 kB / 0.5855 GB, free: 3.164 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 2.528e-05/0.142, allocations: 3.938 kB / 0.5855 GB, free: 3.16 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001067/0.1421, allocations: 40.23 kB / 0.5855 GB, free: 3.121 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.146e-06/0.1421, allocations: 0 / 0.5855 GB, free: 3.121 MB / 494.1 MB Notification: Performance of FrontEnd: time 7.51e-07/0.1421, allocations: 4 kB / 0.5855 GB, free: 3.117 MB / 494.1 MB Notification: Performance of Transformations before backend: time 5.33e-06/0.1421, allocations: 0 / 0.5855 GB, free: 3.117 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0003671/0.1425, allocations: 343.5 kB / 0.5858 GB, free: 2.73 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.616e-05/0.1426, allocations: 12.03 kB / 0.5859 GB, free: 2.719 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.225e-05/0.1426, allocations: 30.75 kB / 0.5859 GB, free: 2.68 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001236/0.1427, allocations: 12.83 kB / 0.5859 GB, free: 2.668 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.477e-05/0.1428, allocations: 164.4 kB / 0.5861 GB, free: 2.469 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.584e-06/0.1428, allocations: 4.375 kB / 0.5861 GB, free: 2.465 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.308e-05/0.1429, allocations: 4.375 kB / 0.5861 GB, free: 2.461 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001054/0.143, allocations: 42.25 kB / 0.5861 GB, free: 2.414 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.117e-06/0.143, allocations: 7.938 kB / 0.5861 GB, free: 2.406 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.027e-06/0.143, allocations: 0 / 0.5861 GB, free: 2.406 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.338e-06/0.143, allocations: 0 / 0.5861 GB, free: 2.406 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.566e-05/0.1431, allocations: 23.86 kB / 0.5861 GB, free: 2.383 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001422/0.1432, allocations: 165.7 kB / 0.5863 GB, free: 2.172 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.067e-05/0.1433, allocations: 46.56 kB / 0.5863 GB, free: 2.117 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.385e-05/0.1433, allocations: 20.97 kB / 0.5864 GB, free: 2.094 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.153e-05/0.1433, allocations: 4 kB / 0.5864 GB, free: 2.09 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.408e-05/0.1434, allocations: 30.56 kB / 0.5864 GB, free: 2.051 MB / 494.1 MB Notification: Performance of pre-optimization done (n=5): time 9.22e-07/0.1434, allocations: 0 / 0.5864 GB, free: 2.051 MB / 494.1 MB Notification: Performance of matching and sorting (n=8): time 0.002075/0.1455, allocations: 0.498 MB / 0.5869 GB, free: 1.5 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.951e-05/0.1455, allocations: 55.34 kB / 0.5869 GB, free: 1.434 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.535e-05/0.1455, allocations: 89.86 kB / 0.587 GB, free: 1.336 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.644e-05/0.1456, allocations: 29.7 kB / 0.587 GB, free: 1.301 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.185e-05/0.1456, allocations: 80.14 kB / 0.5871 GB, free: 1.219 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.705e-05/0.1457, allocations: 35.55 kB / 0.5872 GB, free: 1.184 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.429e-05/0.1457, allocations: 21.72 kB / 0.5872 GB, free: 1.156 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001359/0.1458, allocations: 310.8 kB / 0.5875 GB, free: 0.8438 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.54e-05/0.1459, allocations: 23.98 kB / 0.5875 GB, free: 0.8203 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.141e-05/0.1459, allocations: 24.42 kB / 0.5875 GB, free: 0.7969 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.941e-05/0.146, allocations: 56.86 kB / 0.5876 GB, free: 0.7383 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.01e-07/0.146, allocations: 0 / 0.5876 GB, free: 0.7383 MB / 494.1 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001388/0.1462, allocations: 93.56 kB / 0.5877 GB, free: 0.6406 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.192e-05/0.1462, allocations: 8.281 kB / 0.5877 GB, free: 0.6328 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.809e-06/0.1462, allocations: 4 kB / 0.5877 GB, free: 0.6289 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.088e-05/0.1462, allocations: 4 kB / 0.5877 GB, free: 0.625 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001439/0.1464, allocations: 23.86 kB / 0.5877 GB, free: 0.6016 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.28e-06/0.1464, allocations: 0 / 0.5877 GB, free: 0.6016 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.77e-05/0.1465, allocations: 4 kB / 0.5877 GB, free: 0.5977 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.853e-06/0.1465, allocations: 0 / 0.5877 GB, free: 0.5977 MB / 494.1 MB 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 7.181e-05/0.1466, allocations: 113.8 kB / 0.5878 GB, free: 488 kB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.444e-05/0.1466, allocations: 3.938 kB / 0.5878 GB, free: 484 kB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.274e-05/0.1466, allocations: 19.97 kB / 0.5878 GB, free: 460 kB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.583e-06/0.1466, allocations: 0 / 0.5878 GB, free: 460 kB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.457e-06/0.1466, allocations: 0 / 0.5878 GB, free: 460 kB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.598e-06/0.1467, allocations: 3.984 kB / 0.5878 GB, free: 456 kB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001242/0.1468, allocations: 171.5 kB / 0.588 GB, free: 232 kB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.002e-06/0.1468, allocations: 3.938 kB / 0.588 GB, free: 228 kB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001323/0.1469, allocations: 19.92 kB / 0.588 GB, free: 208 kB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.336e-06/0.1469, allocations: 4 kB / 0.588 GB, free: 204 kB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.468e-06/0.147, allocations: 0 / 0.588 GB, free: 204 kB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.182e-06/0.147, allocations: 0 / 0.588 GB, free: 204 kB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.254e-06/0.147, allocations: 0 / 0.588 GB, free: 204 kB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000221/0.1472, allocations: 149 kB / 0.5882 GB, free: 36 kB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.519e-05/0.1472, allocations: 85.08 kB / 0.5882 GB, free: 15.93 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.634e-05/0.1473, allocations: 3.984 kB / 0.5883 GB, free: 15.93 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001148/0.1474, allocations: 8 kB / 0.5883 GB, free: 15.92 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.44e-05/0.1474, allocations: 0 / 0.5883 GB, free: 15.92 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.692e-06/0.1474, allocations: 4 kB / 0.5883 GB, free: 15.92 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 2.367e-05/0.1475, allocations: 75.34 kB / 0.5883 GB, free: 15.84 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.2e-07/0.1475, allocations: 4 kB / 0.5883 GB, free: 15.84 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0001807/0.1477, allocations: 16 kB / 0.5884 GB, free: 15.82 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.000483/0.1481, allocations: 0.6865 MB / 0.589 GB, free: 15.11 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.000135/0.1483, allocations: 59.92 kB / 0.5891 GB, free: 15.05 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 3.436e-06/0.1483, allocations: 4.062 kB / 0.5891 GB, free: 15.05 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 4.852e-05/0.1483, allocations: 31.98 kB / 0.5891 GB, free: 15.02 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002494/0.1486, allocations: 14.06 kB / 0.5891 GB, free: 15.01 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001401/0.15, allocations: 1.281 MB / 0.5904 GB, free: 13.64 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002368/0.1503, allocations: 0.6809 MB / 0.591 GB, free: 12.94 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 8.622e-05/0.1504, allocations: 12 kB / 0.5911 GB, free: 12.93 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.098e-05/0.1504, allocations: 15.44 kB / 0.5911 GB, free: 12.91 MB / 0.4981 GB Notification: Performance of SimCode: time 5.71e-07/0.1504, allocations: 0 / 0.5911 GB, free: 12.91 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.121/2.272, allocations: 1.463 MB / 0.5925 GB, free: 11.64 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002054/2.272, allocations: 254.8 kB / 0.5927 GB, free: 11.39 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.057/4.329, allocations: 0 / 0.5927 GB, free: 11.39 MB / 0.4981 GB (rm -f IDEAS_dev_IDEAS.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Utilities_Psychrometrics_Functions_BaseClasses_Examples_WaterVaporPressureDerivativeCheck_fmu --startTime=-1 --stopTime=1 --timeout=50 --tolerance=1e-09 IDEAS_dev_IDEAS_Utilities_Psychrometrics_Functions_BaseClasses_Examples_WaterVaporPressureDerivativeCheck.fmu > IDEAS_dev_IDEAS.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck.pipe 2>&1)