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.009869/0.009869, allocations: 101.8 kB / 15.73 MB, free: 6.043 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.002299/0.002299, allocations: 184.9 kB / 16.67 MB, free: 5.977 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.396/1.396, allocations: 222.9 MB / 240.4 MB, free: 4.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.985/0.985, allocations: 135.1 MB / 425.7 MB, free: 12.01 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001181/0.001181, allocations: 59.91 kB / 0.5856 GB, free: 3.363 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4104/0.4116, allocations: 80.91 MB / 0.6646 GB, free: 7.586 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Psychrometrics.Functions.Examples.pW_X): time 0.001899/0.4135, allocations: 1.263 MB / 0.6659 GB, free: 6.586 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0004792/0.414, allocations: 293.4 kB / 0.6662 GB, free: 6.363 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.327e-05/0.414, allocations: 4 kB / 0.6662 GB, free: 6.359 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 2.166e-05/0.4141, allocations: 0 / 0.6662 GB, free: 6.359 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 3.894e-05/0.4141, allocations: 9.375 kB / 0.6662 GB, free: 6.352 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002648/0.4144, allocations: 44.12 kB / 0.6662 GB, free: 6.32 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 6.013e-05/0.4144, allocations: 21.2 kB / 0.6662 GB, free: 6.309 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 3.969e-05/0.4145, allocations: 9.266 kB / 0.6662 GB, free: 6.301 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 3.396e-05/0.4145, allocations: 3.938 kB / 0.6662 GB, free: 6.301 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 4.59e-05/0.4146, allocations: 3.75 kB / 0.6662 GB, free: 6.301 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.169e-05/0.4146, allocations: 7.938 kB / 0.6663 GB, free: 6.293 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001187/0.4147, allocations: 56.92 kB / 0.6663 GB, free: 6.266 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.243e-05/0.4147, allocations: 9.453 kB / 0.6663 GB, free: 6.258 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 2.32e-05/0.4148, allocations: 3.781 kB / 0.6663 GB, free: 6.258 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001323/0.4149, allocations: 52.2 kB / 0.6664 GB, free: 6.234 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.787e-06/0.4149, allocations: 0 / 0.6664 GB, free: 6.234 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.623e-06/0.4149, allocations: 0 / 0.6664 GB, free: 6.234 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 4.148e-06/0.4149, allocations: 1.344 kB / 0.6664 GB, free: 6.234 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.0002829/0.4152, allocations: 334.2 kB / 0.6667 GB, free: 5.871 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.326e-05/0.4153, allocations: 9.594 kB / 0.6667 GB, free: 5.871 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000213/0.4155, allocations: 24.62 kB / 0.6667 GB, free: 5.859 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.954e-05/0.4155, allocations: 160.4 kB / 0.6669 GB, free: 5.664 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.594e-06/0.4156, allocations: 1.5 kB / 0.6669 GB, free: 5.664 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.091e-05/0.4156, allocations: 5.688 kB / 0.6669 GB, free: 5.66 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001038/0.4157, allocations: 45.03 kB / 0.6669 GB, free: 5.617 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.973e-06/0.4157, allocations: 5.219 kB / 0.6669 GB, free: 5.613 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.034e-05/0.4157, allocations: 3.938 kB / 0.6669 GB, free: 5.609 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.23e-06/0.4157, allocations: 1.406 kB / 0.6669 GB, free: 5.609 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.921e-05/0.4158, allocations: 19.73 kB / 0.667 GB, free: 5.598 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001143/0.4159, allocations: 154.7 kB / 0.6671 GB, free: 5.402 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001861/0.4178, allocations: 269.2 kB / 0.6674 GB, free: 5.301 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.933e-05/0.4178, allocations: 20.95 kB / 0.6674 GB, free: 5.285 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 8.196e-06/0.4178, allocations: 1.625 kB / 0.6674 GB, free: 5.285 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.337e-05/0.4178, allocations: 30.56 kB / 0.6674 GB, free: 5.246 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=4): time 1.162e-06/0.4178, allocations: 3.938 kB / 0.6674 GB, free: 5.242 MB / 0.4981 GB Notification: Performance of matching and sorting (n=4): time 0.0001485/0.418, allocations: 69.14 kB / 0.6675 GB, free: 5.188 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.163e-05/0.418, allocations: 53.62 kB / 0.6675 GB, free: 5.125 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.848e-05/0.4181, allocations: 97.86 kB / 0.6676 GB, free: 5.02 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 9.137e-06/0.4181, allocations: 26.89 kB / 0.6676 GB, free: 4.988 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 1.108e-05/0.4181, allocations: 80.14 kB / 0.6677 GB, free: 4.906 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.693e-05/0.4181, allocations: 14.44 kB / 0.6677 GB, free: 4.895 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.954e-05/0.4182, allocations: 16.16 kB / 0.6678 GB, free: 4.875 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 4.06e-05/0.4182, allocations: 316.1 kB / 0.6681 GB, free: 4.559 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.138e-05/0.4182, allocations: 11.81 kB / 0.6681 GB, free: 4.551 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.585e-05/0.4183, allocations: 5.469 kB / 0.6681 GB, free: 4.551 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.408e-05/0.4183, allocations: 36.34 kB / 0.6681 GB, free: 4.523 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.244e-06/0.4183, allocations: 3.984 kB / 0.6681 GB, free: 4.52 MB / 0.4981 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.316e-05/0.4184, allocations: 49.17 kB / 0.6682 GB, free: 4.48 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.305e-05/0.4184, allocations: 5.688 kB / 0.6682 GB, free: 4.48 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.618e-06/0.4184, allocations: 3.938 kB / 0.6682 GB, free: 4.477 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.702e-05/0.4184, allocations: 0 / 0.6682 GB, free: 4.477 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.06e-05/0.4185, allocations: 9.547 kB / 0.6682 GB, free: 4.473 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.372e-06/0.4185, allocations: 5.031 kB / 0.6682 GB, free: 4.469 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.176e-05/0.4186, allocations: 4.969 kB / 0.6682 GB, free: 4.465 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.708e-06/0.4186, allocations: 1.125 kB / 0.6682 GB, free: 4.465 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 4.332e-05/0.4186, allocations: 110.9 kB / 0.6683 GB, free: 4.348 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.008e-05/0.4186, allocations: 1.062 kB / 0.6683 GB, free: 4.348 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.805e-05/0.4187, allocations: 12.75 kB / 0.6683 GB, free: 4.328 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.455e-06/0.4187, allocations: 4 kB / 0.6683 GB, free: 4.324 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.497e-06/0.4187, allocations: 1.281 kB / 0.6683 GB, free: 4.324 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.825e-06/0.4187, allocations: 0 / 0.6683 GB, free: 4.324 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.476e-05/0.4188, allocations: 159.1 kB / 0.6685 GB, free: 4.125 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.152e-06/0.4188, allocations: 0 / 0.6685 GB, free: 4.125 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.88e-05/0.4188, allocations: 13.11 kB / 0.6685 GB, free: 4.117 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.795e-06/0.4188, allocations: 4 kB / 0.6685 GB, free: 4.113 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.454e-06/0.4189, allocations: 5.531 kB / 0.6685 GB, free: 4.109 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.282e-06/0.4189, allocations: 0 / 0.6685 GB, free: 4.109 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.583e-06/0.4189, allocations: 3.938 kB / 0.6685 GB, free: 4.105 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.165e-05/0.4189, allocations: 81.97 kB / 0.6686 GB, free: 4.023 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 3.944e-05/0.419, allocations: 78.55 kB / 0.6686 GB, free: 3.93 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.279e-05/0.419, allocations: 5.312 kB / 0.6686 GB, free: 3.926 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.55e-05/0.4191, allocations: 9.453 kB / 0.6687 GB, free: 3.918 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.851e-05/0.4191, allocations: 5.469 kB / 0.6687 GB, free: 3.914 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.759e-06/0.4191, allocations: 1.062 kB / 0.6687 GB, free: 3.914 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 1.665e-05/0.4191, allocations: 76.41 kB / 0.6687 GB, free: 3.84 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.2e-07/0.4191, allocations: 0 / 0.6687 GB, free: 3.84 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0001999/0.4193, allocations: 5.406 kB / 0.6687 GB, free: 3.84 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.565e-05/0.4194, allocations: 96.95 kB / 0.6688 GB, free: 3.75 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 9.148e-05/0.4195, allocations: 26.45 kB / 0.6689 GB, free: 3.738 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.455e-06/0.4195, allocations: 5.5 kB / 0.6689 GB, free: 3.734 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 2.176e-05/0.4196, allocations: 15.69 kB / 0.6689 GB, free: 3.727 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002636/0.4198, allocations: 14.38 kB / 0.6689 GB, free: 3.723 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002867/0.4201, allocations: 131.2 kB / 0.669 GB, free: 3.598 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.393e-05/0.4202, allocations: 0.6731 MB / 0.6697 GB, free: 2.902 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 4.276e-05/0.4203, allocations: 9.328 kB / 0.6697 GB, free: 2.895 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.408e-05/0.4203, allocations: 8.656 kB / 0.6697 GB, free: 2.887 MB / 0.4981 GB Notification: Performance of SimCode: time 2.21e-07/0.4203, allocations: 0 / 0.6697 GB, free: 2.887 MB / 0.4981 GB Notification: Performance of Templates: time 0.002338/0.4227, allocations: 0.514 MB / 0.6702 GB, free: 2.613 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)