Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Utilities.Psychrometrics.Functions.Examples.Density_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-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.Density_pTX,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Psychrometrics.Functions.Examples.Density_pTX") translateModel(IDEAS.Utilities.Psychrometrics.Functions.Examples.Density_pTX,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Psychrometrics.Functions.Examples.Density_pTX") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001659/0.001659, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.002064/0.002065, allocations: 194.5 kB / 16.14 MB, free: 6.645 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.362/1.362, allocations: 222.9 MB / 239.8 MB, free: 4.594 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9471/0.9471, allocations: 135.1 MB / 425.1 MB, free: 11.91 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001248/0.001248, allocations: 60.41 kB / 0.5047 GB, free: 5.75 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1711/0.1723, allocations: 80.93 MB / 0.5837 GB, free: 4.992 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Psychrometrics.Functions.Examples.Density_pTX): time 0.002717/0.1751, allocations: 1.323 MB / 0.585 GB, free: 3.652 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.4237/0.5988, allocations: 129.9 MB / 0.7118 GB, free: 14.14 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.853e-05/0.5989, allocations: 1.375 kB / 0.7118 GB, free: 14.14 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 1.996e-05/0.5989, allocations: 3.938 kB / 0.7118 GB, free: 14.13 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 4.576e-05/0.599, allocations: 2.812 kB / 0.7118 GB, free: 14.13 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003216/0.5993, allocations: 46.77 kB / 0.7119 GB, free: 14.11 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 6.481e-05/0.5994, allocations: 24.92 kB / 0.7119 GB, free: 14.1 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 3.601e-05/0.5994, allocations: 2.891 kB / 0.7119 GB, free: 14.1 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 3.933e-05/0.5995, allocations: 14.78 kB / 0.7119 GB, free: 14.1 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 5.33e-05/0.5995, allocations: 6.047 kB / 0.7119 GB, free: 14.1 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.092e-05/0.5995, allocations: 4 kB / 0.7119 GB, free: 14.09 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 6.808e-05/0.5996, allocations: 13.16 kB / 0.712 GB, free: 14.09 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 2.064e-05/0.5996, allocations: 10.36 kB / 0.712 GB, free: 14.08 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 2.995e-05/0.5997, allocations: 5.344 kB / 0.712 GB, free: 14.08 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 9.613e-05/0.5998, allocations: 28.47 kB / 0.712 GB, free: 14.07 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 4.539e-06/0.5998, allocations: 1.219 kB / 0.712 GB, free: 14.07 MB / 0.545 GB Notification: Performance of FrontEnd: time 8.61e-07/0.5998, allocations: 0 / 0.712 GB, free: 14.07 MB / 0.545 GB Notification: Performance of Transformations before backend: time 3.487e-06/0.5998, allocations: 0 / 0.712 GB, free: 14.07 MB / 0.545 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0004271/0.6002, allocations: 333 kB / 0.7123 GB, free: 13.72 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.072e-05/0.6003, allocations: 14.28 kB / 0.7123 GB, free: 13.71 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.187e-05/0.6003, allocations: 7.031 kB / 0.7123 GB, free: 13.71 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000117/0.6005, allocations: 163.7 kB / 0.7125 GB, free: 13.52 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.351e-05/0.6005, allocations: 30.42 kB / 0.7125 GB, free: 13.48 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.298e-05/0.6006, allocations: 1.562 kB / 0.7125 GB, free: 13.48 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001324/0.6007, allocations: 41.52 kB / 0.7126 GB, free: 13.45 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.849e-06/0.6007, allocations: 3.938 kB / 0.7126 GB, free: 13.45 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.2e-05/0.6007, allocations: 4.5 kB / 0.7126 GB, free: 13.44 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.438e-06/0.6007, allocations: 0 / 0.7126 GB, free: 13.44 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.913e-05/0.6008, allocations: 18.83 kB / 0.7126 GB, free: 13.43 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001633/0.601, allocations: 153.2 kB / 0.7127 GB, free: 13.24 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 9.732e-05/0.6011, allocations: 31.05 kB / 0.7128 GB, free: 13.21 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.332e-05/0.6012, allocations: 11.59 kB / 0.7128 GB, free: 13.21 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001772/0.6014, allocations: 97.08 kB / 0.7129 GB, free: 13.11 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.595e-05/0.6014, allocations: 37.05 kB / 0.7129 GB, free: 13.06 MB / 0.545 GB Notification: Performance of pre-optimization done (n=3): time 1.112e-06/0.6014, allocations: 0 / 0.7129 GB, free: 13.06 MB / 0.545 GB Notification: Performance of matching and sorting (n=3): time 0.0002313/0.6016, allocations: 66.05 kB / 0.713 GB, free: 13.02 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.98e-05/0.6017, allocations: 52.06 kB / 0.713 GB, free: 12.95 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.37e-05/0.6018, allocations: 104.6 kB / 0.7131 GB, free: 12.85 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 2.131e-05/0.6018, allocations: 25.7 kB / 0.7131 GB, free: 12.82 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 2.628e-05/0.6018, allocations: 80.14 kB / 0.7132 GB, free: 12.73 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 2.512e-05/0.6019, allocations: 14.28 kB / 0.7132 GB, free: 12.72 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.457e-05/0.6019, allocations: 18.45 kB / 0.7132 GB, free: 12.7 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001109/0.602, allocations: 313.2 kB / 0.7135 GB, free: 12.39 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.877e-05/0.6021, allocations: 5.125 kB / 0.7136 GB, free: 12.39 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.829e-05/0.6021, allocations: 7.328 kB / 0.7136 GB, free: 12.39 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.813e-05/0.6022, allocations: 26.77 kB / 0.7136 GB, free: 12.38 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.404e-06/0.6022, allocations: 3.312 kB / 0.7136 GB, free: 12.38 MB / 0.545 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001367/0.6024, allocations: 56.8 kB / 0.7136 GB, free: 12.33 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.678e-05/0.6024, allocations: 11.39 kB / 0.7137 GB, free: 12.33 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.96e-06/0.6024, allocations: 2.375 kB / 0.7137 GB, free: 12.33 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.002e-05/0.6024, allocations: 0 / 0.7137 GB, free: 12.33 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.071e-05/0.6025, allocations: 6.469 kB / 0.7137 GB, free: 12.33 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.202e-06/0.6025, allocations: 1.062 kB / 0.7137 GB, free: 12.33 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.415e-05/0.6025, allocations: 6 kB / 0.7137 GB, free: 12.32 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.005e-06/0.6026, allocations: 1.781 kB / 0.7137 GB, free: 12.32 MB / 0.545 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 (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 6.513e-05/0.6026, allocations: 107 kB / 0.7138 GB, free: 12.21 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.192e-05/0.6027, allocations: 11.17 kB / 0.7138 GB, free: 12.2 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001714/0.6028, allocations: 61.62 kB / 0.7138 GB, free: 12.16 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.653e-06/0.6028, allocations: 0 / 0.7138 GB, free: 12.16 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.908e-06/0.6028, allocations: 0.9375 kB / 0.7138 GB, free: 12.16 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.406e-06/0.6029, allocations: 0.9375 kB / 0.7138 GB, free: 12.16 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001124/0.603, allocations: 153.3 kB / 0.714 GB, free: 11.96 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.22e-07/0.603, allocations: 0 / 0.714 GB, free: 11.96 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.439e-05/0.603, allocations: 10.31 kB / 0.714 GB, free: 11.96 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.127e-06/0.603, allocations: 4.547 kB / 0.714 GB, free: 11.96 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.656e-06/0.6031, allocations: 8.812 kB / 0.714 GB, free: 11.95 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.294e-06/0.6031, allocations: 0.7969 kB / 0.714 GB, free: 11.95 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.483e-06/0.6031, allocations: 0.9375 kB / 0.714 GB, free: 11.95 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001518/0.6032, allocations: 70.45 kB / 0.7141 GB, free: 11.88 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 5.812e-05/0.6033, allocations: 79.97 kB / 0.7142 GB, free: 11.79 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.609e-05/0.6033, allocations: 5.672 kB / 0.7142 GB, free: 11.79 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.301e-05/0.6034, allocations: 1.906 kB / 0.7142 GB, free: 11.79 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.508e-05/0.6034, allocations: 10.67 kB / 0.7142 GB, free: 11.78 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.2e-06/0.6034, allocations: 9.672 kB / 0.7142 GB, free: 11.77 MB / 0.545 GB Notification: Performance of sorting global known variables: time 3.426e-05/0.6034, allocations: 78.36 kB / 0.7143 GB, free: 11.7 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.5e-07/0.6035, allocations: 0 / 0.7143 GB, free: 11.7 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0001973/0.6037, allocations: 13.48 kB / 0.7143 GB, free: 11.69 MB / 0.545 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 (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.0001588/0.6038, allocations: 106.2 kB / 0.7144 GB, free: 11.61 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0001388/0.604, allocations: 20.83 kB / 0.7144 GB, free: 11.6 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.734e-06/0.604, allocations: 4 kB / 0.7144 GB, free: 11.6 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 4.711e-05/0.604, allocations: 9.625 kB / 0.7144 GB, free: 11.6 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002364/0.6043, allocations: 10.08 kB / 0.7144 GB, free: 11.59 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002576/0.6045, allocations: 127.3 kB / 0.7145 GB, free: 11.48 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002239/0.6048, allocations: 0.676 MB / 0.7152 GB, free: 10.78 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 4.201e-05/0.6048, allocations: 7.578 kB / 0.7152 GB, free: 10.78 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.091e-05/0.6048, allocations: 9.844 kB / 0.7152 GB, free: 10.77 MB / 0.545 GB Notification: Performance of SimCode: time 2.31e-07/0.6049, allocations: 0 / 0.7152 GB, free: 10.77 MB / 0.545 GB Notification: Performance of Templates: time 0.002459/0.6073, allocations: 497.3 kB / 0.7157 GB, free: 10.7 MB / 0.545 GB make -j1 -f IDEAS_dev_IDEAS.Utilities.Psychrometrics.Functions.Examples.Density_pTX.makefile (rm -f IDEAS_dev_IDEAS.Utilities.Psychrometrics.Functions.Examples.Density_pTX.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Psychrometrics.Functions.Examples.Density_pTX.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Psychrometrics.Functions.Examples.Density_pTX.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Psychrometrics.Functions.Examples.Density_pTX.sim & ./IDEAS_dev_IDEAS.Utilities.Psychrometrics.Functions.Examples.Density_pTX -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Utilities.Psychrometrics.Functions.Examples.Density_pTX.pipe 2>&1)