Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_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/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.Examples.SaturationPressure,fileNamePrefix="IDEAS_IDEAS_Utilities_Psychrometrics_Examples_SaturationPressure",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Psychrometrics.Examples.SaturationPressure,fileNamePrefix="IDEAS_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.001221/0.001221, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001044/0.001044, allocations: 190.8 kB / 16.25 MB, free: 6.621 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.174/1.174, allocations: 222.9 MB / 239.9 MB, free: 4.531 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.6569/0.6569, allocations: 132.2 MB / 422.2 MB, free: 1.941 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001246/0.001246, allocations: 67.39 kB / 0.5014 GB, free: 9 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1208/0.122, allocations: 80.2 MB / 0.5797 GB, free: 9.02 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Psychrometrics.Examples.SaturationPressure): time 0.002017/0.1241, allocations: 1.457 MB / 0.5811 GB, free: 7.551 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007493/0.1248, allocations: 0.5967 MB / 0.5817 GB, free: 6.949 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.795e-05/0.1249, allocations: 0 / 0.5817 GB, free: 6.949 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 2.645e-05/0.1249, allocations: 3.984 kB / 0.5817 GB, free: 6.945 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 4.16e-05/0.125, allocations: 7.938 kB / 0.5817 GB, free: 6.938 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00029/0.1253, allocations: 87.64 kB / 0.5818 GB, free: 6.852 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 4.61e-05/0.1253, allocations: 27.92 kB / 0.5818 GB, free: 6.824 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.412e-05/0.1254, allocations: 4 kB / 0.5818 GB, free: 6.82 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.885e-05/0.1254, allocations: 15.92 kB / 0.5818 GB, free: 6.805 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 2.968e-05/0.1254, allocations: 3.984 kB / 0.5818 GB, free: 6.801 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 7.885e-06/0.1255, allocations: 4 kB / 0.5818 GB, free: 6.797 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002106/0.1257, allocations: 151.7 kB / 0.582 GB, free: 6.648 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.011e-05/0.1257, allocations: 8 kB / 0.582 GB, free: 6.641 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 1.665e-05/0.1257, allocations: 7.938 kB / 0.582 GB, free: 6.633 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001547/0.1259, allocations: 104 kB / 0.5821 GB, free: 6.531 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.825e-06/0.1259, allocations: 4 kB / 0.5821 GB, free: 6.527 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.002e-06/0.1259, allocations: 0 / 0.5821 GB, free: 6.527 MB / 494.1 MB Notification: Performance of Transformations before backend: time 3.667e-06/0.1259, allocations: 0 / 0.5821 GB, free: 6.527 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0003536/0.1263, allocations: 351.4 kB / 0.5824 GB, free: 6.133 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.902e-05/0.1263, allocations: 12.03 kB / 0.5824 GB, free: 6.121 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.541e-05/0.1263, allocations: 30.75 kB / 0.5825 GB, free: 6.082 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003836/0.1267, allocations: 36.89 kB / 0.5825 GB, free: 6.047 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.293e-05/0.1268, allocations: 168.2 kB / 0.5827 GB, free: 5.844 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.054e-05/0.1268, allocations: 4.375 kB / 0.5827 GB, free: 5.84 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.357e-06/0.1268, allocations: 4.312 kB / 0.5827 GB, free: 5.836 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001884/0.127, allocations: 62.2 kB / 0.5827 GB, free: 5.77 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.652e-06/0.127, allocations: 7.938 kB / 0.5827 GB, free: 5.762 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.004e-05/0.1271, allocations: 3.984 kB / 0.5827 GB, free: 5.758 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.116e-06/0.1271, allocations: 0 / 0.5827 GB, free: 5.758 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002308/0.1273, allocations: 51.94 kB / 0.5828 GB, free: 5.707 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003558/0.1277, allocations: 284.8 kB / 0.5831 GB, free: 5.379 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001925/0.1279, allocations: 62.41 kB / 0.5831 GB, free: 5.309 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001159/0.128, allocations: 32.89 kB / 0.5832 GB, free: 5.273 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.616e-05/0.128, allocations: 4 kB / 0.5832 GB, free: 5.27 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.529e-05/0.128, allocations: 30.56 kB / 0.5832 GB, free: 5.23 MB / 494.1 MB Notification: Performance of pre-optimization done (n=2): time 1.002e-06/0.128, allocations: 4 kB / 0.5832 GB, free: 5.227 MB / 494.1 MB Notification: Performance of matching and sorting (n=2): time 0.0004212/0.1285, allocations: 109.7 kB / 0.5833 GB, free: 5.113 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.185e-05/0.1285, allocations: 59.34 kB / 0.5834 GB, free: 5.043 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.019e-05/0.1286, allocations: 101.8 kB / 0.5835 GB, free: 4.934 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.294e-05/0.1286, allocations: 25.7 kB / 0.5835 GB, free: 4.902 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.167e-05/0.1286, allocations: 88.08 kB / 0.5836 GB, free: 4.812 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.612e-05/0.1286, allocations: 7.891 kB / 0.5836 GB, free: 4.805 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.486e-05/0.1287, allocations: 21.7 kB / 0.5836 GB, free: 4.777 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 7.758e-05/0.1288, allocations: 310.8 kB / 0.5839 GB, free: 4.465 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001134/0.1289, allocations: 31.97 kB / 0.5839 GB, free: 4.434 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001064/0.129, allocations: 27.97 kB / 0.5839 GB, free: 4.406 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002129/0.1292, allocations: 60.86 kB / 0.584 GB, free: 4.344 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.575e-06/0.1292, allocations: 3.938 kB / 0.584 GB, free: 4.34 MB / 494.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002689/0.1295, allocations: 89.58 kB / 0.5841 GB, free: 4.246 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.137e-06/0.1295, allocations: 4 kB / 0.5841 GB, free: 4.242 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.156e-06/0.1295, allocations: 0 / 0.5841 GB, free: 4.242 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.965e-06/0.1295, allocations: 0 / 0.5841 GB, free: 4.242 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001172/0.1296, allocations: 20 kB / 0.5841 GB, free: 4.223 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.569e-06/0.1297, allocations: 4 kB / 0.5841 GB, free: 4.219 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.429e-05/0.1297, allocations: 7.984 kB / 0.5841 GB, free: 4.211 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.403e-06/0.1298, allocations: 0 / 0.5841 GB, free: 4.211 MB / 494.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 (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 6.191e-05/0.1298, allocations: 113.8 kB / 0.5842 GB, free: 4.09 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.658e-05/0.1299, allocations: 3.906 kB / 0.5842 GB, free: 4.086 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.491e-05/0.1299, allocations: 15.06 kB / 0.5843 GB, free: 4.066 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.092e-06/0.1299, allocations: 0 / 0.5843 GB, free: 4.066 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.395e-06/0.1299, allocations: 0 / 0.5843 GB, free: 4.066 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.603e-06/0.1299, allocations: 0 / 0.5843 GB, free: 4.066 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001327/0.13, allocations: 169.6 kB / 0.5844 GB, free: 3.852 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.32e-07/0.1301, allocations: 0 / 0.5844 GB, free: 3.852 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001049/0.1302, allocations: 11.98 kB / 0.5844 GB, free: 3.84 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.383e-06/0.1302, allocations: 0 / 0.5844 GB, free: 3.84 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.105e-06/0.1302, allocations: 0 / 0.5844 GB, free: 3.84 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.847e-06/0.1302, allocations: 4 kB / 0.5844 GB, free: 3.836 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.42e-07/0.1302, allocations: 4 kB / 0.5844 GB, free: 3.832 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002979/0.1305, allocations: 187.4 kB / 0.5846 GB, free: 3.633 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.445e-05/0.1305, allocations: 77.11 kB / 0.5847 GB, free: 3.539 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.361e-05/0.1306, allocations: 0 / 0.5847 GB, free: 3.539 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001129/0.1307, allocations: 16.02 kB / 0.5847 GB, free: 3.523 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.458e-05/0.1307, allocations: 4 kB / 0.5847 GB, free: 3.52 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.133e-06/0.1307, allocations: 3.984 kB / 0.5847 GB, free: 3.516 MB / 494.1 MB Notification: Performance of sorting global known variables: time 2.654e-05/0.1307, allocations: 79.28 kB / 0.5848 GB, free: 3.438 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.1308, allocations: 0 / 0.5848 GB, free: 3.438 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002126/0.131, allocations: 16 kB / 0.5848 GB, free: 3.422 MB / 494.1 MB 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.0005247/0.1315, allocations: 0.7318 MB / 0.5855 GB, free: 2.664 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0002572/0.1318, allocations: 63.97 kB / 0.5856 GB, free: 2.602 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.152e-06/0.1318, allocations: 3.938 kB / 0.5856 GB, free: 2.598 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001161/0.1319, allocations: 27.97 kB / 0.5856 GB, free: 2.57 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002121/0.1321, allocations: 3.734 kB / 0.5856 GB, free: 2.57 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004615/0.1326, allocations: 176.3 kB / 0.5858 GB, free: 2.359 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001752/0.1328, allocations: 0.6806 MB / 0.5864 GB, free: 1.652 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 7.961e-05/0.1329, allocations: 8 kB / 0.5864 GB, free: 1.645 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.821e-05/0.1329, allocations: 15.42 kB / 0.5865 GB, free: 1.629 MB / 494.1 MB Notification: Performance of SimCode: time 2.31e-07/0.1329, allocations: 4 kB / 0.5865 GB, free: 1.625 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.214/2.347, allocations: 1.49 MB / 0.5879 GB, free: 308 kB / 494.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002512/2.348, allocations: 199.7 kB / 0.5881 GB, free: 48 kB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.19/4.538, allocations: 4 kB / 0.5881 GB, free: 44 kB / 494.1 MB (rm -f IDEAS_IDEAS.Utilities.Psychrometrics.Examples.SaturationPressure.pipe ; mkfifo IDEAS_IDEAS.Utilities.Psychrometrics.Examples.SaturationPressure.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.Psychrometrics.Examples.SaturationPressure.pipe >> ../files/IDEAS_IDEAS.Utilities.Psychrometrics.Examples.SaturationPressure.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Utilities_Psychrometrics_Examples_SaturationPressure_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Utilities_Psychrometrics_Examples_SaturationPressure.fmu > IDEAS_IDEAS.Utilities.Psychrometrics.Examples.SaturationPressure.pipe 2>&1)