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.001019/0.001019, allocations: 110.1 kB / 16.41 MB, free: 6.496 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.001089/0.001089, allocations: 185.5 kB / 17.34 MB, free: 5.762 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.193/1.193, allocations: 222.9 MB / 241 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7234/0.7234, allocations: 135.1 MB / 426.3 MB, free: 4.105 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001088/0.001088, allocations: 63.27 kB / 0.5863 GB, free: 21.61 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1211/0.1222, allocations: 80.92 MB / 0.6653 GB, free: 5.941 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Psychrometrics.Functions.Examples.pW_X): time 0.002064/0.1243, allocations: 1.257 MB / 0.6665 GB, free: 4.676 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0004914/0.1248, allocations: 299.4 kB / 0.6668 GB, free: 4.383 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.944e-05/0.1249, allocations: 0 / 0.6668 GB, free: 4.383 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 1.64e-05/0.1249, allocations: 0 / 0.6668 GB, free: 4.383 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 4.137e-05/0.1249, allocations: 7.938 kB / 0.6668 GB, free: 4.375 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002611/0.1252, allocations: 51.73 kB / 0.6669 GB, free: 4.324 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 5.605e-05/0.1253, allocations: 15.94 kB / 0.6669 GB, free: 4.309 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 3.319e-05/0.1253, allocations: 0 / 0.6669 GB, free: 4.309 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 3.36e-05/0.1253, allocations: 15.92 kB / 0.6669 GB, free: 4.293 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 4.008e-05/0.1254, allocations: 4 kB / 0.6669 GB, free: 4.289 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.114e-05/0.1254, allocations: 4 kB / 0.6669 GB, free: 4.285 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001161/0.1255, allocations: 51.95 kB / 0.667 GB, free: 4.234 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.774e-05/0.1255, allocations: 11.92 kB / 0.667 GB, free: 4.223 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 2.407e-05/0.1256, allocations: 11.92 kB / 0.667 GB, free: 4.211 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001173/0.1257, allocations: 51.78 kB / 0.667 GB, free: 4.16 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.366e-06/0.1257, allocations: 0 / 0.667 GB, free: 4.16 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.143e-06/0.1257, allocations: 0 / 0.667 GB, free: 4.16 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 4.489e-06/0.1257, allocations: 0 / 0.667 GB, free: 4.16 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.0003311/0.1261, allocations: 339.4 kB / 0.6673 GB, free: 3.777 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.209e-05/0.1261, allocations: 13.11 kB / 0.6674 GB, free: 3.766 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002171/0.1263, allocations: 16.91 kB / 0.6674 GB, free: 3.75 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.642e-05/0.1264, allocations: 172.4 kB / 0.6675 GB, free: 3.543 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.656e-06/0.1264, allocations: 4.375 kB / 0.6675 GB, free: 3.539 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.234e-06/0.1264, allocations: 384 / 0.6675 GB, free: 3.539 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001016/0.1265, allocations: 42.25 kB / 0.6676 GB, free: 3.492 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.692e-06/0.1266, allocations: 192 / 0.6676 GB, free: 3.492 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.082e-05/0.1266, allocations: 3.938 kB / 0.6676 GB, free: 3.488 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.687e-06/0.1266, allocations: 0 / 0.6676 GB, free: 3.488 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.74e-05/0.1266, allocations: 23.92 kB / 0.6676 GB, free: 3.465 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001408/0.1268, allocations: 157.7 kB / 0.6678 GB, free: 3.262 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001848/0.1286, allocations: 262.4 kB / 0.668 GB, free: 2.996 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.969e-05/0.1287, allocations: 16.86 kB / 0.668 GB, free: 2.977 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.507e-05/0.1287, allocations: 7.984 kB / 0.668 GB, free: 2.969 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.921e-05/0.1287, allocations: 38.56 kB / 0.6681 GB, free: 2.922 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=4): time 1.232e-06/0.1287, allocations: 0 / 0.6681 GB, free: 2.922 MB / 0.4981 GB Notification: Performance of matching and sorting (n=4): time 0.0001433/0.1289, allocations: 65.56 kB / 0.6681 GB, free: 2.852 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.913e-05/0.1289, allocations: 51.41 kB / 0.6682 GB, free: 2.789 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.717e-05/0.129, allocations: 97.84 kB / 0.6683 GB, free: 2.684 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.37e-05/0.129, allocations: 29.7 kB / 0.6683 GB, free: 2.648 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 3.141e-05/0.129, allocations: 80.14 kB / 0.6684 GB, free: 2.566 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.395e-05/0.1291, allocations: 11.94 kB / 0.6684 GB, free: 2.555 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.097e-05/0.1291, allocations: 17.72 kB / 0.6684 GB, free: 2.531 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 8.973e-05/0.1292, allocations: 310.8 kB / 0.6687 GB, free: 2.219 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.159e-05/0.1292, allocations: 11.98 kB / 0.6687 GB, free: 2.207 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.655e-05/0.1293, allocations: 8 kB / 0.6687 GB, free: 2.199 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.351e-05/0.1293, allocations: 28.8 kB / 0.6688 GB, free: 2.168 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.443e-06/0.1293, allocations: 0 / 0.6688 GB, free: 2.168 MB / 0.4981 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.435e-05/0.1294, allocations: 57.62 kB / 0.6688 GB, free: 2.105 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.114e-05/0.1294, allocations: 4 kB / 0.6688 GB, free: 2.102 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.953e-06/0.1294, allocations: 15.94 kB / 0.6688 GB, free: 2.086 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.06e-05/0.1294, allocations: 0 / 0.6688 GB, free: 2.086 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.795e-05/0.1295, allocations: 7.984 kB / 0.6688 GB, free: 2.078 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.228e-06/0.1295, allocations: 0 / 0.6688 GB, free: 2.078 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.953e-05/0.1295, allocations: 3.906 kB / 0.6688 GB, free: 2.074 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.959e-06/0.1296, allocations: 7.938 kB / 0.6688 GB, free: 2.066 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 6.105e-05/0.1296, allocations: 113.8 kB / 0.669 GB, free: 1.945 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.207e-06/0.1296, allocations: 0 / 0.669 GB, free: 1.945 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.909e-05/0.1297, allocations: 15.44 kB / 0.669 GB, free: 1.922 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.362e-06/0.1297, allocations: 4 kB / 0.669 GB, free: 1.918 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.176e-06/0.1297, allocations: 0 / 0.669 GB, free: 1.918 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.853e-06/0.1297, allocations: 0 / 0.669 GB, free: 1.918 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.595e-05/0.1298, allocations: 153.7 kB / 0.6691 GB, free: 1.719 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.72e-07/0.1298, allocations: 0 / 0.6691 GB, free: 1.719 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.747e-05/0.1298, allocations: 11.94 kB / 0.6691 GB, free: 1.707 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.795e-06/0.1299, allocations: 3.984 kB / 0.6691 GB, free: 1.703 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.642e-06/0.1299, allocations: 3.938 kB / 0.6691 GB, free: 1.699 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.242e-06/0.1299, allocations: 0 / 0.6691 GB, free: 1.699 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.11e-07/0.1299, allocations: 0 / 0.6691 GB, free: 1.699 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.978e-05/0.13, allocations: 77.12 kB / 0.6692 GB, free: 1.605 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 5.124e-05/0.13, allocations: 85.11 kB / 0.6693 GB, free: 1.504 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.076e-05/0.1301, allocations: 3.938 kB / 0.6693 GB, free: 1.5 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.151e-05/0.1301, allocations: 0 / 0.6693 GB, free: 1.5 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.448e-05/0.1301, allocations: 7.984 kB / 0.6693 GB, free: 1.492 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.807e-06/0.1301, allocations: 384 / 0.6693 GB, free: 1.492 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 2.521e-05/0.1302, allocations: 75.28 kB / 0.6694 GB, free: 1.418 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.71e-07/0.1302, allocations: 0 / 0.6694 GB, free: 1.418 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.000173/0.1303, allocations: 12.09 kB / 0.6694 GB, free: 1.406 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 9.12e-05/0.1304, allocations: 104.5 kB / 0.6695 GB, free: 1.293 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 8.596e-05/0.1305, allocations: 19.98 kB / 0.6695 GB, free: 1.273 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.923e-06/0.1305, allocations: 3.938 kB / 0.6695 GB, free: 1.27 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 2.153e-05/0.1306, allocations: 20.08 kB / 0.6695 GB, free: 1.25 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000201/0.1308, allocations: 11.98 kB / 0.6695 GB, free: 1.238 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002874/0.1311, allocations: 160.1 kB / 0.6697 GB, free: 1.051 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002006/0.1313, allocations: 0.6729 MB / 0.6704 GB, free: 360 kB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.611e-05/0.1313, allocations: 7.438 kB / 0.6704 GB, free: 352 kB / 0.4981 GB Notification: Performance of SimCode: time 2e-07/0.1313, allocations: 0 / 0.6704 GB, free: 352 kB / 0.4981 GB Notification: Performance of Templates: time 0.001567/0.1329, allocations: 0.5308 MB / 0.6709 GB, free: 15.81 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)