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.007729/0.00773, allocations: 100.2 kB / 15.73 MB, free: 6.031 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.001773/0.001773, allocations: 190.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.421/1.421, allocations: 222.9 MB / 240.4 MB, free: 4.164 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9406/0.9406, allocations: 135.1 MB / 425.7 MB, free: 11.93 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00126/0.00126, allocations: 63.89 kB / 0.5852 GB, free: 3.84 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4294/0.4307, allocations: 80.92 MB / 0.6642 GB, free: 7.293 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck): time 0.002227/0.433, allocations: 1.258 MB / 0.6654 GB, free: 6.301 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0004904/0.4335, allocations: 231.2 kB / 0.6656 GB, free: 6.125 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.216e-05/0.4335, allocations: 0 / 0.6656 GB, free: 6.125 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 2.064e-05/0.4335, allocations: 1.469 kB / 0.6656 GB, free: 6.125 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 4.099e-05/0.4336, allocations: 3.938 kB / 0.6656 GB, free: 6.121 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002693/0.4339, allocations: 43.55 kB / 0.6657 GB, free: 6.09 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 5.585e-05/0.4339, allocations: 21.17 kB / 0.6657 GB, free: 6.078 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 3.926e-05/0.434, allocations: 9.453 kB / 0.6657 GB, free: 6.07 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 2.168e-05/0.434, allocations: 5.469 kB / 0.6657 GB, free: 6.07 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 6.625e-05/0.4341, allocations: 10.98 kB / 0.6657 GB, free: 6.062 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.17e-05/0.4341, allocations: 1.375 kB / 0.6657 GB, free: 6.062 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 9.273e-05/0.4342, allocations: 43.05 kB / 0.6658 GB, free: 6.043 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.199e-05/0.4342, allocations: 5.188 kB / 0.6658 GB, free: 6.039 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 2.25e-05/0.4342, allocations: 12.27 kB / 0.6658 GB, free: 6.031 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001052/0.4343, allocations: 44.33 kB / 0.6658 GB, free: 6.008 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.787e-06/0.4343, allocations: 0 / 0.6658 GB, free: 6.008 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.463e-06/0.4343, allocations: 4 kB / 0.6658 GB, free: 6.004 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 5.189e-06/0.4344, allocations: 0 / 0.6658 GB, free: 6.004 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.0003005/0.4347, allocations: 329 kB / 0.6661 GB, free: 5.645 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.524e-05/0.4347, allocations: 9.406 kB / 0.6661 GB, free: 5.645 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.93e-05/0.4347, allocations: 36.34 kB / 0.6662 GB, free: 5.602 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001215/0.4349, allocations: 11.05 kB / 0.6662 GB, free: 5.598 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.552e-05/0.4349, allocations: 168.3 kB / 0.6663 GB, free: 5.395 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.16e-05/0.4349, allocations: 5.812 kB / 0.6664 GB, free: 5.391 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.075e-05/0.435, allocations: 2.562 kB / 0.6664 GB, free: 5.391 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000102/0.4351, allocations: 59.27 kB / 0.6664 GB, free: 5.336 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.518e-06/0.4351, allocations: 3.938 kB / 0.6664 GB, free: 5.332 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.766e-06/0.4351, allocations: 0 / 0.6664 GB, free: 5.332 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.799e-06/0.4351, allocations: 1.219 kB / 0.6664 GB, free: 5.332 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.218e-05/0.4352, allocations: 11 kB / 0.6664 GB, free: 5.328 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001081/0.4353, allocations: 155.5 kB / 0.6666 GB, free: 5.133 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 7.833e-05/0.4354, allocations: 46.94 kB / 0.6666 GB, free: 5.094 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.257e-05/0.4354, allocations: 21.27 kB / 0.6666 GB, free: 5.078 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 9.207e-06/0.4354, allocations: 1 kB / 0.6666 GB, free: 5.078 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.65e-05/0.4354, allocations: 39.64 kB / 0.6667 GB, free: 5.031 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=5): time 8.92e-07/0.4354, allocations: 0 / 0.6667 GB, free: 5.031 MB / 0.4981 GB Notification: Performance of matching and sorting (n=8): time 0.001922/0.4374, allocations: 0.4939 MB / 0.6672 GB, free: 4.648 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.58e-05/0.4374, allocations: 51.41 kB / 0.6672 GB, free: 4.586 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.571e-05/0.4374, allocations: 91.23 kB / 0.6673 GB, free: 4.488 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.157e-05/0.4374, allocations: 25.7 kB / 0.6673 GB, free: 4.457 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 1.829e-05/0.4375, allocations: 81.67 kB / 0.6674 GB, free: 4.375 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 3.211e-05/0.4375, allocations: 30.42 kB / 0.6674 GB, free: 4.348 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.768e-05/0.4375, allocations: 22.72 kB / 0.6675 GB, free: 4.324 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 4.274e-05/0.4376, allocations: 316.3 kB / 0.6678 GB, free: 4.008 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.208e-05/0.4376, allocations: 20.38 kB / 0.6678 GB, free: 4 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.462e-05/0.4377, allocations: 26.48 kB / 0.6678 GB, free: 3.984 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.818e-05/0.4378, allocations: 59.48 kB / 0.6679 GB, free: 3.949 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.01e-07/0.4378, allocations: 0 / 0.6679 GB, free: 3.949 MB / 0.4981 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001227/0.4379, allocations: 104.8 kB / 0.668 GB, free: 3.875 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.25e-05/0.4379, allocations: 8.938 kB / 0.668 GB, free: 3.871 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.147e-06/0.4379, allocations: 0 / 0.668 GB, free: 3.871 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.354e-05/0.4379, allocations: 9 kB / 0.668 GB, free: 3.863 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001351/0.4381, allocations: 12.31 kB / 0.668 GB, free: 3.863 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.32e-06/0.4381, allocations: 0 / 0.668 GB, free: 3.863 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.031e-05/0.4382, allocations: 1.25 kB / 0.668 GB, free: 3.863 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.327e-06/0.4382, allocations: 6.781 kB / 0.668 GB, free: 3.859 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 4.818e-05/0.4382, allocations: 108.7 kB / 0.6681 GB, free: 3.746 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.367e-05/0.4383, allocations: 6.719 kB / 0.6681 GB, free: 3.742 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.841e-05/0.4383, allocations: 23.95 kB / 0.6681 GB, free: 3.719 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.345e-06/0.4383, allocations: 1.312 kB / 0.6681 GB, free: 3.719 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.759e-06/0.4383, allocations: 0 / 0.6681 GB, free: 3.719 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.306e-06/0.4383, allocations: 0 / 0.6681 GB, free: 3.719 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.741e-05/0.4384, allocations: 176.8 kB / 0.6683 GB, free: 3.504 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.232e-06/0.4384, allocations: 1.594 kB / 0.6683 GB, free: 3.504 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001256/0.4386, allocations: 27.34 kB / 0.6683 GB, free: 3.488 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.154e-06/0.4386, allocations: 0 / 0.6683 GB, free: 3.488 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.588e-06/0.4386, allocations: 1.438 kB / 0.6683 GB, free: 3.488 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.453e-06/0.4386, allocations: 0 / 0.6683 GB, free: 3.488 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.4386, allocations: 1.188 kB / 0.6683 GB, free: 3.488 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002001/0.4388, allocations: 141.9 kB / 0.6685 GB, free: 3.379 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 1.658e-05/0.4388, allocations: 90.25 kB / 0.6685 GB, free: 3.273 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.408e-05/0.4388, allocations: 1.5 kB / 0.6685 GB, free: 3.273 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001013/0.4389, allocations: 2.688 kB / 0.6686 GB, free: 3.273 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.91e-05/0.439, allocations: 6.656 kB / 0.6686 GB, free: 3.27 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.728e-06/0.439, allocations: 6.453 kB / 0.6686 GB, free: 3.266 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 1.109e-05/0.439, allocations: 79.28 kB / 0.6686 GB, free: 3.188 MB / 0.4981 GB Notification: Performance of sort global known variables: time 9e-08/0.439, allocations: 4 kB / 0.6686 GB, free: 3.184 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0001837/0.4392, allocations: 10.09 kB / 0.6687 GB, free: 3.184 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.0003372/0.4395, allocations: 0.6859 MB / 0.6693 GB, free: 2.539 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0001361/0.4397, allocations: 73.97 kB / 0.6694 GB, free: 2.5 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.003e-06/0.4397, allocations: 4.062 kB / 0.6694 GB, free: 2.496 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 4.507e-05/0.4397, allocations: 26 kB / 0.6694 GB, free: 2.488 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002228/0.44, allocations: 12.58 kB / 0.6694 GB, free: 2.48 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000982/0.441, allocations: 1.272 MB / 0.6707 GB, free: 1.262 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.593e-05/0.4411, allocations: 0.6809 MB / 0.6713 GB, free: 0.5625 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 6.572e-05/0.4411, allocations: 9.984 kB / 0.6713 GB, free: 0.5547 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.777e-05/0.4412, allocations: 15.19 kB / 0.6714 GB, free: 0.543 MB / 0.4981 GB Notification: Performance of SimCode: time 6.51e-07/0.4412, allocations: 0 / 0.6714 GB, free: 0.543 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01721/0.4584, allocations: 1.651 MB / 0.673 GB, free: 15.7 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.614/8.073, allocations: 15.48 kB / 0.673 GB, free: 15.69 MB / 0.5137 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)