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/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.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/Complex 4.0.0+maint.om/package.mo): time 0.001064/0.001064, allocations: 174.8 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.701/0.701, 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.566/1.566, allocations: 221.3 MB / 400.4 MB, free: 5.859 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.001051/0.001051, allocations: 96.48 kB / 483.3 MB, free: 5.879 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 4.581e-05/4.592e-05, allocations: 3.25 kB / 0.5601 GB, free: 87.84 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.156/0.156, allocations: 82.3 MB / 0.6405 GB, free: 7.738 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.6538/0.8099, allocations: 112.7 MB / 0.7505 GB, free: 11.86 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002443/0.8102, allocations: 88.62 kB / 0.7506 GB, free: 11.86 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 0.01744/0.8276, allocations: 6.252 MB / 0.7567 GB, free: 27.07 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.994e-06/0.8277, allocations: 0 / 0.7567 GB, free: 27.07 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 6.582e-06/0.8277, allocations: 0 / 0.7567 GB, free: 27.07 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.0004166/0.8281, allocations: 365.5 kB / 0.7571 GB, free: 26.69 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.781e-05/0.8282, allocations: 11.25 kB / 0.7571 GB, free: 26.69 MB / 0.5105 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.282e-05/0.8282, allocations: 30.56 kB / 0.7571 GB, free: 26.65 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001773/0.8284, allocations: 15.47 kB / 0.7571 GB, free: 26.64 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001085/0.8285, allocations: 167 kB / 0.7573 GB, free: 26.43 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.374e-05/0.8286, allocations: 3.906 kB / 0.7573 GB, free: 26.43 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.524e-05/0.8286, allocations: 0 / 0.7573 GB, free: 26.43 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001593/0.8288, allocations: 47.73 kB / 0.7573 GB, free: 26.39 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.887e-06/0.8288, allocations: 0 / 0.7573 GB, free: 26.39 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.155e-05/0.8288, allocations: 0 / 0.7573 GB, free: 26.39 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.302e-06/0.8288, allocations: 7.938 kB / 0.7573 GB, free: 26.39 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.29e-05/0.8289, allocations: 10.88 kB / 0.7574 GB, free: 26.39 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000184/0.8291, allocations: 163.7 kB / 0.7575 GB, free: 26.2 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008025/0.8299, allocations: 129.4 kB / 0.7576 GB, free: 26.14 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.655e-05/0.8299, allocations: 19.42 kB / 0.7577 GB, free: 26.13 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001229/0.8301, allocations: 84.8 kB / 0.7577 GB, free: 26.04 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.159e-05/0.8301, allocations: 30.56 kB / 0.7578 GB, free: 26 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=4): time 1.412e-06/0.8301, allocations: 4 kB / 0.7578 GB, free: 25.99 MB / 0.5105 GB Notification: Performance of matching and sorting (n=4): time 0.0001578/0.8303, allocations: 52.06 kB / 0.7578 GB, free: 25.96 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.995e-05/0.8303, allocations: 55.39 kB / 0.7579 GB, free: 25.89 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.855e-05/0.8304, allocations: 88.81 kB / 0.758 GB, free: 25.8 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 1.576e-05/0.8304, allocations: 29.64 kB / 0.758 GB, free: 25.77 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 3.044e-05/0.8304, allocations: 83.89 kB / 0.7581 GB, free: 25.68 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 2.987e-05/0.8305, allocations: 7.812 kB / 0.7581 GB, free: 25.68 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.947e-06/0.8305, allocations: 0 / 0.7581 GB, free: 25.68 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001144/0.8306, allocations: 318.8 kB / 0.7584 GB, free: 25.36 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.027e-05/0.8306, allocations: 7.5 kB / 0.7584 GB, free: 25.36 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.759e-05/0.8306, allocations: 11.77 kB / 0.7584 GB, free: 25.36 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.609e-05/0.8307, allocations: 3.969 kB / 0.7584 GB, free: 25.36 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.936e-06/0.8307, allocations: 7.828 kB / 0.7584 GB, free: 25.35 MB / 0.5105 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.636e-05/0.8308, allocations: 51.41 kB / 0.7585 GB, free: 25.32 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.785e-05/0.8308, allocations: 3.875 kB / 0.7585 GB, free: 25.32 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.819e-06/0.8308, allocations: 0 / 0.7585 GB, free: 25.32 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.205e-05/0.8308, allocations: 0 / 0.7585 GB, free: 25.32 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.83e-05/0.8309, allocations: 11.67 kB / 0.7585 GB, free: 25.31 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.394e-06/0.8309, allocations: 7.938 kB / 0.7585 GB, free: 25.3 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.072e-05/0.8309, allocations: 7.625 kB / 0.7585 GB, free: 25.3 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.827e-06/0.831, allocations: 3.969 kB / 0.7585 GB, free: 25.3 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 6.515e-05/0.831, allocations: 104.9 kB / 0.7586 GB, free: 25.19 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.161e-05/0.831, allocations: 4.141 kB / 0.7586 GB, free: 25.19 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002298/0.8313, allocations: 86.92 kB / 0.7587 GB, free: 25.13 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.274e-06/0.8313, allocations: 0 / 0.7587 GB, free: 25.13 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.929e-06/0.8313, allocations: 0 / 0.7587 GB, free: 25.13 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.827e-06/0.8313, allocations: 3.984 kB / 0.7587 GB, free: 25.12 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001046/0.8314, allocations: 164.7 kB / 0.7588 GB, free: 24.93 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.635e-06/0.8314, allocations: 0 / 0.7588 GB, free: 24.93 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.165e-05/0.8315, allocations: 15.58 kB / 0.7589 GB, free: 24.92 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.915e-06/0.8315, allocations: 3.938 kB / 0.7589 GB, free: 24.91 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.066e-05/0.8315, allocations: 4.062 kB / 0.7589 GB, free: 24.91 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.964e-06/0.8315, allocations: 4 kB / 0.7589 GB, free: 24.91 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.493e-06/0.8315, allocations: 3.844 kB / 0.7589 GB, free: 24.91 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001009/0.8316, allocations: 81.88 kB / 0.7589 GB, free: 24.84 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 5.838e-05/0.8317, allocations: 81.09 kB / 0.759 GB, free: 24.74 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.489e-05/0.8317, allocations: 7.797 kB / 0.759 GB, free: 24.74 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.086e-05/0.8318, allocations: 0 / 0.759 GB, free: 24.74 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.523e-05/0.8318, allocations: 0 / 0.759 GB, free: 24.74 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.175e-06/0.8318, allocations: 6.969 kB / 0.759 GB, free: 24.74 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 3.346e-05/0.8319, allocations: 79.28 kB / 0.7591 GB, free: 24.66 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.4e-07/0.8319, allocations: 0 / 0.7591 GB, free: 24.66 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0002857/0.8321, allocations: 54.52 kB / 0.7592 GB, free: 24.64 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 (5): * Single equations (assignments): 5 * 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.0007615/0.8329, allocations: 0.6931 MB / 0.7598 GB, free: 24.03 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.0001012/0.833, allocations: 26.44 kB / 0.7599 GB, free: 24.02 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 2.284e-06/0.833, allocations: 3.938 kB / 0.7599 GB, free: 24.02 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 2.969e-05/0.8331, allocations: 23.27 kB / 0.7599 GB, free: 24.01 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001282/0.8332, allocations: 11.11 kB / 0.7599 GB, free: 24.01 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003754/0.8336, allocations: 124.1 kB / 0.76 GB, free: 23.88 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002706/0.8339, allocations: 0.6845 MB / 0.7607 GB, free: 23.18 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 7.009e-05/0.834, allocations: 7.797 kB / 0.7607 GB, free: 23.18 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.888e-05/0.834, allocations: 11.31 kB / 0.7607 GB, free: 23.17 MB / 0.5105 GB Notification: Performance of SimCode: time 2.41e-07/0.834, allocations: 0 / 0.7607 GB, free: 23.17 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01369/0.8477, allocations: 1.666 MB / 0.7623 GB, free: 22.36 MB / 0.5105 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001858/0.848, allocations: 209.1 kB / 0.7625 GB, free: 22.13 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.566/2.414, allocations: 3.938 kB / 0.7625 GB, free: 22.12 MB / 0.5105 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/linux/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)