Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AixLib_AixLib.Utilities.Psychrometrics.Examples.Density_pTX.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.2.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.2.0/package.mo): time 0.0652/0.0652, allocations: 9.131 MB / 28.99 MB, free: 0.8086 MB / 18.57 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.2.0/EmbeddedTargets/STM32F4/Functions/HAL.mo:5:3-11:14:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.2.0/Incubate/OperatingSystem/DynamicArray.mo:6:3-94:18:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.2.0/Incubate/Utilities/Functions.mo:1041:3-1062:27:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.2.0/Incubate/Utilities/Functions.mo:1064:3-1092:25:writable] Warning: External function annotation should occur on the external-clause, not on the function. " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0008916/0.0008916, allocations: 94.36 kB / 35.33 MB, free: 1.062 MB / 24.77 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0009722/0.0009722, allocations: 169.6 kB / 38.73 MB, free: 2.473 MB / 24.77 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.072/1.072, allocations: 177.1 MB / 219.2 MB, free: 10.12 MB / 202.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/SDF 0.4.5/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/SDF 0.4.5/package.mo): time 0.004475/0.004475, allocations: 0.8223 MB / 276.5 MB, free: 0.75 MB / 250.7 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 3.0.1/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 3.0.1/package.mo): time 1.65/1.65, allocations: 274.9 MB / 0.5419 GB, free: 0.6289 MB / 0.4949 GB " [Timeout remaining time 178] Using package AixLib with version 3.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 3.0.1/package.mo) Using package SDF with version 0.4.5 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/SDF 0.4.5/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Using package Modelica_DeviceDrivers with version 2.2.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.2.0/package.mo) Running command: translateModel(AixLib.Utilities.Psychrometrics.Examples.Density_pTX,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="AixLib_AixLib.Utilities.Psychrometrics.Examples.Density_pTX") translateModel(AixLib.Utilities.Psychrometrics.Examples.Density_pTX,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="AixLib_AixLib.Utilities.Psychrometrics.Examples.Density_pTX") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.743e-06/1.743e-06, allocations: 0 / 0.6379 GB, free: 14.11 MB / 0.6043 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.547e-05/2.721e-05, allocations: 2.312 kB / 0.6379 GB, free: 14.1 MB / 0.6043 GB Notification: Performance of NFInst.instantiate(AixLib.Utilities.Psychrometrics.Examples.Density_pTX): time 0.003537/0.003564, allocations: 1.6 MB / 0.6394 GB, free: 12.49 MB / 0.6043 GB Notification: Performance of NFInst.instExpressions: time 0.4383/0.4418, allocations: 127.2 MB / 0.7636 GB, free: 9.875 MB / 0.6668 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.206e-05/0.4419, allocations: 4 kB / 0.7636 GB, free: 9.871 MB / 0.6668 GB Notification: Performance of NFTyping.typeComponents: time 3.378e-05/0.4419, allocations: 3.938 kB / 0.7636 GB, free: 9.867 MB / 0.6668 GB Notification: Performance of NFTyping.typeBindings: time 5.636e-05/0.442, allocations: 11.75 kB / 0.7637 GB, free: 9.859 MB / 0.6668 GB Notification: Performance of NFTyping.typeClassSections: time 0.000322/0.4423, allocations: 63.11 kB / 0.7637 GB, free: 9.801 MB / 0.6668 GB Notification: Performance of NFFlatten.flatten: time 7.88e-05/0.4424, allocations: 59.7 kB / 0.7638 GB, free: 9.742 MB / 0.6668 GB Notification: Performance of NFFlatten.resolveConnections: time 8.139e-05/0.4425, allocations: 11.98 kB / 0.7638 GB, free: 9.73 MB / 0.6668 GB Notification: Performance of NFEvalConstants.evaluate: time 6.598e-05/0.4425, allocations: 27.98 kB / 0.7638 GB, free: 9.703 MB / 0.6668 GB Notification: Performance of NFSimplifyModel.simplify: time 4.604e-05/0.4426, allocations: 23.91 kB / 0.7638 GB, free: 9.68 MB / 0.6668 GB Notification: Performance of NFPackage.collectConstants: time 1.485e-05/0.4426, allocations: 4 kB / 0.7638 GB, free: 9.676 MB / 0.6668 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001053/0.4427, allocations: 23.94 kB / 0.7639 GB, free: 9.652 MB / 0.6668 GB Notification: Performance of NFScalarize.scalarize: time 1.685e-05/0.4427, allocations: 11.97 kB / 0.7639 GB, free: 9.641 MB / 0.6668 GB Notification: Performance of NFVerifyModel.verify: time 1.932e-05/0.4427, allocations: 19.92 kB / 0.7639 GB, free: 9.621 MB / 0.6668 GB Notification: Performance of NFConvertDAE.convert: time 0.0001257/0.4428, allocations: 47.69 kB / 0.7639 GB, free: 9.578 MB / 0.6668 GB Notification: Performance of FrontEnd - DAE generated: time 3.817e-06/0.4428, allocations: 0 / 0.7639 GB, free: 9.578 MB / 0.6668 GB Notification: Performance of FrontEnd: time 1.212e-06/0.4429, allocations: 0 / 0.7639 GB, free: 9.578 MB / 0.6668 GB Notification: Performance of Transformations before backend: time 4.328e-06/0.4429, allocations: 0 / 0.7639 GB, free: 9.578 MB / 0.6668 GB 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.0003216/0.4432, allocations: 261.2 kB / 0.7642 GB, free: 9.309 MB / 0.6668 GB Notification: Performance of prepare preOptimizeDAE: time 4.134e-05/0.4432, allocations: 11.98 kB / 0.7642 GB, free: 9.297 MB / 0.6668 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.473e-05/0.4433, allocations: 8.938 kB / 0.7642 GB, free: 9.289 MB / 0.6668 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.53e-05/0.4433, allocations: 124.9 kB / 0.7643 GB, free: 9.145 MB / 0.6668 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.311e-05/0.4434, allocations: 4.375 kB / 0.7643 GB, free: 9.141 MB / 0.6668 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.065e-05/0.4434, allocations: 4.359 kB / 0.7643 GB, free: 9.137 MB / 0.6668 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001528/0.4435, allocations: 67.12 kB / 0.7644 GB, free: 9.062 MB / 0.6668 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.145e-06/0.4435, allocations: 0 / 0.7644 GB, free: 9.062 MB / 0.6668 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.788e-06/0.4435, allocations: 5.062 kB / 0.7644 GB, free: 9.059 MB / 0.6668 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.761e-06/0.4435, allocations: 0 / 0.7644 GB, free: 9.059 MB / 0.6668 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.266e-05/0.4436, allocations: 8 kB / 0.7644 GB, free: 9.051 MB / 0.6668 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002738/0.4439, allocations: 168.2 kB / 0.7646 GB, free: 8.871 MB / 0.6668 GB Notification: Performance of preOpt comSubExp (simulation): time 6.584e-05/0.4439, allocations: 30.58 kB / 0.7646 GB, free: 8.832 MB / 0.6668 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.92e-05/0.4439, allocations: 4.859 kB / 0.7646 GB, free: 8.824 MB / 0.6668 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001131/0.4441, allocations: 20.02 kB / 0.7646 GB, free: 8.805 MB / 0.6668 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.538e-05/0.4441, allocations: 30.56 kB / 0.7646 GB, free: 8.766 MB / 0.6668 GB Notification: Performance of pre-optimization done (n=3): time 1.452e-06/0.4441, allocations: 0 / 0.7646 GB, free: 8.766 MB / 0.6668 GB Notification: Performance of matching and sorting (n=3): time 0.0001372/0.4442, allocations: 46.89 kB / 0.7647 GB, free: 8.715 MB / 0.6668 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.246e-05/0.4442, allocations: 51.41 kB / 0.7647 GB, free: 8.652 MB / 0.6668 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.187e-05/0.4443, allocations: 114.8 kB / 0.7649 GB, free: 8.527 MB / 0.6668 GB Notification: Performance of collectPreVariables (initialization): time 1.351e-05/0.4443, allocations: 29.7 kB / 0.7649 GB, free: 8.492 MB / 0.6668 GB Notification: Performance of collectInitialEqns (initialization): time 3.901e-05/0.4444, allocations: 92.11 kB / 0.765 GB, free: 8.398 MB / 0.6668 GB Notification: Performance of collectInitialBindings (initialization): time 1.945e-05/0.4444, allocations: 15.84 kB / 0.765 GB, free: 8.383 MB / 0.6668 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.79e-05/0.4444, allocations: 13.72 kB / 0.765 GB, free: 8.363 MB / 0.6668 GB Notification: Performance of setup shared object (initialization): time 0.0001007/0.4445, allocations: 322.8 kB / 0.7653 GB, free: 8.039 MB / 0.6668 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.552e-05/0.4445, allocations: 7.938 kB / 0.7653 GB, free: 8.031 MB / 0.6668 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.262e-05/0.4446, allocations: 0 / 0.7653 GB, free: 8.031 MB / 0.6668 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.705e-05/0.4446, allocations: 20.78 kB / 0.7653 GB, free: 8.008 MB / 0.6668 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.913e-06/0.4446, allocations: 0 / 0.7653 GB, free: 8.008 MB / 0.6668 GB Notification: Performance of matching and sorting (n=3) (initialization): time 7.376e-05/0.4447, allocations: 46.61 kB / 0.7654 GB, free: 7.957 MB / 0.6668 GB Notification: Performance of prepare postOptimizeDAE: time 1.551e-05/0.4447, allocations: 8 kB / 0.7654 GB, free: 7.949 MB / 0.6668 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.05e-06/0.4447, allocations: 0 / 0.7654 GB, free: 7.949 MB / 0.6668 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.296e-05/0.4447, allocations: 4 kB / 0.7654 GB, free: 7.945 MB / 0.6668 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.428e-05/0.4448, allocations: 8 kB / 0.7654 GB, free: 7.938 MB / 0.6668 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.166e-06/0.4448, allocations: 0 / 0.7654 GB, free: 7.938 MB / 0.6668 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.381e-05/0.4448, allocations: 7.984 kB / 0.7654 GB, free: 7.93 MB / 0.6668 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.522e-06/0.4448, allocations: 0 / 0.7654 GB, free: 7.93 MB / 0.6668 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.277e-05/0.4449, allocations: 109.8 kB / 0.7655 GB, free: 7.812 MB / 0.6668 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.464e-05/0.4449, allocations: 3.938 kB / 0.7655 GB, free: 7.809 MB / 0.6668 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.53e-05/0.445, allocations: 55.11 kB / 0.7656 GB, free: 7.754 MB / 0.6668 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.933e-06/0.445, allocations: 0 / 0.7656 GB, free: 7.754 MB / 0.6668 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.856e-06/0.445, allocations: 8.875 kB / 0.7656 GB, free: 7.746 MB / 0.6668 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.574e-06/0.445, allocations: 0 / 0.7656 GB, free: 7.746 MB / 0.6668 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.793e-05/0.4451, allocations: 73.88 kB / 0.7656 GB, free: 7.656 MB / 0.6668 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.503e-06/0.4451, allocations: 0 / 0.7656 GB, free: 7.656 MB / 0.6668 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.112e-05/0.4451, allocations: 11.98 kB / 0.7657 GB, free: 7.645 MB / 0.6668 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.565e-06/0.4451, allocations: 0 / 0.7657 GB, free: 7.645 MB / 0.6668 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.28e-06/0.4452, allocations: 4.5 kB / 0.7657 GB, free: 7.641 MB / 0.6668 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.423e-06/0.4452, allocations: 0 / 0.7657 GB, free: 7.641 MB / 0.6668 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.4452, allocations: 0 / 0.7657 GB, free: 7.641 MB / 0.6668 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.587e-05/0.4452, allocations: 139.5 kB / 0.7658 GB, free: 7.488 MB / 0.6668 GB Notification: Performance of postOpt removeConstants (simulation): time 7.854e-06/0.4452, allocations: 7.953 kB / 0.7658 GB, free: 7.48 MB / 0.6668 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.001e-05/0.4452, allocations: 10.05 kB / 0.7658 GB, free: 7.473 MB / 0.6668 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.663e-05/0.4453, allocations: 7.984 kB / 0.7658 GB, free: 7.465 MB / 0.6668 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.891e-05/0.4453, allocations: 7.984 kB / 0.7658 GB, free: 7.457 MB / 0.6668 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.625e-06/0.4453, allocations: 0 / 0.7658 GB, free: 7.457 MB / 0.6668 GB Notification: Performance of sorting global known variables: time 1.513e-05/0.4453, allocations: 14.17 kB / 0.7658 GB, free: 7.441 MB / 0.6668 GB Notification: Performance of sort global known variables: time 5e-08/0.4453, allocations: 0 / 0.7658 GB, free: 7.441 MB / 0.6668 GB Notification: Performance of remove unused functions: time 0.0001284/0.4455, allocations: 15.94 kB / 0.7659 GB, free: 7.426 MB / 0.6668 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.0001196/0.4456, allocations: 88.39 kB / 0.7659 GB, free: 7.332 MB / 0.6668 GB Notification: Performance of simCode: created initialization part: time 5.879e-05/0.4456, allocations: 22.05 kB / 0.766 GB, free: 7.309 MB / 0.6668 GB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.4457, allocations: 7.938 kB / 0.766 GB, free: 7.301 MB / 0.6668 GB Notification: Performance of simCode: created simulation system equations: time 1.561e-05/0.4457, allocations: 8.859 kB / 0.766 GB, free: 7.289 MB / 0.6668 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001424/0.4458, allocations: 12 kB / 0.766 GB, free: 7.277 MB / 0.6668 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002409/0.446, allocations: 148.3 kB / 0.7661 GB, free: 7.113 MB / 0.6668 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.369e-05/0.4461, allocations: 59.34 kB / 0.7662 GB, free: 7.035 MB / 0.6668 GB Notification: Performance of simCode: alias equations: time 1.993e-05/0.4461, allocations: 5.219 kB / 0.7662 GB, free: 7.031 MB / 0.6668 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.166e-05/0.4462, allocations: 63.34 kB / 0.7662 GB, free: 6.977 MB / 0.6668 GB Notification: Performance of SimCode: time 5.81e-07/0.4462, allocations: 0 / 0.7662 GB, free: 6.977 MB / 0.6668 GB Notification: Performance of Templates: time 0.002758/0.4489, allocations: 0.9809 MB / 0.7672 GB, free: 6.055 MB / 0.6668 GB " [Timeout remaining time 660] make -j1 -f AixLib_AixLib.Utilities.Psychrometrics.Examples.Density_pTX.makefile [Timeout 660] (rm -f AixLib_AixLib.Utilities.Psychrometrics.Examples.Density_pTX.pipe ; mkfifo AixLib_AixLib.Utilities.Psychrometrics.Examples.Density_pTX.pipe ; head -c 1048576 < AixLib_AixLib.Utilities.Psychrometrics.Examples.Density_pTX.pipe >> ../files/AixLib_AixLib.Utilities.Psychrometrics.Examples.Density_pTX.sim & ./AixLib_AixLib.Utilities.Psychrometrics.Examples.Density_pTX -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -lv LOG_STATS > AixLib_AixLib.Utilities.Psychrometrics.Examples.Density_pTX.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.884107303339988]