Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.Utilities.Psychrometrics.Functions.Examples.pW_X.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: translateModel(IDEAS.Utilities.Psychrometrics.Functions.Examples.pW_X,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Psychrometrics.Functions.Examples.pW_X") translateModel(IDEAS.Utilities.Psychrometrics.Functions.Examples.pW_X,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Psychrometrics.Functions.Examples.pW_X") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001094/0.001095, allocations: 92.16 kB / 16.02 MB, free: 80 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.0008662/0.0008662, allocations: 172.9 kB / 16.92 MB, free: 6.652 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.314/1.314, allocations: 223.3 MB / 241 MB, free: 5.328 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9197/0.9197, allocations: 135.3 MB / 427.4 MB, free: 14.27 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003094/0.0003095, allocations: 12 kB / 0.5082 GB, free: 4.766 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1501/0.1505, allocations: 82.31 MB / 0.5886 GB, free: 2.629 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Psychrometrics.Functions.Examples.pW_X): time 0.001358/0.1519, allocations: 0.9821 MB / 0.5896 GB, free: 1.633 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.000609/0.1525, allocations: 296.8 kB / 0.5899 GB, free: 1.344 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.479e-05/0.1525, allocations: 0 / 0.5899 GB, free: 1.344 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 1.693e-05/0.1526, allocations: 3.984 kB / 0.5899 GB, free: 1.34 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 4.77e-05/0.1526, allocations: 7.922 kB / 0.5899 GB, free: 1.332 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002471/0.1529, allocations: 44.48 kB / 0.5899 GB, free: 1.289 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 5.127e-05/0.1529, allocations: 11.94 kB / 0.5899 GB, free: 1.277 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.237e-05/0.153, allocations: 4 kB / 0.5899 GB, free: 1.273 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.317e-05/0.153, allocations: 15.97 kB / 0.5899 GB, free: 1.258 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.273e-05/0.1531, allocations: 11.88 kB / 0.5899 GB, free: 1.246 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.225e-05/0.1531, allocations: 4 kB / 0.59 GB, free: 1.242 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001236/0.1532, allocations: 51.95 kB / 0.59 GB, free: 1.191 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.025e-05/0.1532, allocations: 0 / 0.59 GB, free: 1.191 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 4.32e-05/0.1533, allocations: 37.62 kB / 0.59 GB, free: 1.148 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 9.516e-05/0.1534, allocations: 40.19 kB / 0.5901 GB, free: 1.109 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.448e-06/0.1534, allocations: 0 / 0.5901 GB, free: 1.109 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.453e-06/0.1534, allocations: 0 / 0.5901 GB, free: 1.109 MB / 494.1 MB Notification: Performance of Transformations before backend: time 4.488e-06/0.1534, allocations: 3.938 kB / 0.5901 GB, free: 1.105 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.0003326/0.1538, allocations: 327.6 kB / 0.5904 GB, free: 0.7344 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.898e-05/0.1538, allocations: 12.03 kB / 0.5904 GB, free: 0.7227 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000207/0.154, allocations: 20.81 kB / 0.5904 GB, free: 0.7031 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.949e-05/0.1541, allocations: 168.3 kB / 0.5906 GB, free: 0.5 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.059e-05/0.1541, allocations: 384 / 0.5906 GB, free: 0.5 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.327e-06/0.1542, allocations: 384 / 0.5906 GB, free: 0.5 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001138/0.1543, allocations: 42.25 kB / 0.5906 GB, free: 464 kB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.422e-06/0.1543, allocations: 4.188 kB / 0.5906 GB, free: 460 kB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.209e-05/0.1543, allocations: 3.938 kB / 0.5906 GB, free: 456 kB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.978e-06/0.1543, allocations: 0 / 0.5906 GB, free: 456 kB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.982e-05/0.1544, allocations: 23.92 kB / 0.5907 GB, free: 432 kB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001582/0.1545, allocations: 157.7 kB / 0.5908 GB, free: 224 kB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001803/0.1563, allocations: 266.4 kB / 0.5911 GB, free: 15.95 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.574e-05/0.1564, allocations: 20.86 kB / 0.5911 GB, free: 15.93 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.209e-05/0.1564, allocations: 4 kB / 0.5911 GB, free: 15.92 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.235e-05/0.1564, allocations: 34.5 kB / 0.5911 GB, free: 15.88 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=4): time 1.172e-06/0.1565, allocations: 4 kB / 0.5911 GB, free: 15.88 MB / 0.4981 GB Notification: Performance of matching and sorting (n=4): time 0.000165/0.1566, allocations: 73.73 kB / 0.5912 GB, free: 15.8 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.937e-05/0.1567, allocations: 51.41 kB / 0.5912 GB, free: 15.73 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.225e-05/0.1567, allocations: 89.86 kB / 0.5913 GB, free: 15.64 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.838e-05/0.1568, allocations: 29.7 kB / 0.5914 GB, free: 15.6 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 3.075e-05/0.1568, allocations: 80.14 kB / 0.5914 GB, free: 15.52 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.993e-05/0.1568, allocations: 11.81 kB / 0.5914 GB, free: 15.51 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.305e-05/0.1569, allocations: 9.719 kB / 0.5915 GB, free: 15.49 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001019/0.157, allocations: 323 kB / 0.5918 GB, free: 15.17 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.106e-05/0.157, allocations: 8 kB / 0.5918 GB, free: 15.16 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.697e-05/0.157, allocations: 7.984 kB / 0.5918 GB, free: 15.15 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.099e-05/0.1571, allocations: 32.8 kB / 0.5918 GB, free: 15.12 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.764e-06/0.1571, allocations: 0 / 0.5918 GB, free: 15.12 MB / 0.4981 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.472e-05/0.1572, allocations: 53.69 kB / 0.5919 GB, free: 15.06 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.258e-05/0.1572, allocations: 4 kB / 0.5919 GB, free: 15.05 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.279e-06/0.1572, allocations: 3.938 kB / 0.5919 GB, free: 15.05 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.206e-05/0.1572, allocations: 0 / 0.5919 GB, free: 15.05 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.046e-05/0.1573, allocations: 11.98 kB / 0.5919 GB, free: 15.04 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.829e-06/0.1573, allocations: 4 kB / 0.5919 GB, free: 15.04 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.781e-05/0.1573, allocations: 0 / 0.5919 GB, free: 15.04 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.448e-06/0.1573, allocations: 0 / 0.5919 GB, free: 15.04 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 (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 7.54e-05/0.1574, allocations: 109.8 kB / 0.592 GB, free: 14.92 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.037e-06/0.1574, allocations: 0 / 0.592 GB, free: 14.92 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.277e-05/0.1575, allocations: 11.44 kB / 0.592 GB, free: 14.9 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.366e-06/0.1575, allocations: 4 kB / 0.592 GB, free: 14.9 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.53e-06/0.1575, allocations: 3.938 kB / 0.592 GB, free: 14.89 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.427e-06/0.1575, allocations: 0 / 0.592 GB, free: 14.89 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001249/0.1576, allocations: 165.7 kB / 0.5922 GB, free: 14.68 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.523e-06/0.1576, allocations: 3.938 kB / 0.5922 GB, free: 14.68 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.297e-05/0.1577, allocations: 7.984 kB / 0.5922 GB, free: 14.67 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.144e-06/0.1577, allocations: 0 / 0.5922 GB, free: 14.67 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.005e-06/0.1577, allocations: 3.938 kB / 0.5922 GB, free: 14.67 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.406e-06/0.1577, allocations: 0 / 0.5922 GB, free: 14.67 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/0.1577, allocations: 7.938 kB / 0.5922 GB, free: 14.66 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001088/0.1578, allocations: 77.03 kB / 0.5923 GB, free: 14.57 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 5.771e-05/0.1579, allocations: 85.05 kB / 0.5923 GB, free: 14.46 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.564e-05/0.1579, allocations: 7.938 kB / 0.5923 GB, free: 14.46 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.558e-05/0.158, allocations: 7.984 kB / 0.5924 GB, free: 14.45 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.318e-05/0.158, allocations: 0 / 0.5924 GB, free: 14.45 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.448e-06/0.158, allocations: 0 / 0.5924 GB, free: 14.45 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 3.097e-05/0.1581, allocations: 79.28 kB / 0.5924 GB, free: 14.37 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.2e-07/0.1581, allocations: 0 / 0.5924 GB, free: 14.37 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0001794/0.1582, allocations: 4 kB / 0.5924 GB, free: 14.37 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 (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 Backend phase and start with SimCode phase: time 0.0001354/0.1584, allocations: 103.3 kB / 0.5925 GB, free: 14.25 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 9.822e-05/0.1585, allocations: 27.98 kB / 0.5926 GB, free: 14.23 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.984e-06/0.1585, allocations: 0 / 0.5926 GB, free: 14.23 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 2.208e-05/0.1585, allocations: 12 kB / 0.5926 GB, free: 14.21 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002294/0.1588, allocations: 9.703 kB / 0.5926 GB, free: 14.21 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003175/0.1591, allocations: 170.2 kB / 0.5927 GB, free: 14 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002379/0.1593, allocations: 0.6731 MB / 0.5934 GB, free: 13.3 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.888e-05/0.1594, allocations: 7.438 kB / 0.5934 GB, free: 13.3 MB / 0.4981 GB Notification: Performance of SimCode: time 3e-07/0.1594, allocations: 4 kB / 0.5934 GB, free: 13.29 MB / 0.4981 GB Notification: Performance of Templates: time 0.001705/0.1611, allocations: 0.5276 MB / 0.5939 GB, free: 12.77 MB / 0.4981 GB make -j1 -f IDEAS_dev_IDEAS.Utilities.Psychrometrics.Functions.Examples.pW_X.makefile (rm -f IDEAS_dev_IDEAS.Utilities.Psychrometrics.Functions.Examples.pW_X.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Psychrometrics.Functions.Examples.pW_X.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Psychrometrics.Functions.Examples.pW_X.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Psychrometrics.Functions.Examples.pW_X.sim & ./IDEAS_dev_IDEAS.Utilities.Psychrometrics.Functions.Examples.pW_X -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Utilities.Psychrometrics.Functions.Examples.pW_X.pipe 2>&1)