Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_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/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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_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_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.001326/0.001326, allocations: 108 kB / 15.6 MB, free: 132 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.001521/0.001521, allocations: 193.8 kB / 16.53 MB, free: 6.391 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.349/1.349, allocations: 222.9 MB / 240.2 MB, free: 4.395 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7432/0.7432, allocations: 132.2 MB / 422.6 MB, free: 1.758 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001229/0.001229, allocations: 64.19 kB / 0.5018 GB, free: 3.836 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4296/0.4309, allocations: 80.2 MB / 0.5801 GB, free: 4.539 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Psychrometrics.Functions.Examples.pW_X): time 0.002803/0.4337, allocations: 1.247 MB / 0.5813 GB, free: 3.664 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005994/0.4344, allocations: 295.6 kB / 0.5816 GB, free: 3.465 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.734e-05/0.4344, allocations: 3.938 kB / 0.5816 GB, free: 3.461 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 1.45e-05/0.4344, allocations: 4.75 kB / 0.5816 GB, free: 3.457 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 4.7e-05/0.4345, allocations: 6.438 kB / 0.5816 GB, free: 3.453 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003225/0.4348, allocations: 50.91 kB / 0.5817 GB, free: 3.426 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 8.224e-05/0.4349, allocations: 19.23 kB / 0.5817 GB, free: 3.418 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.38e-05/0.435, allocations: 1.891 kB / 0.5817 GB, free: 3.418 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.595e-05/0.435, allocations: 8.953 kB / 0.5817 GB, free: 3.414 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.377e-05/0.4351, allocations: 13.19 kB / 0.5817 GB, free: 3.406 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 1.105e-05/0.4351, allocations: 3.938 kB / 0.5817 GB, free: 3.402 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001657/0.4353, allocations: 58.67 kB / 0.5818 GB, free: 3.387 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 1.205e-05/0.4353, allocations: 1.516 kB / 0.5818 GB, free: 3.387 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 3.469e-05/0.4353, allocations: 8.203 kB / 0.5818 GB, free: 3.383 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001564/0.4355, allocations: 50.89 kB / 0.5818 GB, free: 3.367 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.3e-06/0.4355, allocations: 0.6875 kB / 0.5818 GB, free: 3.367 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.222e-06/0.4355, allocations: 0 / 0.5818 GB, free: 3.367 MB / 430.1 MB Notification: Performance of Transformations before backend: time 5.501e-06/0.4355, allocations: 0 / 0.5818 GB, free: 3.367 MB / 430.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.0003563/0.4359, allocations: 336.2 kB / 0.5821 GB, free: 3.004 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.517e-05/0.4359, allocations: 10 kB / 0.5821 GB, free: 3.004 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002372/0.4362, allocations: 25.33 kB / 0.5822 GB, free: 2.996 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.464e-05/0.4363, allocations: 161.8 kB / 0.5823 GB, free: 2.801 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.082e-05/0.4363, allocations: 1.5 kB / 0.5823 GB, free: 2.801 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.428e-05/0.4363, allocations: 2.781 kB / 0.5823 GB, free: 2.801 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000127/0.4364, allocations: 49.33 kB / 0.5824 GB, free: 2.758 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.005e-06/0.4364, allocations: 4.125 kB / 0.5824 GB, free: 2.754 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.243e-05/0.4365, allocations: 5.062 kB / 0.5824 GB, free: 2.75 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.352e-06/0.4365, allocations: 0 / 0.5824 GB, free: 2.75 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.721e-05/0.4365, allocations: 19.95 kB / 0.5824 GB, free: 2.742 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001362/0.4367, allocations: 157.8 kB / 0.5826 GB, free: 2.547 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001879/0.4386, allocations: 265.2 kB / 0.5828 GB, free: 2.508 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.525e-05/0.4386, allocations: 22.95 kB / 0.5828 GB, free: 2.492 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.208e-05/0.4386, allocations: 6.312 kB / 0.5828 GB, free: 2.488 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.816e-05/0.4387, allocations: 31.31 kB / 0.5829 GB, free: 2.449 MB / 430.1 MB Notification: Performance of pre-optimization done (n=4): time 1.252e-06/0.4387, allocations: 0 / 0.5829 GB, free: 2.449 MB / 430.1 MB Notification: Performance of matching and sorting (n=4): time 0.0001759/0.4388, allocations: 65.62 kB / 0.5829 GB, free: 2.402 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.403e-05/0.4389, allocations: 52.83 kB / 0.583 GB, free: 2.34 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.535e-05/0.4389, allocations: 96.27 kB / 0.5831 GB, free: 2.238 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 9.187e-06/0.439, allocations: 25.7 kB / 0.5831 GB, free: 2.207 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.327e-05/0.439, allocations: 80.14 kB / 0.5832 GB, free: 2.125 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.809e-05/0.439, allocations: 19.42 kB / 0.5832 GB, free: 2.109 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.235e-05/0.439, allocations: 17.81 kB / 0.5832 GB, free: 2.09 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 5.754e-05/0.4391, allocations: 317.1 kB / 0.5835 GB, free: 1.773 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.114e-05/0.4391, allocations: 8.391 kB / 0.5835 GB, free: 1.77 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.908e-05/0.4392, allocations: 11.41 kB / 0.5835 GB, free: 1.766 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.46e-05/0.4392, allocations: 28.31 kB / 0.5836 GB, free: 1.746 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.413e-06/0.4392, allocations: 5.156 kB / 0.5836 GB, free: 1.742 MB / 430.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 8.865e-05/0.4393, allocations: 51.3 kB / 0.5836 GB, free: 1.703 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.487e-05/0.4393, allocations: 5.625 kB / 0.5836 GB, free: 1.703 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.933e-06/0.4393, allocations: 4.453 kB / 0.5836 GB, free: 1.699 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.574e-05/0.4394, allocations: 1.094 kB / 0.5836 GB, free: 1.699 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.821e-05/0.4394, allocations: 6.422 kB / 0.5836 GB, free: 1.699 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.935e-06/0.4394, allocations: 8.438 kB / 0.5836 GB, free: 1.691 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.939e-05/0.4395, allocations: 4.812 kB / 0.5836 GB, free: 1.688 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.33e-06/0.4395, allocations: 1.812 kB / 0.5836 GB, free: 1.688 MB / 430.1 MB 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 5.741e-05/0.4395, allocations: 117.8 kB / 0.5838 GB, free: 1.566 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.101e-05/0.4396, allocations: 1.219 kB / 0.5838 GB, free: 1.566 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.153e-05/0.4396, allocations: 12 kB / 0.5838 GB, free: 1.551 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.427e-06/0.4396, allocations: 1.734 kB / 0.5838 GB, free: 1.551 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.628e-06/0.4396, allocations: 5.281 kB / 0.5838 GB, free: 1.547 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.917e-06/0.4396, allocations: 0.6094 kB / 0.5838 GB, free: 1.547 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.841e-05/0.4397, allocations: 161.9 kB / 0.5839 GB, free: 1.348 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.032e-06/0.4397, allocations: 0 / 0.5839 GB, free: 1.348 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.637e-05/0.4398, allocations: 6.344 kB / 0.5839 GB, free: 1.348 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.543e-06/0.4398, allocations: 0.75 kB / 0.5839 GB, free: 1.348 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.975e-06/0.4398, allocations: 8.844 kB / 0.5839 GB, free: 1.34 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.485e-06/0.4398, allocations: 1.156 kB / 0.5839 GB, free: 1.34 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.12e-07/0.4398, allocations: 0 / 0.5839 GB, free: 1.34 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.562e-05/0.4399, allocations: 81.92 kB / 0.584 GB, free: 1.262 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.734e-05/0.44, allocations: 81.2 kB / 0.5841 GB, free: 1.168 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.422e-05/0.44, allocations: 6.375 kB / 0.5841 GB, free: 1.164 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.078e-05/0.44, allocations: 0 / 0.5841 GB, free: 1.164 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.12e-05/0.4401, allocations: 2.859 kB / 0.5841 GB, free: 1.164 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.312e-06/0.4401, allocations: 4.75 kB / 0.5841 GB, free: 1.16 MB / 430.1 MB Notification: Performance of sorting global known variables: time 2.119e-05/0.4401, allocations: 77.81 kB / 0.5842 GB, free: 1.086 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.4401, allocations: 0 / 0.5842 GB, free: 1.086 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0001801/0.4403, allocations: 9.438 kB / 0.5842 GB, free: 1.082 MB / 430.1 MB 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.0001079/0.4404, allocations: 97.62 kB / 0.5843 GB, free: 0.9961 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.000118/0.4405, allocations: 24.92 kB / 0.5843 GB, free: 0.9883 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.735e-06/0.4405, allocations: 0 / 0.5843 GB, free: 0.9883 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 2.642e-05/0.4406, allocations: 18.19 kB / 0.5843 GB, free: 0.9805 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000278/0.4409, allocations: 11.92 kB / 0.5843 GB, free: 0.9766 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003257/0.4412, allocations: 128.9 kB / 0.5845 GB, free: 0.8594 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001202/0.4413, allocations: 0.6748 MB / 0.5851 GB, free: 168 kB / 430.1 MB Notification: Performance of simCode: alias equations: time 4.727e-05/0.4414, allocations: 6.312 kB / 0.5851 GB, free: 164 kB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.558e-05/0.4414, allocations: 8.719 kB / 0.5851 GB, free: 156 kB / 430.1 MB Notification: Performance of SimCode: time 2.4e-07/0.4414, allocations: 0 / 0.5851 GB, free: 156 kB / 430.1 MB Notification: Performance of Templates: time 0.002817/0.4442, allocations: 0.5148 MB / 0.5856 GB, free: 88 kB / 430.1 MB make -j1 -f IDEAS_IDEAS.Utilities.Psychrometrics.Functions.Examples.pW_X.makefile (rm -f IDEAS_IDEAS.Utilities.Psychrometrics.Functions.Examples.pW_X.pipe ; mkfifo IDEAS_IDEAS.Utilities.Psychrometrics.Functions.Examples.pW_X.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.Psychrometrics.Functions.Examples.pW_X.pipe >> ../files/IDEAS_IDEAS.Utilities.Psychrometrics.Functions.Examples.pW_X.sim & ./IDEAS_IDEAS.Utilities.Psychrometrics.Functions.Examples.pW_X -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Utilities.Psychrometrics.Functions.Examples.pW_X.pipe 2>&1)