Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.Utilities.Psychrometrics.Examples.Phi_pTX.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.Phi_pTX,fileNamePrefix="IDEAS_dev_IDEAS_Utilities_Psychrometrics_Examples_Phi_pTX",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Psychrometrics.Examples.Phi_pTX,fileNamePrefix="IDEAS_dev_IDEAS_Utilities_Psychrometrics_Examples_Phi_pTX",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.0009825/0.0009823, allocations: 84.38 kB / 15.06 MB, free: 1.09 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.001126/0.001126, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.408/1.408, allocations: 223.3 MB / 240 MB, free: 5.41 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.045/1.045, allocations: 135.3 MB / 426.4 MB, free: 14.17 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003196/0.0003197, allocations: 12.62 kB / 0.5071 GB, free: 5.062 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1882/0.1885, allocations: 82.31 MB / 0.5875 GB, free: 2.926 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Psychrometrics.Examples.Phi_pTX): time 0.002799/0.1914, allocations: 1.196 MB / 0.5886 GB, free: 1.719 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.002114/0.1935, allocations: 0.7607 MB / 0.5894 GB, free: 0.9531 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.724e-05/0.1936, allocations: 4 kB / 0.5894 GB, free: 0.9492 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 2.641e-05/0.1937, allocations: 3.938 kB / 0.5894 GB, free: 0.9453 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 8.199e-05/0.1938, allocations: 7.922 kB / 0.5894 GB, free: 0.9375 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006526/0.1944, allocations: 107.6 kB / 0.5895 GB, free: 0.832 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.000124/0.1946, allocations: 51.78 kB / 0.5895 GB, free: 0.7812 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001223/0.1947, allocations: 7.984 kB / 0.5895 GB, free: 0.7734 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.778e-05/0.1948, allocations: 19.92 kB / 0.5896 GB, free: 0.7539 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.889e-05/0.1949, allocations: 23.91 kB / 0.5896 GB, free: 0.7305 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.606e-05/0.1949, allocations: 0 / 0.5896 GB, free: 0.7305 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005635/0.1955, allocations: 167.7 kB / 0.5897 GB, free: 0.5664 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 2.066e-05/0.1955, allocations: 7.984 kB / 0.5898 GB, free: 0.5586 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 4.706e-05/0.1956, allocations: 37.64 kB / 0.5898 GB, free: 0.5156 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003066/0.1959, allocations: 104 kB / 0.5899 GB, free: 424 kB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.132e-06/0.1959, allocations: 0 / 0.5899 GB, free: 424 kB / 494.1 MB Notification: Performance of FrontEnd: time 2.294e-06/0.196, allocations: 0 / 0.5899 GB, free: 424 kB / 494.1 MB Notification: Performance of Transformations before backend: time 6.372e-06/0.196, allocations: 0 / 0.5899 GB, free: 424 kB / 494.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0008223/0.1968, allocations: 403.1 kB / 0.5903 GB, free: 15.97 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 6.389e-05/0.1969, allocations: 12.03 kB / 0.5903 GB, free: 15.96 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.631e-05/0.1969, allocations: 38.5 kB / 0.5903 GB, free: 15.91 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.657e-05/0.197, allocations: 7.953 kB / 0.5903 GB, free: 15.91 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002135/0.1972, allocations: 163 kB / 0.5905 GB, free: 15.71 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.979e-05/0.1973, allocations: 7.938 kB / 0.5905 GB, free: 15.7 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.164e-05/0.1973, allocations: 4 kB / 0.5905 GB, free: 15.7 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004428/0.1978, allocations: 97.61 kB / 0.5906 GB, free: 15.59 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.075e-05/0.1978, allocations: 0 / 0.5906 GB, free: 15.59 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.44e-05/0.1978, allocations: 0 / 0.5906 GB, free: 15.59 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.152e-06/0.1978, allocations: 0 / 0.5906 GB, free: 15.59 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005479/0.1984, allocations: 87.92 kB / 0.5907 GB, free: 15.51 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005854/0.199, allocations: 288.7 kB / 0.5909 GB, free: 15.18 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003434/0.1994, allocations: 70.48 kB / 0.591 GB, free: 15.1 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003005/0.1997, allocations: 56.91 kB / 0.5911 GB, free: 15.04 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000256/0.2, allocations: 89.09 kB / 0.5912 GB, free: 14.93 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.253e-05/0.2, allocations: 34.56 kB / 0.5912 GB, free: 14.89 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=3): time 2.134e-06/0.2, allocations: 0 / 0.5912 GB, free: 14.89 MB / 0.4981 GB Notification: Performance of matching and sorting (n=3): time 0.0009634/0.201, allocations: 173.4 kB / 0.5914 GB, free: 14.71 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.941e-05/0.2011, allocations: 51.41 kB / 0.5914 GB, free: 14.65 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001547/0.2012, allocations: 117.8 kB / 0.5915 GB, free: 14.53 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.897e-05/0.2013, allocations: 25.7 kB / 0.5915 GB, free: 14.5 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 6.737e-05/0.2014, allocations: 88.14 kB / 0.5916 GB, free: 14.41 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.913e-05/0.2014, allocations: 11.8 kB / 0.5916 GB, free: 14.39 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.025e-05/0.2014, allocations: 4 kB / 0.5916 GB, free: 14.39 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.000192/0.2016, allocations: 314.8 kB / 0.5919 GB, free: 14.07 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002635/0.2019, allocations: 43.95 kB / 0.592 GB, free: 14.03 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002517/0.2022, allocations: 43.97 kB / 0.592 GB, free: 13.99 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002527/0.2025, allocations: 39.97 kB / 0.5921 GB, free: 13.95 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.224e-06/0.2025, allocations: 0 / 0.5921 GB, free: 13.95 MB / 0.4981 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0006258/0.2031, allocations: 125.5 kB / 0.5922 GB, free: 13.82 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.098e-05/0.2032, allocations: 8 kB / 0.5922 GB, free: 13.81 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.523e-06/0.2032, allocations: 0 / 0.5922 GB, free: 13.81 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.994e-05/0.2032, allocations: 3.953 kB / 0.5922 GB, free: 13.81 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000203/0.2034, allocations: 19.98 kB / 0.5922 GB, free: 13.79 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.708e-06/0.2034, allocations: 7.938 kB / 0.5922 GB, free: 13.78 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001474/0.2036, allocations: 20.31 kB / 0.5922 GB, free: 13.76 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.444e-05/0.2036, allocations: 4 kB / 0.5922 GB, free: 13.76 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 (3): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001115/0.2038, allocations: 113.8 kB / 0.5923 GB, free: 13.64 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.281e-05/0.2038, allocations: 7.906 kB / 0.5924 GB, free: 13.63 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006403/0.2045, allocations: 133.5 kB / 0.5925 GB, free: 13.48 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.447e-06/0.2045, allocations: 0 / 0.5925 GB, free: 13.48 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.766e-06/0.2045, allocations: 3.953 kB / 0.5925 GB, free: 13.48 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.336e-06/0.2045, allocations: 0 / 0.5925 GB, free: 13.48 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002974/0.2049, allocations: 173.6 kB / 0.5927 GB, free: 13.26 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.495e-06/0.2049, allocations: 0 / 0.5927 GB, free: 13.26 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001707/0.2051, allocations: 23.98 kB / 0.5927 GB, free: 13.24 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.828e-06/0.2051, allocations: 0 / 0.5927 GB, free: 13.24 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.478e-06/0.2051, allocations: 0 / 0.5927 GB, free: 13.24 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.164e-06/0.2051, allocations: 0 / 0.5927 GB, free: 13.24 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.673e-06/0.2051, allocations: 4 kB / 0.5927 GB, free: 13.23 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006682/0.2058, allocations: 223.3 kB / 0.5929 GB, free: 13 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 7.26e-05/0.2059, allocations: 85.05 kB / 0.593 GB, free: 12.9 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.335e-05/0.2059, allocations: 0 / 0.593 GB, free: 12.9 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002022/0.2062, allocations: 15.98 kB / 0.593 GB, free: 12.88 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.681e-05/0.2062, allocations: 15.92 kB / 0.593 GB, free: 12.87 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.444e-06/0.2063, allocations: 0 / 0.593 GB, free: 12.87 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 8.584e-05/0.2064, allocations: 95.22 kB / 0.5931 GB, free: 12.77 MB / 0.4981 GB Notification: Performance of sort global known variables: time 3.31e-07/0.2064, allocations: 0 / 0.5931 GB, free: 12.77 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0005204/0.2069, allocations: 28 kB / 0.5931 GB, free: 12.75 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 (3): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.00123/0.2082, allocations: 0.7904 MB / 0.5939 GB, free: 11.93 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0006212/0.2088, allocations: 87.92 kB / 0.594 GB, free: 11.84 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 7.895e-06/0.2088, allocations: 0 / 0.594 GB, free: 11.84 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0003106/0.2091, allocations: 59.83 kB / 0.594 GB, free: 11.79 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004922/0.2097, allocations: 8 kB / 0.594 GB, free: 11.78 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001912/0.2116, allocations: 0.574 MB / 0.5946 GB, free: 11.16 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003744/0.212, allocations: 0.6809 MB / 0.5953 GB, free: 10.45 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 5.615e-05/0.2121, allocations: 4 kB / 0.5953 GB, free: 10.45 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.064e-05/0.2121, allocations: 23.42 kB / 0.5953 GB, free: 10.43 MB / 0.4981 GB Notification: Performance of SimCode: time 6.11e-07/0.2122, allocations: 0 / 0.5953 GB, free: 10.43 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01893/0.2311, allocations: 2.09 MB / 0.5973 GB, free: 8.48 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000317/0.2315, allocations: 171.1 kB / 0.5975 GB, free: 8.246 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.789/2.021, allocations: 4 kB / 0.5975 GB, free: 8.242 MB / 0.4981 GB (rm -f IDEAS_dev_IDEAS.Utilities.Psychrometrics.Examples.Phi_pTX.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Psychrometrics.Examples.Phi_pTX.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Psychrometrics.Examples.Phi_pTX.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Psychrometrics.Examples.Phi_pTX.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Utilities_Psychrometrics_Examples_Phi_pTX_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Utilities_Psychrometrics_Examples_Phi_pTX.fmu > IDEAS_dev_IDEAS.Utilities.Psychrometrics.Examples.Phi_pTX.pipe 2>&1) Environment - environmentSimulation: