Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Utilities.Psychrometrics.Functions.Examples.phi_pTX.conf.json 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/IDEAS 3.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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) Running command: "" <> buildModelFMU(IDEAS.Utilities.Psychrometrics.Functions.Examples.phi_pTX,fileNamePrefix="IDEAS_IDEAS_Utilities_Psychrometrics_Functions_Examples_phi_pTX",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Psychrometrics.Functions.Examples.phi_pTX,fileNamePrefix="IDEAS_IDEAS_Utilities_Psychrometrics_Functions_Examples_phi_pTX",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001829/0.001829, allocations: 175 kB / 12.73 MB, free: 2.59 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8029/0.8029, allocations: 133.4 MB / 146.7 MB, free: 10.79 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.381/1.381, allocations: 221.3 MB / 400.4 MB, free: 5.867 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008914/0.0008915, allocations: 99.27 kB / 483.3 MB, free: 5.898 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 3.402e-05/3.415e-05, allocations: 3.719 kB / 0.5601 GB, free: 87.81 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1431/0.1432, allocations: 82.31 MB / 0.6405 GB, free: 7.754 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5859/0.7292, allocations: 112.9 MB / 0.7508 GB, free: 12.11 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002146/0.7295, allocations: 84.5 kB / 0.7509 GB, free: 12.11 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 0.008081/0.7376, allocations: 2.705 MB / 0.7535 GB, free: 27.67 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.552e-06/0.7376, allocations: 0 / 0.7535 GB, free: 27.67 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 7.324e-06/0.7376, allocations: 0 / 0.7535 GB, free: 27.67 MB / 0.5105 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.0003875/0.738, allocations: 364.8 kB / 0.7539 GB, free: 27.3 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.761e-05/0.7381, allocations: 7.656 kB / 0.7539 GB, free: 27.3 MB / 0.5105 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.889e-05/0.7381, allocations: 30.56 kB / 0.7539 GB, free: 27.27 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.499e-05/0.7382, allocations: 11.78 kB / 0.7539 GB, free: 27.26 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001133/0.7383, allocations: 165.5 kB / 0.7541 GB, free: 27.06 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.292e-05/0.7384, allocations: 32.89 kB / 0.7541 GB, free: 27.03 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.859e-06/0.7384, allocations: 3.812 kB / 0.7541 GB, free: 27.03 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001158/0.7385, allocations: 34.91 kB / 0.7541 GB, free: 27 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.025e-05/0.7385, allocations: 2.109 kB / 0.7541 GB, free: 27 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.036e-05/0.7385, allocations: 3.906 kB / 0.7541 GB, free: 27 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.051e-06/0.7386, allocations: 0 / 0.7541 GB, free: 27 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.72e-05/0.7386, allocations: 14.81 kB / 0.7542 GB, free: 26.99 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001868/0.7388, allocations: 164.8 kB / 0.7543 GB, free: 26.8 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001674/0.739, allocations: 42.25 kB / 0.7544 GB, free: 26.77 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.87e-05/0.739, allocations: 15.45 kB / 0.7544 GB, free: 26.76 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003021/0.7393, allocations: 180.8 kB / 0.7545 GB, free: 26.57 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.316e-05/0.7394, allocations: 34.56 kB / 0.7546 GB, free: 26.53 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=4): time 1.403e-06/0.7394, allocations: 0 / 0.7546 GB, free: 26.53 MB / 0.5105 GB Notification: Performance of matching and sorting (n=4): time 0.0001488/0.7395, allocations: 55.77 kB / 0.7546 GB, free: 26.5 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.676e-05/0.7396, allocations: 54.17 kB / 0.7547 GB, free: 26.43 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.632e-05/0.7397, allocations: 93 kB / 0.7548 GB, free: 26.34 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 1.57e-05/0.7397, allocations: 25.7 kB / 0.7548 GB, free: 26.31 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 3.061e-05/0.7397, allocations: 80.14 kB / 0.7549 GB, free: 26.23 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 2.929e-05/0.7398, allocations: 15.5 kB / 0.7549 GB, free: 26.21 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.998e-06/0.7398, allocations: 3.844 kB / 0.7549 GB, free: 26.21 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001185/0.7399, allocations: 321.7 kB / 0.7552 GB, free: 25.89 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.095e-05/0.7399, allocations: 7.406 kB / 0.7552 GB, free: 25.89 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.323e-05/0.74, allocations: 3.844 kB / 0.7552 GB, free: 25.89 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.111e-05/0.74, allocations: 7.594 kB / 0.7552 GB, free: 25.89 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.593e-06/0.74, allocations: 3.938 kB / 0.7552 GB, free: 25.89 MB / 0.5105 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.046e-05/0.7401, allocations: 54.89 kB / 0.7553 GB, free: 25.86 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.517e-05/0.7401, allocations: 4.906 kB / 0.7553 GB, free: 25.86 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.05e-06/0.7401, allocations: 3.969 kB / 0.7553 GB, free: 25.86 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.62e-05/0.7401, allocations: 0 / 0.7553 GB, free: 25.86 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.47e-05/0.7402, allocations: 7.906 kB / 0.7553 GB, free: 25.85 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.955e-06/0.7402, allocations: 0 / 0.7553 GB, free: 25.85 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.18e-05/0.7402, allocations: 6.844 kB / 0.7553 GB, free: 25.85 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.803e-06/0.7403, allocations: 2.625 kB / 0.7553 GB, free: 25.85 MB / 0.5105 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.829e-05/0.7403, allocations: 108.8 kB / 0.7554 GB, free: 25.74 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.117e-05/0.7404, allocations: 3.906 kB / 0.7554 GB, free: 25.74 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001266/0.7405, allocations: 62.97 kB / 0.7555 GB, free: 25.7 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.094e-06/0.7405, allocations: 3.938 kB / 0.7555 GB, free: 25.69 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.93e-06/0.7405, allocations: 0 / 0.7555 GB, free: 25.69 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.555e-06/0.7405, allocations: 4 kB / 0.7555 GB, free: 25.69 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.936e-05/0.7406, allocations: 168.5 kB / 0.7556 GB, free: 25.5 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.502e-06/0.7406, allocations: 0 / 0.7556 GB, free: 25.5 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.571e-05/0.7407, allocations: 7.719 kB / 0.7556 GB, free: 25.5 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.167e-06/0.7407, allocations: 2.812 kB / 0.7556 GB, free: 25.5 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.086e-06/0.7407, allocations: 0 / 0.7556 GB, free: 25.5 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.148e-06/0.7407, allocations: 4 kB / 0.7556 GB, free: 25.49 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.92e-07/0.7407, allocations: 3.938 kB / 0.7557 GB, free: 25.49 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.59e-05/0.7408, allocations: 75.09 kB / 0.7557 GB, free: 25.42 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 6.931e-05/0.7409, allocations: 87.67 kB / 0.7558 GB, free: 25.32 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.168e-05/0.7409, allocations: 0 / 0.7558 GB, free: 25.32 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.876e-05/0.741, allocations: 6.656 kB / 0.7558 GB, free: 25.32 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.646e-05/0.741, allocations: 2.562 kB / 0.7558 GB, free: 25.32 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.552e-06/0.741, allocations: 3.844 kB / 0.7558 GB, free: 25.32 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 3.604e-05/0.7411, allocations: 81.84 kB / 0.7559 GB, free: 25.25 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.4e-07/0.7411, allocations: 0 / 0.7559 GB, free: 25.25 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.000237/0.7413, allocations: 42.19 kB / 0.7559 GB, free: 25.23 MB / 0.5105 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 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (4): * Single equations (assignments): 4 * 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.0004984/0.7418, allocations: 0.6579 MB / 0.7566 GB, free: 24.62 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 8.709e-05/0.7419, allocations: 26.36 kB / 0.7566 GB, free: 24.62 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.7419, allocations: 0 / 0.7566 GB, free: 24.62 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 2.207e-05/0.742, allocations: 12.61 kB / 0.7566 GB, free: 24.62 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001457/0.7421, allocations: 10.72 kB / 0.7566 GB, free: 24.61 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002999/0.7424, allocations: 101.8 kB / 0.7567 GB, free: 24.5 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002356/0.7427, allocations: 0.6823 MB / 0.7574 GB, free: 23.81 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 4.643e-05/0.7427, allocations: 3.844 kB / 0.7574 GB, free: 23.81 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.13e-05/0.7428, allocations: 22.03 kB / 0.7574 GB, free: 23.79 MB / 0.5105 GB Notification: Performance of SimCode: time 2.41e-07/0.7428, allocations: 0 / 0.7574 GB, free: 23.79 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01235/0.7551, allocations: 1.614 MB / 0.759 GB, free: 23.48 MB / 0.5105 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001775/0.7553, allocations: 155.8 kB / 0.7591 GB, free: 23.26 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.644/2.399, allocations: 0 / 0.7591 GB, free: 23.26 MB / 0.5105 GB (rm -f IDEAS_IDEAS.Utilities.Psychrometrics.Functions.Examples.phi_pTX.pipe ; mkfifo IDEAS_IDEAS.Utilities.Psychrometrics.Functions.Examples.phi_pTX.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.Psychrometrics.Functions.Examples.phi_pTX.pipe >> ../files/IDEAS_IDEAS.Utilities.Psychrometrics.Functions.Examples.phi_pTX.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Utilities_Psychrometrics_Functions_Examples_phi_pTX_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Utilities_Psychrometrics_Functions_Examples_phi_pTX.fmu > IDEAS_IDEAS.Utilities.Psychrometrics.Functions.Examples.phi_pTX.pipe 2>&1)