Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_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/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.SaturationPressureDerivativeCheck,fileNamePrefix="IDEAS_IDEAS_Utilities_Psychrometrics_Functions_BaseClasses_Examples_SaturationPressureDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck,fileNamePrefix="IDEAS_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.00181/0.001811, allocations: 108 kB / 15.61 MB, free: 148 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.002057/0.002057, allocations: 193.7 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.428/1.428, allocations: 222.9 MB / 240.2 MB, free: 4.371 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8163/0.8163, allocations: 132.2 MB / 422.6 MB, free: 1.801 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001506/0.001506, allocations: 64.62 kB / 0.5019 GB, free: 3.766 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4273/0.4288, allocations: 80.2 MB / 0.5802 GB, free: 4.594 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck): time 0.00261/0.4315, allocations: 1.284 MB / 0.5815 GB, free: 3.695 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.001134/0.4326, allocations: 0.6428 MB / 0.5821 GB, free: 3.254 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.562e-05/0.4327, allocations: 4.844 kB / 0.5821 GB, free: 3.25 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 1.806e-05/0.4327, allocations: 4.547 kB / 0.5821 GB, free: 3.246 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 5.592e-05/0.4328, allocations: 2.609 kB / 0.5821 GB, free: 3.246 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005325/0.4333, allocations: 111.5 kB / 0.5822 GB, free: 3.191 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 5.987e-05/0.4334, allocations: 26.19 kB / 0.5822 GB, free: 3.18 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.97e-05/0.4335, allocations: 3.359 kB / 0.5822 GB, free: 3.18 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.658e-05/0.4335, allocations: 11.45 kB / 0.5822 GB, free: 3.176 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.895e-05/0.4336, allocations: 15.3 kB / 0.5823 GB, free: 3.168 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 1.226e-05/0.4336, allocations: 5.406 kB / 0.5823 GB, free: 3.164 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003353/0.4339, allocations: 134.2 kB / 0.5824 GB, free: 3.137 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 1.8e-05/0.4339, allocations: 6.703 kB / 0.5824 GB, free: 3.133 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 2.968e-05/0.434, allocations: 14.78 kB / 0.5824 GB, free: 3.125 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002364/0.4342, allocations: 96.05 kB / 0.5825 GB, free: 3.098 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.967e-06/0.4342, allocations: 0 / 0.5825 GB, free: 3.098 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.194e-06/0.4342, allocations: 1.469 kB / 0.5825 GB, free: 3.098 MB / 430.1 MB Notification: Performance of Transformations before backend: time 5.21e-06/0.4342, allocations: 0 / 0.5825 GB, free: 3.098 MB / 430.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.0004196/0.4347, allocations: 353.9 kB / 0.5828 GB, free: 2.727 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.115e-05/0.4347, allocations: 13.25 kB / 0.5829 GB, free: 2.723 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.819e-05/0.4348, allocations: 36.95 kB / 0.5829 GB, free: 2.68 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004324/0.4352, allocations: 30.92 kB / 0.5829 GB, free: 2.676 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.083e-05/0.4353, allocations: 166.6 kB / 0.5831 GB, free: 2.477 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.057e-06/0.4353, allocations: 1.062 kB / 0.5831 GB, free: 2.477 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.552e-05/0.4353, allocations: 2.188 kB / 0.5831 GB, free: 2.477 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000177/0.4355, allocations: 63.56 kB / 0.5831 GB, free: 2.434 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.718e-06/0.4355, allocations: 3.938 kB / 0.5831 GB, free: 2.43 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.254e-05/0.4355, allocations: 0 / 0.5831 GB, free: 2.43 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.659e-06/0.4356, allocations: 1.281 kB / 0.5831 GB, free: 2.43 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001439/0.4357, allocations: 26.59 kB / 0.5832 GB, free: 2.426 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001462/0.4359, allocations: 157.5 kB / 0.5833 GB, free: 2.234 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000311/0.4362, allocations: 74.61 kB / 0.5834 GB, free: 2.191 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.406e-05/0.4363, allocations: 25.59 kB / 0.5834 GB, free: 2.18 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.763e-05/0.4363, allocations: 1.766 kB / 0.5834 GB, free: 2.18 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.337e-05/0.4363, allocations: 31.22 kB / 0.5835 GB, free: 2.141 MB / 430.1 MB Notification: Performance of pre-optimization done (n=4): time 2.124e-06/0.4363, allocations: 9.062 kB / 0.5835 GB, free: 2.133 MB / 430.1 MB Notification: Performance of matching and sorting (n=6): time 0.003458/0.4398, allocations: 0.5798 MB / 0.584 GB, free: 1.789 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.182e-05/0.4398, allocations: 57.59 kB / 0.5841 GB, free: 1.723 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.677e-05/0.4399, allocations: 96.03 kB / 0.5842 GB, free: 1.621 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 1.689e-05/0.4399, allocations: 27.39 kB / 0.5842 GB, free: 1.59 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.746e-05/0.4399, allocations: 84.84 kB / 0.5843 GB, free: 1.504 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.62e-05/0.44, allocations: 20.64 kB / 0.5843 GB, free: 1.488 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.038e-05/0.44, allocations: 25.7 kB / 0.5843 GB, free: 1.469 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 4.724e-05/0.4401, allocations: 317 kB / 0.5846 GB, free: 1.152 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001514/0.4402, allocations: 38.3 kB / 0.5847 GB, free: 1.141 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001547/0.4404, allocations: 35.64 kB / 0.5847 GB, free: 1.133 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002921/0.4407, allocations: 82.17 kB / 0.5848 GB, free: 1.098 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.673e-06/0.4407, allocations: 1.219 kB / 0.5848 GB, free: 1.098 MB / 430.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003682/0.4411, allocations: 129.3 kB / 0.5849 GB, free: 1.031 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.098e-05/0.4411, allocations: 5 kB / 0.5849 GB, free: 1.031 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.191e-06/0.4411, allocations: 4.891 kB / 0.5849 GB, free: 1.027 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.101e-05/0.4412, allocations: 0.75 kB / 0.5849 GB, free: 1.027 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002281/0.4414, allocations: 27.05 kB / 0.5849 GB, free: 1.023 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.512e-06/0.4414, allocations: 7.984 kB / 0.5849 GB, free: 1.016 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001529/0.4416, allocations: 6.312 kB / 0.5849 GB, free: 1.016 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.806e-05/0.4416, allocations: 8.766 kB / 0.585 GB, free: 1.012 MB / 430.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 (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 6.408e-05/0.4417, allocations: 110.8 kB / 0.5851 GB, free: 0.8984 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.668e-05/0.4417, allocations: 10.25 kB / 0.5851 GB, free: 0.8906 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.45e-05/0.4418, allocations: 13.62 kB / 0.5851 GB, free: 0.8789 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.276e-06/0.4418, allocations: 1.812 kB / 0.5851 GB, free: 0.8789 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.232e-06/0.4418, allocations: 0 / 0.5851 GB, free: 0.8789 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.636e-06/0.4418, allocations: 0.75 kB / 0.5851 GB, free: 0.8789 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001258/0.4419, allocations: 182.4 kB / 0.5853 GB, free: 0.6719 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.983e-06/0.4419, allocations: 1.344 kB / 0.5853 GB, free: 0.6719 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002228/0.4422, allocations: 25 kB / 0.5853 GB, free: 0.668 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.017e-06/0.4422, allocations: 1.578 kB / 0.5853 GB, free: 0.668 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.718e-05/0.4422, allocations: 7.172 kB / 0.5853 GB, free: 0.6641 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.876e-06/0.4422, allocations: 5.406 kB / 0.5853 GB, free: 0.6602 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.603e-06/0.4422, allocations: 0.6875 kB / 0.5853 GB, free: 0.6602 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005343/0.4427, allocations: 187.8 kB / 0.5855 GB, free: 0.5547 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.832e-05/0.4428, allocations: 90.88 kB / 0.5856 GB, free: 460 kB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.857e-05/0.4428, allocations: 5.781 kB / 0.5856 GB, free: 456 kB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001839/0.443, allocations: 10.06 kB / 0.5856 GB, free: 456 kB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.928e-05/0.443, allocations: 3.312 kB / 0.5856 GB, free: 456 kB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.587e-05/0.443, allocations: 4.859 kB / 0.5856 GB, free: 456 kB / 430.1 MB Notification: Performance of sorting global known variables: time 2.065e-05/0.4431, allocations: 82.25 kB / 0.5857 GB, free: 376 kB / 430.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.4431, allocations: 0 / 0.5857 GB, free: 376 kB / 430.1 MB Notification: Performance of remove unused functions: time 0.0002666/0.4433, allocations: 31.72 kB / 0.5857 GB, free: 368 kB / 430.1 MB 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.0009153/0.4443, allocations: 0.7509 MB / 0.5864 GB, free: 15.71 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0003871/0.4447, allocations: 86.28 kB / 0.5865 GB, free: 15.69 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.475e-06/0.4447, allocations: 8 kB / 0.5865 GB, free: 15.68 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001613/0.4448, allocations: 46.36 kB / 0.5866 GB, free: 15.67 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002337/0.4451, allocations: 16.7 kB / 0.5866 GB, free: 15.66 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002019/0.4471, allocations: 1.339 MB / 0.5879 GB, free: 14.49 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002259/0.4474, allocations: 0.6874 MB / 0.5886 GB, free: 13.79 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0002255/0.4476, allocations: 32.81 kB / 0.5886 GB, free: 13.76 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.693e-05/0.4477, allocations: 17.91 kB / 0.5886 GB, free: 13.76 MB / 446.1 MB Notification: Performance of SimCode: time 3.61e-07/0.4477, allocations: 0 / 0.5886 GB, free: 13.76 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02045/0.4681, allocations: 2.448 MB / 0.591 GB, free: 13.4 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.792/8.26, allocations: 1.969 kB / 0.591 GB, free: 13.4 MB / 446.1 MB (rm -f IDEAS_IDEAS.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.pipe ; mkfifo IDEAS_IDEAS.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.pipe >> ../files/IDEAS_IDEAS.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Utilities_Psychrometrics_Functions_BaseClasses_Examples_SaturationPressureDerivativeCheck_fmu --startTime=-1 --stopTime=1 --timeout=50 --tolerance=1e-09 IDEAS_IDEAS_Utilities_Psychrometrics_Functions_BaseClasses_Examples_SaturationPressureDerivativeCheck.fmu > IDEAS_IDEAS.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.pipe 2>&1)