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.007043/0.007043, allocations: 102.5 kB / 15.73 MB, free: 6.012 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.001391/0.001392, allocations: 194.9 kB / 16.67 MB, free: 5.949 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.431/1.431, allocations: 222.9 MB / 240.4 MB, free: 4.316 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7804/0.7804, allocations: 132.2 MB / 422.7 MB, free: 1.676 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001331/0.001331, allocations: 63.91 kB / 0.5809 GB, free: 8.039 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4455/0.4468, allocations: 80.2 MB / 0.6592 GB, free: 9.93 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck): time 0.002173/0.4491, allocations: 1.285 MB / 0.6605 GB, free: 9.031 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.001026/0.4501, allocations: 0.6389 MB / 0.6611 GB, free: 8.594 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.552e-05/0.4501, allocations: 1.375 kB / 0.6611 GB, free: 8.594 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 1.748e-05/0.4502, allocations: 0.7969 kB / 0.6611 GB, free: 8.594 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 4.713e-05/0.4502, allocations: 10.02 kB / 0.6611 GB, free: 8.586 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004639/0.4507, allocations: 111.4 kB / 0.6612 GB, free: 8.531 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 6.877e-05/0.4508, allocations: 27.48 kB / 0.6612 GB, free: 8.52 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.679e-05/0.4508, allocations: 3.156 kB / 0.6612 GB, free: 8.52 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 2.508e-05/0.4508, allocations: 11.08 kB / 0.6612 GB, free: 8.516 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 6.341e-05/0.4509, allocations: 11.58 kB / 0.6612 GB, free: 8.512 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.285e-05/0.4509, allocations: 1.375 kB / 0.6613 GB, free: 8.512 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002969/0.4512, allocations: 145.7 kB / 0.6614 GB, free: 8.473 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.5e-05/0.4513, allocations: 7.031 kB / 0.6614 GB, free: 8.469 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 2.578e-05/0.4513, allocations: 13.55 kB / 0.6614 GB, free: 8.461 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0002176/0.4515, allocations: 97.16 kB / 0.6615 GB, free: 8.434 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 5.831e-06/0.4515, allocations: 1.844 kB / 0.6615 GB, free: 8.434 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.964e-06/0.4515, allocations: 0 / 0.6615 GB, free: 8.434 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 1.056e-05/0.4515, allocations: 0 / 0.6615 GB, free: 8.434 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0004279/0.452, allocations: 357.3 kB / 0.6618 GB, free: 8.059 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.496e-05/0.452, allocations: 10.41 kB / 0.6619 GB, free: 8.059 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.15e-05/0.4521, allocations: 35.31 kB / 0.6619 GB, free: 8.016 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004247/0.4525, allocations: 31.34 kB / 0.6619 GB, free: 8.012 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.45e-05/0.4526, allocations: 167.2 kB / 0.6621 GB, free: 7.812 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.239e-05/0.4526, allocations: 5.656 kB / 0.6621 GB, free: 7.809 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.386e-05/0.4526, allocations: 5.781 kB / 0.6621 GB, free: 7.805 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001755/0.4528, allocations: 54.69 kB / 0.6621 GB, free: 7.77 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.628e-06/0.4528, allocations: 9.562 kB / 0.6621 GB, free: 7.762 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.176e-05/0.4528, allocations: 0 / 0.6621 GB, free: 7.762 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.717e-06/0.4528, allocations: 0 / 0.6621 GB, free: 7.762 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001363/0.453, allocations: 30.97 kB / 0.6622 GB, free: 7.754 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001741/0.4532, allocations: 161.4 kB / 0.6623 GB, free: 7.559 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003153/0.4535, allocations: 71.02 kB / 0.6624 GB, free: 7.52 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.92e-05/0.4536, allocations: 29.59 kB / 0.6624 GB, free: 7.504 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.227e-05/0.4536, allocations: 1.156 kB / 0.6624 GB, free: 7.504 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.65e-05/0.4536, allocations: 32.41 kB / 0.6625 GB, free: 7.465 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=4): time 1.092e-06/0.4536, allocations: 0 / 0.6625 GB, free: 7.465 MB / 0.4981 GB Notification: Performance of matching and sorting (n=6): time 0.003456/0.4571, allocations: 0.5797 MB / 0.663 GB, free: 7.121 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.601e-05/0.4571, allocations: 52.72 kB / 0.6631 GB, free: 7.059 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.176e-05/0.4572, allocations: 97.77 kB / 0.6632 GB, free: 6.957 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.737e-05/0.4572, allocations: 31.48 kB / 0.6632 GB, free: 6.922 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 1.353e-05/0.4572, allocations: 80.14 kB / 0.6633 GB, free: 6.84 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 3.594e-05/0.4573, allocations: 25.16 kB / 0.6633 GB, free: 6.82 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.494e-05/0.4573, allocations: 25.16 kB / 0.6633 GB, free: 6.801 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 4.39e-05/0.4574, allocations: 313.5 kB / 0.6636 GB, free: 6.488 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001336/0.4575, allocations: 40.38 kB / 0.6637 GB, free: 6.469 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001184/0.4576, allocations: 42.78 kB / 0.6637 GB, free: 6.445 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002461/0.4579, allocations: 78 kB / 0.6638 GB, free: 6.402 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.62e-07/0.4579, allocations: 1.219 kB / 0.6638 GB, free: 6.402 MB / 0.4981 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003147/0.4582, allocations: 132.9 kB / 0.6639 GB, free: 6.312 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.384e-05/0.4583, allocations: 5.344 kB / 0.6639 GB, free: 6.312 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.44e-06/0.4583, allocations: 0 / 0.6639 GB, free: 6.312 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.663e-05/0.4583, allocations: 1.281 kB / 0.6639 GB, free: 6.312 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000224/0.4585, allocations: 22.03 kB / 0.6639 GB, free: 6.305 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.043e-06/0.4585, allocations: 9.312 kB / 0.6639 GB, free: 6.297 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001543/0.4587, allocations: 11.73 kB / 0.664 GB, free: 6.289 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.532e-05/0.4587, allocations: 6.312 kB / 0.664 GB, free: 6.285 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 6.483e-05/0.4588, allocations: 111.8 kB / 0.6641 GB, free: 6.168 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.438e-05/0.4588, allocations: 10.47 kB / 0.6641 GB, free: 6.16 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.405e-05/0.4589, allocations: 13.03 kB / 0.6641 GB, free: 6.137 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.585e-06/0.4589, allocations: 1.312 kB / 0.6641 GB, free: 6.137 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.107e-06/0.4589, allocations: 0 / 0.6641 GB, free: 6.137 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.236e-06/0.4589, allocations: 1.344 kB / 0.6641 GB, free: 6.137 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001157/0.459, allocations: 182.1 kB / 0.6643 GB, free: 5.922 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.292e-06/0.459, allocations: 0 / 0.6643 GB, free: 5.922 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002322/0.4593, allocations: 26.09 kB / 0.6643 GB, free: 5.91 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.164e-06/0.4593, allocations: 1.688 kB / 0.6643 GB, free: 5.91 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.622e-05/0.4593, allocations: 5.453 kB / 0.6643 GB, free: 5.906 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.553e-06/0.4593, allocations: 4 kB / 0.6643 GB, free: 5.902 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.182e-06/0.4593, allocations: 0 / 0.6643 GB, free: 5.902 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004932/0.4598, allocations: 186.6 kB / 0.6645 GB, free: 5.77 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 2.286e-05/0.4598, allocations: 86.33 kB / 0.6646 GB, free: 5.668 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.946e-05/0.4599, allocations: 5.391 kB / 0.6646 GB, free: 5.664 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001942/0.4601, allocations: 10.31 kB / 0.6646 GB, free: 5.66 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.48e-05/0.4601, allocations: 6.609 kB / 0.6646 GB, free: 5.656 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.448e-05/0.4601, allocations: 6.438 kB / 0.6646 GB, free: 5.652 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 2.065e-05/0.4601, allocations: 80.55 kB / 0.6647 GB, free: 5.574 MB / 0.4981 GB Notification: Performance of sort global known variables: time 2.1e-07/0.4601, allocations: 1.406 kB / 0.6647 GB, free: 5.574 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002748/0.4604, allocations: 29.91 kB / 0.6647 GB, free: 5.566 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.0007141/0.4611, allocations: 0.7593 MB / 0.6654 GB, free: 4.879 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0003155/0.4615, allocations: 85.64 kB / 0.6655 GB, free: 4.84 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.554e-06/0.4615, allocations: 0 / 0.6655 GB, free: 4.84 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.000138/0.4616, allocations: 51.73 kB / 0.6656 GB, free: 4.812 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002614/0.4619, allocations: 13.41 kB / 0.6656 GB, free: 4.805 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001693/0.4636, allocations: 1.354 MB / 0.6669 GB, free: 3.547 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.517e-05/0.4637, allocations: 0.6792 MB / 0.6676 GB, free: 2.848 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0001452/0.4639, allocations: 31.61 kB / 0.6676 GB, free: 2.824 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.471e-05/0.4639, allocations: 20.39 kB / 0.6676 GB, free: 2.809 MB / 0.4981 GB Notification: Performance of SimCode: time 2.2e-07/0.4639, allocations: 0 / 0.6676 GB, free: 2.809 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02126/0.4852, allocations: 2.498 MB / 0.6701 GB, free: 1.547 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.671/8.157, allocations: 8.438 kB / 0.6701 GB, free: 1.543 MB / 0.4981 GB (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)