Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi.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_TDewPoi,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi") translateModel(IDEAS.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001048/0.001048, allocations: 108.8 kB / 16.41 MB, free: 6.438 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.001075/0.001075, allocations: 189.5 kB / 17.34 MB, free: 5.707 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.168/1.168, allocations: 222.9 MB / 241 MB, free: 15.08 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7121/0.7121, allocations: 135.1 MB / 426.3 MB, free: 4.09 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001105/0.001105, allocations: 64.05 kB / 0.5863 GB, free: 21.48 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1285/0.1296, allocations: 80.93 MB / 0.6653 GB, free: 5.789 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi): time 0.002729/0.1324, allocations: 1.269 MB / 0.6665 GB, free: 4.512 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.001295/0.1337, allocations: 0.8655 MB / 0.6674 GB, free: 3.641 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.559e-05/0.1338, allocations: 0 / 0.6674 GB, free: 3.641 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 1.578e-05/0.1338, allocations: 4 kB / 0.6674 GB, free: 3.637 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 4.399e-05/0.1339, allocations: 7.922 kB / 0.6674 GB, free: 3.629 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.000645/0.1345, allocations: 194.8 kB / 0.6676 GB, free: 3.441 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 6.104e-05/0.1346, allocations: 23.92 kB / 0.6676 GB, free: 3.418 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 3.426e-05/0.1346, allocations: 4 kB / 0.6676 GB, free: 3.414 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 3.431e-05/0.1347, allocations: 7.938 kB / 0.6676 GB, free: 3.406 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 4.65e-05/0.1347, allocations: 11.98 kB / 0.6676 GB, free: 3.395 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 8.396e-06/0.1347, allocations: 0 / 0.6676 GB, free: 3.395 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000368/0.1351, allocations: 231.7 kB / 0.6678 GB, free: 3.168 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.225e-05/0.1351, allocations: 3.984 kB / 0.6678 GB, free: 3.164 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 2.38e-05/0.1352, allocations: 11.94 kB / 0.6679 GB, free: 3.152 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0002637/0.1354, allocations: 147.7 kB / 0.668 GB, free: 3.008 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 5.249e-06/0.1354, allocations: 0 / 0.668 GB, free: 3.008 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.312e-06/0.1354, allocations: 7.938 kB / 0.668 GB, free: 3 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 4.989e-06/0.1355, allocations: 0 / 0.668 GB, free: 3 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.0003957/0.1359, allocations: 363.5 kB / 0.6684 GB, free: 2.598 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.471e-05/0.1359, allocations: 13.11 kB / 0.6684 GB, free: 2.586 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001692/0.1361, allocations: 8.922 kB / 0.6684 GB, free: 2.578 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000102/0.1362, allocations: 164.4 kB / 0.6685 GB, free: 2.379 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.104e-05/0.1362, allocations: 384 / 0.6685 GB, free: 2.379 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.551e-05/0.1362, allocations: 8.125 kB / 0.6685 GB, free: 2.371 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001047/0.1363, allocations: 37.69 kB / 0.6686 GB, free: 2.328 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.783e-06/0.1363, allocations: 4 kB / 0.6686 GB, free: 2.324 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.05e-05/0.1364, allocations: 4 kB / 0.6686 GB, free: 2.32 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.957e-06/0.1364, allocations: 0 / 0.6686 GB, free: 2.32 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.516e-05/0.1364, allocations: 19.92 kB / 0.6686 GB, free: 2.301 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001485/0.1366, allocations: 157.7 kB / 0.6688 GB, free: 2.098 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008846/0.1375, allocations: 134.5 kB / 0.6689 GB, free: 1.957 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.911e-05/0.1375, allocations: 24.78 kB / 0.6689 GB, free: 1.93 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001082/0.1376, allocations: 85.09 kB / 0.669 GB, free: 1.828 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.182e-05/0.1377, allocations: 38.56 kB / 0.669 GB, free: 1.781 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=4): time 1.102e-06/0.1377, allocations: 0 / 0.669 GB, free: 1.781 MB / 0.4981 GB Notification: Performance of matching and sorting (n=4): time 0.0001699/0.1378, allocations: 65.53 kB / 0.6691 GB, free: 1.711 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.458e-05/0.1379, allocations: 51.41 kB / 0.6691 GB, free: 1.648 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.249e-05/0.138, allocations: 93.86 kB / 0.6692 GB, free: 1.547 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.477e-05/0.138, allocations: 25.7 kB / 0.6692 GB, free: 1.516 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 2.326e-05/0.138, allocations: 84.14 kB / 0.6693 GB, free: 1.43 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.843e-05/0.138, allocations: 15.83 kB / 0.6693 GB, free: 1.414 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.354e-05/0.1381, allocations: 17.72 kB / 0.6694 GB, free: 1.391 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001328/0.1382, allocations: 314.8 kB / 0.6697 GB, free: 1.074 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.157e-05/0.1382, allocations: 7.984 kB / 0.6697 GB, free: 1.066 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.626e-05/0.1383, allocations: 12.12 kB / 0.6697 GB, free: 1.055 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.821e-05/0.1383, allocations: 24.86 kB / 0.6697 GB, free: 1.027 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.523e-06/0.1383, allocations: 3.938 kB / 0.6697 GB, free: 1.023 MB / 0.4981 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.226e-05/0.1384, allocations: 61.53 kB / 0.6698 GB, free: 0.957 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.117e-05/0.1384, allocations: 4 kB / 0.6698 GB, free: 0.9531 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.402e-06/0.1384, allocations: 11.98 kB / 0.6698 GB, free: 0.9414 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.124e-05/0.1385, allocations: 0 / 0.6698 GB, free: 0.9414 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.543e-05/0.1385, allocations: 4 kB / 0.6698 GB, free: 0.9375 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.438e-06/0.1385, allocations: 0 / 0.6698 GB, free: 0.9375 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.075e-05/0.1386, allocations: 4 kB / 0.6698 GB, free: 0.9336 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.851e-06/0.1386, allocations: 4 kB / 0.6698 GB, free: 0.9297 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.42e-05/0.1386, allocations: 111.2 kB / 0.6699 GB, free: 0.8125 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.317e-05/0.1387, allocations: 7.938 kB / 0.6699 GB, free: 0.8047 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00022/0.1389, allocations: 81.03 kB / 0.67 GB, free: 0.7109 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.854e-06/0.1389, allocations: 4 kB / 0.67 GB, free: 0.707 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.497e-06/0.1389, allocations: 0 / 0.67 GB, free: 0.707 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.675e-06/0.1389, allocations: 0 / 0.67 GB, free: 0.707 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001438/0.1391, allocations: 165.6 kB / 0.6701 GB, free: 0.4961 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.493e-06/0.1391, allocations: 0 / 0.6701 GB, free: 0.4961 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.116e-05/0.1391, allocations: 8 kB / 0.6702 GB, free: 500 kB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.244e-06/0.1391, allocations: 0 / 0.6702 GB, free: 500 kB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.943e-06/0.1392, allocations: 0 / 0.6702 GB, free: 500 kB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.292e-06/0.1392, allocations: 0 / 0.6702 GB, free: 500 kB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.62e-07/0.1392, allocations: 0 / 0.6702 GB, free: 500 kB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001366/0.1393, allocations: 97 kB / 0.6702 GB, free: 384 kB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 4.747e-05/0.1394, allocations: 85 kB / 0.6703 GB, free: 280 kB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.14e-05/0.1394, allocations: 0 / 0.6703 GB, free: 280 kB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.033e-05/0.1394, allocations: 8 kB / 0.6703 GB, free: 272 kB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.261e-05/0.1394, allocations: 0 / 0.6703 GB, free: 272 kB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.99e-06/0.1395, allocations: 0 / 0.6703 GB, free: 272 kB / 0.4981 GB Notification: Performance of sorting global known variables: time 2.993e-05/0.1395, allocations: 83.27 kB / 0.6704 GB, free: 188 kB / 0.4981 GB Notification: Performance of sort global known variables: time 1.1e-07/0.1395, allocations: 96 / 0.6704 GB, free: 188 kB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002399/0.1398, allocations: 48 kB / 0.6705 GB, free: 140 kB / 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 (5): * Single equations (assignments): 5 * 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.0003325/0.1401, allocations: 179.2 kB / 0.6706 GB, free: 15.95 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 9.646e-05/0.1402, allocations: 27.94 kB / 0.6707 GB, free: 15.93 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.264e-06/0.1402, allocations: 3.938 kB / 0.6707 GB, free: 15.93 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 2.619e-05/0.1403, allocations: 12 kB / 0.6707 GB, free: 15.91 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001577/0.1404, allocations: 19.86 kB / 0.6707 GB, free: 15.89 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003217/0.1407, allocations: 152.3 kB / 0.6708 GB, free: 15.71 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002881/0.141, allocations: 0.6768 MB / 0.6715 GB, free: 15.01 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.877e-05/0.1411, allocations: 11.44 kB / 0.6715 GB, free: 15 MB / 0.5137 GB Notification: Performance of SimCode: time 3.4e-07/0.1411, allocations: 3.938 kB / 0.6715 GB, free: 15 MB / 0.5137 GB Notification: Performance of Templates: time 0.002337/0.1434, allocations: 1.044 MB / 0.6725 GB, free: 13.96 MB / 0.5137 GB make -j1 -f IDEAS_dev_IDEAS.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi.makefile (rm -f IDEAS_dev_IDEAS.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi.sim & ./IDEAS_dev_IDEAS.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi.pipe 2>&1)