Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Utilities.Psychrometrics.Examples.SaturationPressure.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.Examples.SaturationPressure,fileNamePrefix="IDEAS_dev_IDEAS_Utilities_Psychrometrics_Examples_SaturationPressure",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Psychrometrics.Examples.SaturationPressure,fileNamePrefix="IDEAS_dev_IDEAS_Utilities_Psychrometrics_Examples_SaturationPressure",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.004884/0.004884, allocations: 101.5 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.001161/0.001161, allocations: 188.6 kB / 16.67 MB, free: 5.969 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.341/1.341, allocations: 222.9 MB / 240.4 MB, free: 4.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9575/0.9575, allocations: 135.1 MB / 425.7 MB, free: 12 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001371/0.001371, allocations: 68.12 kB / 0.5851 GB, free: 3.895 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4785/0.4799, allocations: 80.91 MB / 0.6641 GB, free: 7.305 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Psychrometrics.Examples.SaturationPressure): time 0.002085/0.482, allocations: 1.41 MB / 0.6655 GB, free: 6.203 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0008503/0.4829, allocations: 0.5919 MB / 0.6661 GB, free: 5.738 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.91e-05/0.4829, allocations: 1.125 kB / 0.6661 GB, free: 5.738 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 3.031e-05/0.483, allocations: 3.938 kB / 0.6661 GB, free: 5.734 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 5.219e-05/0.483, allocations: 5.188 kB / 0.6661 GB, free: 5.73 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003495/0.4834, allocations: 99.7 kB / 0.6662 GB, free: 5.66 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 6.013e-05/0.4835, allocations: 30.67 kB / 0.6662 GB, free: 5.641 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 8.904e-05/0.4836, allocations: 7.5 kB / 0.6662 GB, free: 5.637 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 5.217e-05/0.4836, allocations: 6.891 kB / 0.6662 GB, free: 5.633 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 4.465e-05/0.4837, allocations: 11.47 kB / 0.6662 GB, free: 5.625 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.131e-05/0.4837, allocations: 2.344 kB / 0.6662 GB, free: 5.625 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002381/0.4839, allocations: 143.9 kB / 0.6664 GB, free: 5.555 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 9.709e-06/0.484, allocations: 0 / 0.6664 GB, free: 5.555 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 2.576e-05/0.484, allocations: 15.27 kB / 0.6664 GB, free: 5.543 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001864/0.4842, allocations: 109.5 kB / 0.6665 GB, free: 5.48 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.328e-06/0.4842, allocations: 4 kB / 0.6665 GB, free: 5.477 MB / 0.4981 GB Notification: Performance of FrontEnd: time 2.154e-06/0.4842, allocations: 1.438 kB / 0.6665 GB, free: 5.477 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 9.067e-06/0.4842, allocations: 0 / 0.6665 GB, free: 5.477 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0003711/0.4846, allocations: 353.7 kB / 0.6668 GB, free: 5.098 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.768e-05/0.4846, allocations: 14.17 kB / 0.6669 GB, free: 5.094 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.176e-05/0.4847, allocations: 30.75 kB / 0.6669 GB, free: 5.055 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003972/0.4851, allocations: 36.91 kB / 0.6669 GB, free: 5.035 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.259e-05/0.4851, allocations: 165.8 kB / 0.6671 GB, free: 4.836 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.023e-05/0.4852, allocations: 5.656 kB / 0.6671 GB, free: 4.832 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.192e-05/0.4852, allocations: 5.828 kB / 0.6671 GB, free: 4.828 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002161/0.4854, allocations: 66.52 kB / 0.6672 GB, free: 4.773 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.196e-06/0.4854, allocations: 3.938 kB / 0.6672 GB, free: 4.77 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.788e-06/0.4854, allocations: 0 / 0.6672 GB, free: 4.77 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.518e-06/0.4854, allocations: 1.531 kB / 0.6672 GB, free: 4.77 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002548/0.4857, allocations: 59.56 kB / 0.6672 GB, free: 4.738 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003644/0.4861, allocations: 275.5 kB / 0.6675 GB, free: 4.434 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002092/0.4863, allocations: 60.08 kB / 0.6675 GB, free: 4.387 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001284/0.4864, allocations: 31.77 kB / 0.6676 GB, free: 4.367 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.023e-05/0.4864, allocations: 0 / 0.6676 GB, free: 4.367 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.579e-05/0.4865, allocations: 35.72 kB / 0.6676 GB, free: 4.324 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=2): time 1.483e-06/0.4865, allocations: 0 / 0.6676 GB, free: 4.324 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2): time 0.0004763/0.487, allocations: 119.2 kB / 0.6677 GB, free: 4.246 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.358e-05/0.487, allocations: 51.41 kB / 0.6678 GB, free: 4.184 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.481e-05/0.487, allocations: 99.7 kB / 0.6679 GB, free: 4.082 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 8.766e-06/0.487, allocations: 25.83 kB / 0.6679 GB, free: 4.051 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 2.457e-05/0.4871, allocations: 97.25 kB / 0.668 GB, free: 3.953 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 1.752e-05/0.4871, allocations: 1.406 kB / 0.668 GB, free: 3.953 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.545e-05/0.4871, allocations: 16.38 kB / 0.668 GB, free: 3.934 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 4.585e-05/0.4872, allocations: 320.3 kB / 0.6683 GB, free: 3.613 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000124/0.4873, allocations: 25 kB / 0.6683 GB, free: 3.602 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001164/0.4874, allocations: 30.94 kB / 0.6684 GB, free: 3.586 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002564/0.4877, allocations: 54.88 kB / 0.6684 GB, free: 3.555 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.715e-06/0.4877, allocations: 5.188 kB / 0.6684 GB, free: 3.551 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002802/0.488, allocations: 89.33 kB / 0.6685 GB, free: 3.488 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.674e-05/0.488, allocations: 9.766 kB / 0.6685 GB, free: 3.484 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.459e-06/0.488, allocations: 0 / 0.6685 GB, free: 3.484 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.566e-05/0.4881, allocations: 0 / 0.6685 GB, free: 3.484 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001262/0.4882, allocations: 12.92 kB / 0.6685 GB, free: 3.48 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.999e-06/0.4882, allocations: 0 / 0.6685 GB, free: 3.48 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.579e-05/0.4883, allocations: 9.484 kB / 0.6685 GB, free: 3.477 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.177e-06/0.4883, allocations: 5.469 kB / 0.6685 GB, free: 3.473 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 (2): * Single equations (assignments): 2 * 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.857e-05/0.4884, allocations: 114.9 kB / 0.6686 GB, free: 3.352 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.66e-05/0.4884, allocations: 0.9688 kB / 0.6686 GB, free: 3.352 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.769e-05/0.4884, allocations: 8.172 kB / 0.6687 GB, free: 3.34 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.423e-06/0.4884, allocations: 5.062 kB / 0.6687 GB, free: 3.336 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.308e-06/0.4884, allocations: 0 / 0.6687 GB, free: 3.336 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.184e-06/0.4885, allocations: 1.469 kB / 0.6687 GB, free: 3.336 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001174/0.4886, allocations: 171.1 kB / 0.6688 GB, free: 3.125 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.11e-07/0.4886, allocations: 0 / 0.6688 GB, free: 3.125 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001056/0.4887, allocations: 11.73 kB / 0.6688 GB, free: 3.121 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.543e-06/0.4887, allocations: 5.438 kB / 0.6688 GB, free: 3.117 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.043e-05/0.4887, allocations: 3.984 kB / 0.6688 GB, free: 3.113 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.082e-06/0.4887, allocations: 1.406 kB / 0.6688 GB, free: 3.113 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.82e-07/0.4887, allocations: 0 / 0.6688 GB, free: 3.113 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003122/0.489, allocations: 188.6 kB / 0.669 GB, free: 2.945 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 2.299e-05/0.4891, allocations: 90.12 kB / 0.6691 GB, free: 2.84 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.488e-05/0.4891, allocations: 5.219 kB / 0.6691 GB, free: 2.836 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001141/0.4892, allocations: 4 kB / 0.6691 GB, free: 2.836 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.417e-05/0.4893, allocations: 6.078 kB / 0.6691 GB, free: 2.832 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.603e-06/0.4893, allocations: 5.125 kB / 0.6691 GB, free: 2.828 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 2.224e-05/0.4893, allocations: 82.06 kB / 0.6692 GB, free: 2.75 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.3e-07/0.4893, allocations: 3.938 kB / 0.6692 GB, free: 2.746 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002385/0.4895, allocations: 15.16 kB / 0.6692 GB, free: 2.742 MB / 0.4981 GB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (2): * Single equations (assignments): 2 * 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.0005191/0.4901, allocations: 0.7272 MB / 0.6699 GB, free: 2.043 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0003114/0.4904, allocations: 53.91 kB / 0.67 GB, free: 2.02 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.665e-06/0.4904, allocations: 4.094 kB / 0.67 GB, free: 2.016 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001358/0.4905, allocations: 32.22 kB / 0.67 GB, free: 2 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002745/0.4908, allocations: 6.172 kB / 0.67 GB, free: 1.996 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005256/0.4914, allocations: 165.7 kB / 0.6702 GB, free: 1.832 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001022/0.4915, allocations: 0.6806 MB / 0.6709 GB, free: 1.129 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 6.453e-05/0.4915, allocations: 7.938 kB / 0.6709 GB, free: 1.125 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.286e-05/0.4916, allocations: 16.61 kB / 0.6709 GB, free: 1.109 MB / 0.4981 GB Notification: Performance of SimCode: time 2.61e-07/0.4916, allocations: 0 / 0.6709 GB, free: 1.109 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01619/0.5078, allocations: 1.675 MB / 0.6725 GB, free: 184 kB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.293/7.801, allocations: 4.297 kB / 0.6725 GB, free: 184 kB / 0.4981 GB (rm -f IDEAS_dev_IDEAS.Utilities.Psychrometrics.Examples.SaturationPressure.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Psychrometrics.Examples.SaturationPressure.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Psychrometrics.Examples.SaturationPressure.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Psychrometrics.Examples.SaturationPressure.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Utilities_Psychrometrics_Examples_SaturationPressure_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Utilities_Psychrometrics_Examples_SaturationPressure.fmu > IDEAS_dev_IDEAS.Utilities.Psychrometrics.Examples.SaturationPressure.pipe 2>&1)