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.006853/0.006852, allocations: 97.59 kB / 15.73 MB, free: 6.059 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.001074/0.001074, allocations: 192 kB / 16.67 MB, free: 5.969 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.336/1.336, allocations: 222.9 MB / 240.4 MB, free: 15.13 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7954/0.7954, allocations: 135.1 MB / 425.7 MB, free: 4.051 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001133/0.001133, allocations: 64.28 kB / 0.5856 GB, free: 21.68 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1416/0.1427, allocations: 80.92 MB / 0.6646 GB, free: 5.777 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Psychrometrics.Functions.Examples.pW_X): time 0.002233/0.145, allocations: 1.252 MB / 0.6659 GB, free: 4.52 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0007793/0.1458, allocations: 303.4 kB / 0.6661 GB, free: 4.223 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.824e-05/0.1458, allocations: 0 / 0.6661 GB, free: 4.223 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 2.398e-05/0.1459, allocations: 0 / 0.6661 GB, free: 4.223 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 9.356e-05/0.146, allocations: 7.922 kB / 0.6662 GB, free: 4.215 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005378/0.1466, allocations: 47.77 kB / 0.6662 GB, free: 4.168 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0001169/0.1467, allocations: 19.91 kB / 0.6662 GB, free: 4.148 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 7.233e-05/0.1468, allocations: 4 kB / 0.6662 GB, free: 4.145 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 6.256e-05/0.1468, allocations: 11.94 kB / 0.6662 GB, free: 4.133 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 6.624e-05/0.1469, allocations: 7.984 kB / 0.6662 GB, free: 4.125 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.945e-05/0.1469, allocations: 0 / 0.6662 GB, free: 4.125 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000219/0.1472, allocations: 63.89 kB / 0.6663 GB, free: 4.062 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.681e-05/0.1472, allocations: 0 / 0.6663 GB, free: 4.062 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 4.003e-05/0.1472, allocations: 7.938 kB / 0.6663 GB, free: 4.055 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0002084/0.1475, allocations: 55.83 kB / 0.6664 GB, free: 4 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 6.291e-06/0.1475, allocations: 0 / 0.6664 GB, free: 4 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.994e-06/0.1475, allocations: 0 / 0.6664 GB, free: 4 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 8.115e-06/0.1475, allocations: 0 / 0.6664 GB, free: 4 MB / 0.4981 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.0005442/0.148, allocations: 343.4 kB / 0.6667 GB, free: 3.613 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 5.809e-05/0.1481, allocations: 9.109 kB / 0.6667 GB, free: 3.605 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003166/0.1484, allocations: 16.92 kB / 0.6667 GB, free: 3.59 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001735/0.1486, allocations: 160.4 kB / 0.6669 GB, free: 3.395 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.037e-05/0.1486, allocations: 4.375 kB / 0.6669 GB, free: 3.391 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.734e-05/0.1487, allocations: 384 / 0.6669 GB, free: 3.391 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001719/0.1488, allocations: 42.25 kB / 0.6669 GB, free: 3.344 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.603e-05/0.1489, allocations: 8.172 kB / 0.6669 GB, free: 3.336 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.124e-05/0.1489, allocations: 3.938 kB / 0.6669 GB, free: 3.332 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.086e-05/0.1489, allocations: 3.984 kB / 0.6669 GB, free: 3.328 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.028e-05/0.149, allocations: 15.94 kB / 0.6669 GB, free: 3.312 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002003/0.1492, allocations: 157.7 kB / 0.6671 GB, free: 3.109 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001787/0.151, allocations: 266.5 kB / 0.6673 GB, free: 2.84 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.691e-05/0.151, allocations: 24.84 kB / 0.6674 GB, free: 2.812 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.077e-05/0.1511, allocations: 0 / 0.6674 GB, free: 2.812 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.288e-05/0.1511, allocations: 34.56 kB / 0.6674 GB, free: 2.77 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=4): time 1.362e-06/0.1511, allocations: 0 / 0.6674 GB, free: 2.77 MB / 0.4981 GB Notification: Performance of matching and sorting (n=4): time 0.0001897/0.1513, allocations: 73.56 kB / 0.6675 GB, free: 2.691 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.02e-05/0.1513, allocations: 51.41 kB / 0.6675 GB, free: 2.629 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.633e-05/0.1514, allocations: 93.8 kB / 0.6676 GB, free: 2.527 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.532e-05/0.1514, allocations: 25.7 kB / 0.6676 GB, free: 2.496 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 3.64e-05/0.1515, allocations: 80.14 kB / 0.6677 GB, free: 2.414 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 3.293e-05/0.1515, allocations: 19.8 kB / 0.6677 GB, free: 2.395 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.243e-05/0.1515, allocations: 13.72 kB / 0.6677 GB, free: 2.375 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001045/0.1516, allocations: 314.8 kB / 0.668 GB, free: 2.059 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.968e-05/0.1517, allocations: 8.125 kB / 0.6681 GB, free: 2.051 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.951e-05/0.1517, allocations: 11.98 kB / 0.6681 GB, free: 2.039 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.784e-05/0.1517, allocations: 28.8 kB / 0.6681 GB, free: 2.008 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.155e-06/0.1518, allocations: 0 / 0.6681 GB, free: 2.008 MB / 0.4981 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.939e-05/0.1518, allocations: 57.62 kB / 0.6681 GB, free: 1.945 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.376e-05/0.1519, allocations: 4 kB / 0.6682 GB, free: 1.941 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.912e-06/0.1519, allocations: 3.938 kB / 0.6682 GB, free: 1.938 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.548e-05/0.1519, allocations: 0 / 0.6682 GB, free: 1.938 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.739e-05/0.152, allocations: 8 kB / 0.6682 GB, free: 1.93 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.809e-06/0.152, allocations: 0 / 0.6682 GB, free: 1.93 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.877e-05/0.152, allocations: 7.906 kB / 0.6682 GB, free: 1.922 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.839e-06/0.152, allocations: 0 / 0.6682 GB, free: 1.922 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.076e-05/0.1521, allocations: 117.8 kB / 0.6683 GB, free: 1.797 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.558e-06/0.1521, allocations: 0 / 0.6683 GB, free: 1.797 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.49e-05/0.1521, allocations: 15.42 kB / 0.6683 GB, free: 1.773 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.884e-06/0.1521, allocations: 0 / 0.6683 GB, free: 1.773 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.947e-06/0.1522, allocations: 4 kB / 0.6683 GB, free: 1.77 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.214e-06/0.1522, allocations: 0 / 0.6683 GB, free: 1.77 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001102/0.1523, allocations: 157.7 kB / 0.6685 GB, free: 1.566 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.182e-06/0.1523, allocations: 4 kB / 0.6685 GB, free: 1.562 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.445e-05/0.1523, allocations: 7.938 kB / 0.6685 GB, free: 1.555 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.164e-06/0.1523, allocations: 0 / 0.6685 GB, free: 1.555 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.957e-06/0.1524, allocations: 11.94 kB / 0.6685 GB, free: 1.543 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.312e-06/0.1524, allocations: 0 / 0.6685 GB, free: 1.543 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.1524, allocations: 336 / 0.6685 GB, free: 1.543 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001104/0.1525, allocations: 81.11 kB / 0.6686 GB, free: 1.445 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 5.89e-05/0.1525, allocations: 81.09 kB / 0.6686 GB, free: 1.348 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.248e-05/0.1526, allocations: 11.94 kB / 0.6686 GB, free: 1.336 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.943e-05/0.1526, allocations: 0 / 0.6686 GB, free: 1.336 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.593e-05/0.1526, allocations: 0 / 0.6686 GB, free: 1.336 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.412e-06/0.1527, allocations: 4 kB / 0.6686 GB, free: 1.332 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 3.706e-05/0.1527, allocations: 75.28 kB / 0.6687 GB, free: 1.258 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.2e-07/0.1527, allocations: 0 / 0.6687 GB, free: 1.258 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0001816/0.1529, allocations: 8 kB / 0.6687 GB, free: 1.25 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.0001085/0.153, allocations: 104.5 kB / 0.6688 GB, free: 1.137 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0001/0.1531, allocations: 24.09 kB / 0.6688 GB, free: 1.113 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.944e-06/0.1531, allocations: 7.875 kB / 0.6689 GB, free: 1.105 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 2.426e-05/0.1531, allocations: 15.98 kB / 0.6689 GB, free: 1.09 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002105/0.1534, allocations: 15.98 kB / 0.6689 GB, free: 1.074 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003678/0.1537, allocations: 134.4 kB / 0.669 GB, free: 0.918 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002743/0.154, allocations: 0.6836 MB / 0.6697 GB, free: 216 kB / 0.4981 GB Notification: Performance of simCode: alias equations: time 4.15e-05/0.1541, allocations: 0 / 0.6697 GB, free: 216 kB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.752e-05/0.1541, allocations: 11.44 kB / 0.6697 GB, free: 204 kB / 0.4981 GB Notification: Performance of SimCode: time 2.21e-07/0.1541, allocations: 0 / 0.6697 GB, free: 204 kB / 0.4981 GB Notification: Performance of Templates: time 0.002524/0.1566, allocations: 0.5087 MB / 0.6702 GB, free: 15.7 MB / 0.5137 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)