Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Utilities.Psychrometrics.Examples.Phi_pTX.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.Examples.Phi_pTX,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Utilities.Psychrometrics.Examples.Phi_pTX") translateModel(IDEAS.Utilities.Psychrometrics.Examples.Phi_pTX,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Utilities.Psychrometrics.Examples.Phi_pTX") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001222/0.001222, allocations: 104.9 kB / 16.27 MB, free: 6.414 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.001447/0.001447, allocations: 189.8 kB / 17.2 MB, free: 5.953 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.374/1.374, allocations: 222.9 MB / 240.9 MB, free: 15.28 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8058/0.8058, allocations: 132.2 MB / 423.2 MB, free: 6.668 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001496/0.001496, allocations: 63.91 kB / 0.5024 GB, free: 11.68 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3847/0.3863, allocations: 80.18 MB / 0.5807 GB, free: 27.25 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Psychrometrics.Examples.Phi_pTX): time 0.002348/0.3886, allocations: 1.475 MB / 0.5822 GB, free: 26.11 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.001001/0.3897, allocations: 0.8126 MB / 0.583 GB, free: 25.47 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.471e-05/0.3897, allocations: 0 / 0.583 GB, free: 25.47 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 2.529e-05/0.3898, allocations: 5.688 kB / 0.583 GB, free: 25.46 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 4.933e-05/0.3898, allocations: 17.22 kB / 0.583 GB, free: 25.45 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003797/0.3902, allocations: 131.7 kB / 0.5831 GB, free: 25.36 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 6.913e-05/0.3903, allocations: 53.95 kB / 0.5832 GB, free: 25.32 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.219e-05/0.3904, allocations: 17.83 kB / 0.5832 GB, free: 25.32 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.978e-05/0.3904, allocations: 10.72 kB / 0.5832 GB, free: 25.31 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.307e-05/0.3905, allocations: 34.55 kB / 0.5832 GB, free: 25.29 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.394e-05/0.3905, allocations: 5.062 kB / 0.5832 GB, free: 25.29 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002994/0.3908, allocations: 165.8 kB / 0.5834 GB, free: 25.21 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 1.277e-05/0.3908, allocations: 5.375 kB / 0.5834 GB, free: 25.2 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 3.115e-05/0.3909, allocations: 30.09 kB / 0.5834 GB, free: 25.18 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002261/0.3911, allocations: 149.1 kB / 0.5836 GB, free: 25.09 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.066e-06/0.3911, allocations: 2.062 kB / 0.5836 GB, free: 25.09 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.182e-06/0.3911, allocations: 0 / 0.5836 GB, free: 25.09 MB / 446.1 MB Notification: Performance of Transformations before backend: time 3.937e-06/0.3911, allocations: 3.375 kB / 0.5836 GB, free: 25.09 MB / 446.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004336/0.3916, allocations: 397.7 kB / 0.5839 GB, free: 24.69 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.142e-05/0.3916, allocations: 9.188 kB / 0.584 GB, free: 24.69 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.11e-05/0.3916, allocations: 7.344 kB / 0.584 GB, free: 24.68 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.81e-05/0.3917, allocations: 175 kB / 0.5841 GB, free: 24.48 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.14e-05/0.3917, allocations: 1.625 kB / 0.5841 GB, free: 24.48 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.089e-05/0.3917, allocations: 3.438 kB / 0.5841 GB, free: 24.48 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002425/0.392, allocations: 83.19 kB / 0.5842 GB, free: 24.41 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.626e-06/0.392, allocations: 1.219 kB / 0.5842 GB, free: 24.41 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.119e-05/0.392, allocations: 7.922 kB / 0.5842 GB, free: 24.41 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.368e-06/0.392, allocations: 5.359 kB / 0.5842 GB, free: 24.4 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003062/0.3923, allocations: 68.03 kB / 0.5843 GB, free: 24.38 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002882/0.3926, allocations: 283.8 kB / 0.5846 GB, free: 24.07 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001936/0.3928, allocations: 59.75 kB / 0.5846 GB, free: 24.02 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001464/0.393, allocations: 37.45 kB / 0.5847 GB, free: 24 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001531/0.3932, allocations: 93.25 kB / 0.5847 GB, free: 23.9 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.653e-05/0.3932, allocations: 40.95 kB / 0.5848 GB, free: 23.86 MB / 446.1 MB Notification: Performance of pre-optimization done (n=3): time 1.162e-06/0.3932, allocations: 0 / 0.5848 GB, free: 23.86 MB / 446.1 MB Notification: Performance of matching and sorting (n=3): time 0.0005306/0.3937, allocations: 129.9 kB / 0.5849 GB, free: 23.78 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.155e-05/0.3938, allocations: 52.47 kB / 0.585 GB, free: 23.72 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.188e-05/0.3938, allocations: 123.3 kB / 0.5851 GB, free: 23.61 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 8.286e-06/0.3938, allocations: 25.7 kB / 0.5851 GB, free: 23.57 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.113e-05/0.3939, allocations: 92.02 kB / 0.5852 GB, free: 23.48 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.534e-05/0.3939, allocations: 10.5 kB / 0.5852 GB, free: 23.48 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.078e-05/0.3939, allocations: 18.59 kB / 0.5852 GB, free: 23.46 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 3.907e-05/0.394, allocations: 318.8 kB / 0.5855 GB, free: 23.14 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001413/0.3941, allocations: 32.56 kB / 0.5856 GB, free: 23.12 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001274/0.3943, allocations: 34.83 kB / 0.5856 GB, free: 23.11 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002548/0.3945, allocations: 69.16 kB / 0.5856 GB, free: 23.07 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.244e-06/0.3945, allocations: 0 / 0.5856 GB, free: 23.07 MB / 446.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002993/0.3948, allocations: 97.5 kB / 0.5857 GB, free: 23.01 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.381e-05/0.3949, allocations: 8.688 kB / 0.5858 GB, free: 23.01 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.188e-06/0.3949, allocations: 2.406 kB / 0.5858 GB, free: 23.01 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.406e-05/0.3949, allocations: 1.594 kB / 0.5858 GB, free: 23.01 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001143/0.395, allocations: 21.33 kB / 0.5858 GB, free: 23 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.36e-06/0.395, allocations: 4.859 kB / 0.5858 GB, free: 23 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.641e-05/0.3951, allocations: 10.83 kB / 0.5858 GB, free: 22.99 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.434e-06/0.3951, allocations: 5.891 kB / 0.5858 GB, free: 22.99 MB / 446.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 (3): * Single equations (assignments): 3 * 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.558e-05/0.3952, allocations: 112.9 kB / 0.5859 GB, free: 22.87 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.796e-05/0.3952, allocations: 6.969 kB / 0.5859 GB, free: 22.87 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003431/0.3955, allocations: 107.9 kB / 0.586 GB, free: 22.79 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.264e-06/0.3956, allocations: 0 / 0.586 GB, free: 22.79 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.427e-06/0.3956, allocations: 0 / 0.586 GB, free: 22.79 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.594e-06/0.3956, allocations: 2.531 kB / 0.586 GB, free: 22.79 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000119/0.3957, allocations: 177.8 kB / 0.5862 GB, free: 22.58 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.643e-06/0.3957, allocations: 1.188 kB / 0.5862 GB, free: 22.58 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.283e-05/0.3958, allocations: 20.05 kB / 0.5862 GB, free: 22.57 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.275e-06/0.3958, allocations: 384 / 0.5862 GB, free: 22.57 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.794e-06/0.3958, allocations: 5.188 kB / 0.5862 GB, free: 22.57 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.503e-06/0.3958, allocations: 3.938 kB / 0.5862 GB, free: 22.56 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.031e-06/0.3958, allocations: 1.438 kB / 0.5862 GB, free: 22.56 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003223/0.3962, allocations: 199.6 kB / 0.5864 GB, free: 22.39 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.163e-05/0.3962, allocations: 83.17 kB / 0.5865 GB, free: 22.3 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.507e-05/0.3962, allocations: 3.938 kB / 0.5865 GB, free: 22.29 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001284/0.3963, allocations: 19.36 kB / 0.5865 GB, free: 22.28 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.31e-05/0.3964, allocations: 8.578 kB / 0.5865 GB, free: 22.28 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.549e-06/0.3964, allocations: 1.156 kB / 0.5865 GB, free: 22.28 MB / 446.1 MB Notification: Performance of sorting global known variables: time 3.376e-05/0.3964, allocations: 91.8 kB / 0.5866 GB, free: 22.2 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3965, allocations: 0 / 0.5866 GB, free: 22.2 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002743/0.3967, allocations: 36.38 kB / 0.5866 GB, free: 22.18 MB / 446.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 (3): * Single equations (assignments): 3 * 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.00017/0.3969, allocations: 124.1 kB / 0.5868 GB, free: 22.08 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0003427/0.3973, allocations: 72.23 kB / 0.5868 GB, free: 22.05 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.653e-06/0.3973, allocations: 1.219 kB / 0.5868 GB, free: 22.05 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001477/0.3974, allocations: 34.84 kB / 0.5869 GB, free: 22.04 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002844/0.3977, allocations: 16.14 kB / 0.5869 GB, free: 22.03 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002838/0.398, allocations: 180.6 kB / 0.587 GB, free: 21.86 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.798e-05/0.3981, allocations: 0.6839 MB / 0.5877 GB, free: 21.16 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.694e-05/0.3981, allocations: 11.44 kB / 0.5877 GB, free: 21.15 MB / 446.1 MB Notification: Performance of SimCode: time 3.11e-07/0.3981, allocations: 0 / 0.5877 GB, free: 21.15 MB / 446.1 MB Notification: Performance of Templates: time 0.002517/0.4007, allocations: 1.221 MB / 0.5889 GB, free: 20.58 MB / 446.1 MB make -j1 -f IDEAS_IDEAS.Utilities.Psychrometrics.Examples.Phi_pTX.makefile (rm -f IDEAS_IDEAS.Utilities.Psychrometrics.Examples.Phi_pTX.pipe ; mkfifo IDEAS_IDEAS.Utilities.Psychrometrics.Examples.Phi_pTX.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.Psychrometrics.Examples.Phi_pTX.pipe >> ../files/IDEAS_IDEAS.Utilities.Psychrometrics.Examples.Phi_pTX.sim & ./IDEAS_IDEAS.Utilities.Psychrometrics.Examples.Phi_pTX -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Utilities.Psychrometrics.Examples.Phi_pTX.pipe 2>&1)