Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.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.SaturationPressureDerivativeCheck,fileNamePrefix="IDEAS_dev_IDEAS_Utilities_Psychrometrics_Functions_BaseClasses_Examples_SaturationPressureDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck,fileNamePrefix="IDEAS_dev_IDEAS_Utilities_Psychrometrics_Functions_BaseClasses_Examples_SaturationPressureDerivativeCheck",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.001518/0.001518, allocations: 108 kB / 15.61 MB, free: 152 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: 196.6 kB / 16.53 MB, free: 6.664 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.317/1.317, allocations: 222.9 MB / 240.2 MB, free: 4.414 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9295/0.9295, allocations: 135.1 MB / 425.5 MB, free: 11.85 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001215/0.001215, allocations: 61.16 kB / 0.5055 GB, free: 5.246 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1297/0.1309, allocations: 80.93 MB / 0.5845 GB, free: 4.484 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck): time 0.002207/0.1331, allocations: 1.274 MB / 0.5857 GB, free: 3.199 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009502/0.1341, allocations: 0.6489 MB / 0.5864 GB, free: 2.547 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.135e-05/0.1342, allocations: 0 / 0.5864 GB, free: 2.547 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 1.459e-05/0.1342, allocations: 3.984 kB / 0.5864 GB, free: 2.543 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 4.202e-05/0.1342, allocations: 7.938 kB / 0.5864 GB, free: 2.535 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004214/0.1347, allocations: 103.5 kB / 0.5865 GB, free: 2.434 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 5.424e-05/0.1347, allocations: 27.86 kB / 0.5865 GB, free: 2.406 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.306e-05/0.1348, allocations: 4 kB / 0.5865 GB, free: 2.402 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.106e-05/0.1348, allocations: 11.94 kB / 0.5865 GB, free: 2.391 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.76e-05/0.1348, allocations: 15.97 kB / 0.5865 GB, free: 2.375 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.127e-05/0.1349, allocations: 0 / 0.5865 GB, free: 2.375 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002533/0.1351, allocations: 139.8 kB / 0.5867 GB, free: 2.238 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.294e-05/0.1351, allocations: 4 kB / 0.5867 GB, free: 2.234 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 2.709e-05/0.1352, allocations: 11.92 kB / 0.5867 GB, free: 2.223 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000189/0.1354, allocations: 96.05 kB / 0.5868 GB, free: 2.129 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.926e-06/0.1354, allocations: 0 / 0.5868 GB, free: 2.129 MB / 494.1 MB Notification: Performance of FrontEnd: time 2.545e-06/0.1354, allocations: 0 / 0.5868 GB, free: 2.129 MB / 494.1 MB Notification: Performance of Transformations before backend: time 6.743e-06/0.1354, allocations: 3.938 kB / 0.5868 GB, free: 2.125 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.000405/0.1358, allocations: 359.4 kB / 0.5871 GB, free: 1.723 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.425e-05/0.1358, allocations: 12.02 kB / 0.5871 GB, free: 1.711 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.374e-05/0.1359, allocations: 38.75 kB / 0.5872 GB, free: 1.664 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004134/0.1363, allocations: 24.91 kB / 0.5872 GB, free: 1.641 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.833e-05/0.1364, allocations: 160.4 kB / 0.5873 GB, free: 1.445 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.868e-06/0.1364, allocations: 4.375 kB / 0.5873 GB, free: 1.441 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.814e-05/0.1365, allocations: 8.359 kB / 0.5874 GB, free: 1.434 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001655/0.1366, allocations: 58.22 kB / 0.5874 GB, free: 1.371 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.105e-06/0.1367, allocations: 3.938 kB / 0.5874 GB, free: 1.367 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.072e-05/0.1367, allocations: 0 / 0.5874 GB, free: 1.367 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.927e-06/0.1367, allocations: 0 / 0.5874 GB, free: 1.367 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001429/0.1368, allocations: 35.89 kB / 0.5874 GB, free: 1.332 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001569/0.137, allocations: 165.7 kB / 0.5876 GB, free: 1.121 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003013/0.1373, allocations: 62.58 kB / 0.5877 GB, free: 1.051 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.447e-05/0.1374, allocations: 24.94 kB / 0.5877 GB, free: 1.023 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.731e-05/0.1374, allocations: 4 kB / 0.5877 GB, free: 1.02 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.541e-05/0.1374, allocations: 42.55 kB / 0.5877 GB, free: 0.9688 MB / 494.1 MB Notification: Performance of pre-optimization done (n=4): time 1.123e-06/0.1375, allocations: 3.938 kB / 0.5877 GB, free: 0.9648 MB / 494.1 MB Notification: Performance of matching and sorting (n=6): time 0.003449/0.1409, allocations: 0.5836 MB / 0.5883 GB, free: 336 kB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.273e-05/0.141, allocations: 55.41 kB / 0.5884 GB, free: 268 kB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.319e-05/0.141, allocations: 89.86 kB / 0.5884 GB, free: 168 kB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 2.231e-05/0.141, allocations: 29.7 kB / 0.5885 GB, free: 132 kB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.811e-05/0.1411, allocations: 84.14 kB / 0.5886 GB, free: 44 kB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.8e-05/0.1411, allocations: 15.7 kB / 0.5886 GB, free: 28 kB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.785e-05/0.1412, allocations: 25.7 kB / 0.5886 GB, free: 16 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001011/0.1413, allocations: 323 kB / 0.5889 GB, free: 15.67 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001436/0.1415, allocations: 35.97 kB / 0.5889 GB, free: 15.64 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001341/0.1416, allocations: 31.97 kB / 0.589 GB, free: 15.61 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002911/0.1419, allocations: 88.81 kB / 0.5891 GB, free: 15.52 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.42e-07/0.1419, allocations: 0 / 0.5891 GB, free: 15.52 MB / 0.4981 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.000358/0.1423, allocations: 129.4 kB / 0.5892 GB, free: 15.38 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.408e-05/0.1423, allocations: 6.5 kB / 0.5892 GB, free: 15.38 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.098e-06/0.1423, allocations: 0 / 0.5892 GB, free: 15.38 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.149e-05/0.1423, allocations: 0 / 0.5892 GB, free: 15.38 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002309/0.1425, allocations: 31.97 kB / 0.5892 GB, free: 15.35 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.19e-06/0.1426, allocations: 240 / 0.5892 GB, free: 15.35 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001524/0.1427, allocations: 7.984 kB / 0.5892 GB, free: 15.34 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.509e-05/0.1427, allocations: 4 kB / 0.5892 GB, free: 15.34 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 (7): * Single equations (assignments): 7 * 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.834e-05/0.1428, allocations: 109.8 kB / 0.5893 GB, free: 15.22 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.764e-05/0.1429, allocations: 11.92 kB / 0.5893 GB, free: 15.21 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.539e-05/0.1429, allocations: 15.95 kB / 0.5894 GB, free: 15.19 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.335e-06/0.1429, allocations: 0 / 0.5894 GB, free: 15.19 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.637e-06/0.1429, allocations: 4 kB / 0.5894 GB, free: 15.18 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.985e-06/0.143, allocations: 0 / 0.5894 GB, free: 15.18 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001432/0.1431, allocations: 175.7 kB / 0.5895 GB, free: 14.96 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.856e-06/0.1431, allocations: 7.938 kB / 0.5895 GB, free: 14.95 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002275/0.1433, allocations: 31.84 kB / 0.5896 GB, free: 14.92 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.014e-06/0.1434, allocations: 0 / 0.5896 GB, free: 14.92 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.862e-05/0.1434, allocations: 11.98 kB / 0.5896 GB, free: 14.91 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.084e-06/0.1434, allocations: 0 / 0.5896 GB, free: 14.91 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.444e-06/0.1434, allocations: 0 / 0.5896 GB, free: 14.91 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005325/0.1439, allocations: 189 kB / 0.5898 GB, free: 14.71 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 3.424e-05/0.144, allocations: 84.95 kB / 0.5898 GB, free: 14.61 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.574e-05/0.144, allocations: 4.031 kB / 0.5898 GB, free: 14.6 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001944/0.1442, allocations: 12.11 kB / 0.5899 GB, free: 14.59 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.725e-05/0.1442, allocations: 4 kB / 0.5899 GB, free: 14.59 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.643e-05/0.1443, allocations: 12.05 kB / 0.5899 GB, free: 14.57 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 2.784e-05/0.1443, allocations: 75.28 kB / 0.5899 GB, free: 14.5 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.21e-07/0.1443, allocations: 0 / 0.5899 GB, free: 14.5 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002411/0.1445, allocations: 39.92 kB / 0.59 GB, free: 14.46 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 (6): * Single equations (assignments): 6 * 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.000826/0.1454, allocations: 0.753 MB / 0.5907 GB, free: 13.68 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.000349/0.1457, allocations: 95.92 kB / 0.5908 GB, free: 13.59 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.973e-06/0.1457, allocations: 0 / 0.5908 GB, free: 13.59 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001535/0.1459, allocations: 43.95 kB / 0.5908 GB, free: 13.54 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000225/0.1461, allocations: 11.25 kB / 0.5909 GB, free: 13.54 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0019/0.148, allocations: 1.348 MB / 0.5922 GB, free: 12.1 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001897/0.1482, allocations: 0.6848 MB / 0.5928 GB, free: 11.39 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.000222/0.1485, allocations: 28.27 kB / 0.5929 GB, free: 11.36 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.024e-05/0.1485, allocations: 19.41 kB / 0.5929 GB, free: 11.35 MB / 0.4981 GB Notification: Performance of SimCode: time 3.21e-07/0.1486, allocations: 0 / 0.5929 GB, free: 11.35 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03266/0.1812, allocations: 2.453 MB / 0.5953 GB, free: 9.082 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.17/8.351, allocations: 3.938 kB / 0.5953 GB, free: 9.082 MB / 0.4981 GB (rm -f IDEAS_dev_IDEAS.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Utilities_Psychrometrics_Functions_BaseClasses_Examples_SaturationPressureDerivativeCheck_fmu --startTime=-1 --stopTime=1 --timeout=50 --tolerance=1e-09 IDEAS_dev_IDEAS_Utilities_Psychrometrics_Functions_BaseClasses_Examples_SaturationPressureDerivativeCheck.fmu > IDEAS_dev_IDEAS.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.pipe 2>&1)