Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi.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.Examples.pW_TDewPoi,fileNamePrefix="IDEAS_IDEAS_Utilities_Psychrometrics_Functions_Examples_pW_TDewPoi",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi,fileNamePrefix="IDEAS_IDEAS_Utilities_Psychrometrics_Functions_Examples_pW_TDewPoi",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.001619/0.001619, allocations: 108 kB / 15.6 MB, free: 132 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.001864/0.001864, allocations: 196 kB / 16.54 MB, free: 6.672 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.479/1.479, allocations: 222.9 MB / 240.2 MB, free: 4.383 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7808/0.7808, allocations: 132.2 MB / 422.6 MB, free: 1.77 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001619/0.001619, allocations: 64.52 kB / 0.5019 GB, free: 8.633 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2153/0.217, allocations: 80.2 MB / 0.5802 GB, free: 8.656 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi): time 0.003493/0.2205, allocations: 1.259 MB / 0.5814 GB, free: 7.383 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.001624/0.2222, allocations: 0.8785 MB / 0.5823 GB, free: 6.5 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.698e-05/0.2222, allocations: 0 / 0.5823 GB, free: 6.5 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 2.177e-05/0.2223, allocations: 0 / 0.5823 GB, free: 6.5 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 4.768e-05/0.2223, allocations: 7.922 kB / 0.5823 GB, free: 6.492 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007811/0.2231, allocations: 198.4 kB / 0.5825 GB, free: 6.301 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 6.489e-05/0.2232, allocations: 23.86 kB / 0.5825 GB, free: 6.277 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.437e-05/0.2233, allocations: 3.984 kB / 0.5825 GB, free: 6.273 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.959e-05/0.2233, allocations: 8 kB / 0.5825 GB, free: 6.266 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.924e-05/0.2234, allocations: 3.938 kB / 0.5825 GB, free: 6.262 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.302e-05/0.2234, allocations: 4 kB / 0.5825 GB, free: 6.258 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003815/0.2238, allocations: 195.8 kB / 0.5827 GB, free: 6.066 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.277e-05/0.2238, allocations: 0 / 0.5827 GB, free: 6.066 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 2.963e-05/0.2238, allocations: 11.92 kB / 0.5827 GB, free: 6.055 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003157/0.2241, allocations: 143.8 kB / 0.5829 GB, free: 5.914 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.452e-06/0.2242, allocations: 7.984 kB / 0.5829 GB, free: 5.906 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.944e-06/0.2242, allocations: 0 / 0.5829 GB, free: 5.906 MB / 494.1 MB Notification: Performance of Transformations before backend: time 8.476e-06/0.2242, allocations: 0 / 0.5829 GB, free: 5.906 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0005961/0.2248, allocations: 356.1 kB / 0.5832 GB, free: 5.512 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.994e-05/0.2249, allocations: 12.03 kB / 0.5832 GB, free: 5.5 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.91e-05/0.2249, allocations: 34.75 kB / 0.5832 GB, free: 5.457 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002505/0.2252, allocations: 12.86 kB / 0.5833 GB, free: 5.445 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001886/0.2254, allocations: 164.3 kB / 0.5834 GB, free: 5.246 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.906e-05/0.2254, allocations: 8.375 kB / 0.5834 GB, free: 5.238 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.49e-05/0.2254, allocations: 3.938 kB / 0.5834 GB, free: 5.234 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001728/0.2256, allocations: 45.67 kB / 0.5835 GB, free: 5.184 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.185e-05/0.2256, allocations: 0 / 0.5835 GB, free: 5.184 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.395e-05/0.2256, allocations: 0 / 0.5835 GB, free: 5.184 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.902e-06/0.2257, allocations: 0 / 0.5835 GB, free: 5.184 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.032e-05/0.2257, allocations: 15.98 kB / 0.5835 GB, free: 5.168 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002549/0.226, allocations: 153.7 kB / 0.5836 GB, free: 4.969 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009693/0.227, allocations: 142.5 kB / 0.5838 GB, free: 4.82 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.805e-05/0.227, allocations: 16.86 kB / 0.5838 GB, free: 4.801 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001343/0.2272, allocations: 85.11 kB / 0.5839 GB, free: 4.699 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.487e-05/0.2272, allocations: 34.55 kB / 0.5839 GB, free: 4.656 MB / 494.1 MB Notification: Performance of pre-optimization done (n=4): time 5.61e-06/0.2272, allocations: 4 kB / 0.5839 GB, free: 4.652 MB / 494.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002071/0.2274, allocations: 61.69 kB / 0.584 GB, free: 4.586 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.502e-05/0.2275, allocations: 55.34 kB / 0.584 GB, free: 4.52 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.169e-05/0.2275, allocations: 93.86 kB / 0.5841 GB, free: 4.418 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.827e-05/0.2276, allocations: 25.7 kB / 0.5841 GB, free: 4.387 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.824e-05/0.2276, allocations: 80.14 kB / 0.5842 GB, free: 4.305 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.154e-05/0.2276, allocations: 15.8 kB / 0.5842 GB, free: 4.289 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.673e-05/0.2277, allocations: 21.66 kB / 0.5842 GB, free: 4.262 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001088/0.2278, allocations: 315 kB / 0.5845 GB, free: 3.945 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.261e-05/0.2278, allocations: 4 kB / 0.5845 GB, free: 3.941 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.987e-05/0.2278, allocations: 15.98 kB / 0.5846 GB, free: 3.926 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.076e-05/0.2279, allocations: 20.86 kB / 0.5846 GB, free: 3.902 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.104e-06/0.2279, allocations: 4 kB / 0.5846 GB, free: 3.898 MB / 494.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001092/0.228, allocations: 57.84 kB / 0.5846 GB, free: 3.836 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.614e-05/0.2281, allocations: 8 kB / 0.5846 GB, free: 3.828 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.159e-06/0.2281, allocations: 0 / 0.5846 GB, free: 3.828 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.258e-05/0.2281, allocations: 0 / 0.5846 GB, free: 3.828 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.021e-05/0.2281, allocations: 8.031 kB / 0.5847 GB, free: 3.82 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.73e-06/0.2282, allocations: 11.94 kB / 0.5847 GB, free: 3.809 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.576e-05/0.2282, allocations: 11.92 kB / 0.5847 GB, free: 3.797 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.582e-06/0.2282, allocations: 0 / 0.5847 GB, free: 3.797 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 (4): * Single equations (assignments): 4 * 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 8.443e-05/0.2283, allocations: 117.8 kB / 0.5848 GB, free: 3.672 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.274e-05/0.2283, allocations: 0 / 0.5848 GB, free: 3.672 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00029/0.2286, allocations: 81.02 kB / 0.5849 GB, free: 3.578 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.661e-06/0.2286, allocations: 4 kB / 0.5849 GB, free: 3.574 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.35e-06/0.2286, allocations: 0 / 0.5849 GB, free: 3.574 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.49e-06/0.2287, allocations: 3.984 kB / 0.5849 GB, free: 3.57 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001281/0.2288, allocations: 165.6 kB / 0.585 GB, free: 3.359 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.813e-06/0.2288, allocations: 0 / 0.585 GB, free: 3.359 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.267e-05/0.2289, allocations: 8 kB / 0.585 GB, free: 3.352 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.264e-06/0.2289, allocations: 0 / 0.585 GB, free: 3.352 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.373e-06/0.2289, allocations: 0 / 0.585 GB, free: 3.352 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.754e-06/0.2289, allocations: 8 kB / 0.585 GB, free: 3.344 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.533e-06/0.2289, allocations: 0 / 0.585 GB, free: 3.344 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000124/0.229, allocations: 85.06 kB / 0.5851 GB, free: 3.242 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.504e-05/0.2291, allocations: 81.09 kB / 0.5852 GB, free: 3.145 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.444e-05/0.2291, allocations: 4 kB / 0.5852 GB, free: 3.141 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.792e-05/0.2292, allocations: 0 / 0.5852 GB, free: 3.141 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.995e-05/0.2292, allocations: 7.938 kB / 0.5852 GB, free: 3.133 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.087e-06/0.2292, allocations: 8 kB / 0.5852 GB, free: 3.125 MB / 494.1 MB Notification: Performance of sorting global known variables: time 3.473e-05/0.2293, allocations: 75.28 kB / 0.5853 GB, free: 3.051 MB / 494.1 MB Notification: Performance of sort global known variables: time 1e-07/0.2293, allocations: 0 / 0.5853 GB, free: 3.051 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002642/0.2295, allocations: 47.98 kB / 0.5853 GB, free: 3.004 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 (5): * Single equations (assignments): 5 * 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.0007353/0.2303, allocations: 0.7001 MB / 0.586 GB, free: 2.289 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0001254/0.2304, allocations: 35.92 kB / 0.5861 GB, free: 2.254 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 3.056e-06/0.2304, allocations: 0 / 0.5861 GB, free: 2.254 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 2.842e-05/0.2304, allocations: 16 kB / 0.5861 GB, free: 2.238 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001777/0.2306, allocations: 11.16 kB / 0.5861 GB, free: 2.23 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005624/0.2312, allocations: 184.1 kB / 0.5863 GB, free: 2.012 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002737/0.2315, allocations: 0.6767 MB / 0.5869 GB, free: 1.309 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 6.271e-05/0.2316, allocations: 7.984 kB / 0.5869 GB, free: 1.301 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.706e-05/0.2316, allocations: 11.44 kB / 0.5869 GB, free: 1.293 MB / 494.1 MB Notification: Performance of SimCode: time 3.1e-07/0.2316, allocations: 4 kB / 0.5869 GB, free: 1.289 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01899/0.2506, allocations: 1.921 MB / 0.5888 GB, free: 15.49 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.478/7.728, allocations: 8.594 kB / 0.5888 GB, free: 15.48 MB / 0.4981 GB (rm -f IDEAS_IDEAS.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi.pipe ; mkfifo IDEAS_IDEAS.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi.pipe >> ../files/IDEAS_IDEAS.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Utilities_Psychrometrics_Functions_Examples_pW_TDewPoi_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Utilities_Psychrometrics_Functions_Examples_pW_TDewPoi.fmu > IDEAS_IDEAS.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi.pipe 2>&1)