Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Media.TestOnly.R134a_setState_phX.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00149/0.00149, allocations: 106.5 kB / 21.23 MB, free: 0.6562 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001364/0.001364, allocations: 213.3 kB / 24.54 MB, free: 4.016 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.369/1.369, allocations: 230.3 MB / 258 MB, free: 8.242 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2252/0.2252, allocations: 46.89 MB / 361.3 MB, free: 4.434 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(ModelicaTest.Media.TestOnly.R134a_setState_phX,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Media.TestOnly.R134a_setState_phX") translateModel(ModelicaTest.Media.TestOnly.R134a_setState_phX,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Media.TestOnly.R134a_setState_phX") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002239/0.002239, allocations: 75.88 kB / 0.497 GB, free: 7.605 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.341/0.3432, allocations: 66.03 MB / 0.5615 GB, free: 4.621 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.R134a_setState_phX): time 0.01237/0.3556, allocations: 8.485 MB / 0.5698 GB, free: 12.1 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.01517/0.3708, allocations: 13.11 MB / 0.5826 GB, free: 14.95 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.786e-05/0.3708, allocations: 0 / 0.5826 GB, free: 14.95 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002236/0.3711, allocations: 39.8 kB / 0.5826 GB, free: 14.91 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005828/0.3769, allocations: 2.156 MB / 0.5847 GB, free: 12.75 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 5.21e-06/0.3769, allocations: 0 / 0.5847 GB, free: 12.75 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 9.837e-05/0.377, allocations: 51.61 kB / 0.5848 GB, free: 12.7 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.781e-05/0.377, allocations: 3.984 kB / 0.5848 GB, free: 12.7 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001338/0.3772, allocations: 39.8 kB / 0.5848 GB, free: 12.66 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.233e-05/0.3772, allocations: 11.94 kB / 0.5849 GB, free: 12.64 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 8.005e-06/0.3772, allocations: 0 / 0.5849 GB, free: 12.64 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.009904/0.3871, allocations: 6.082 MB / 0.5908 GB, free: 6.551 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 1.354e-05/0.3871, allocations: 0 / 0.5908 GB, free: 6.551 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 4.973e-05/0.3872, allocations: 31.78 kB / 0.5908 GB, free: 6.52 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0122/0.3994, allocations: 4.791 MB / 0.5955 GB, free: 1.723 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.811e-06/0.3994, allocations: 4 kB / 0.5955 GB, free: 1.719 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.964e-06/0.3994, allocations: 0 / 0.5955 GB, free: 1.719 MB / 430.1 MB Notification: Performance of Transformations before backend: time 5.761e-06/0.3994, allocations: 4 kB / 0.5955 GB, free: 1.715 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: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.003013/0.4024, allocations: 0.5619 MB / 0.5961 GB, free: 1.121 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.163e-05/0.4024, allocations: 11.97 kB / 0.5961 GB, free: 1.109 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001419/0.4026, allocations: 8 kB / 0.5961 GB, free: 1.102 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001861/0.4028, allocations: 109.2 kB / 0.5962 GB, free: 0.9688 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.59e-05/0.4028, allocations: 4 kB / 0.5962 GB, free: 0.9648 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.994e-05/0.4028, allocations: 0 / 0.5962 GB, free: 0.9648 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000356/0.4032, allocations: 121.6 kB / 0.5963 GB, free: 0.8398 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.366e-05/0.4032, allocations: 7.875 kB / 0.5963 GB, free: 0.832 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.438e-05/0.4032, allocations: 3.984 kB / 0.5963 GB, free: 0.8281 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.154e-06/0.4032, allocations: 4 kB / 0.5963 GB, free: 0.8242 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000357/0.4036, allocations: 123.9 kB / 0.5964 GB, free: 0.7031 MB / 430.1 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000686/0.4043, allocations: 375.1 kB / 0.5968 GB, free: 288 kB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003007/0.4046, allocations: 70.47 kB / 0.5969 GB, free: 208 kB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00011/0.4047, allocations: 32.84 kB / 0.5969 GB, free: 172 kB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003092/0.4078, allocations: 0.8624 MB / 0.5977 GB, free: 15.3 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.4e-05/0.4078, allocations: 38.56 kB / 0.5978 GB, free: 15.26 MB / 446.1 MB Notification: Performance of pre-optimization done (n=7): time 1.142e-06/0.4078, allocations: 4 kB / 0.5978 GB, free: 15.25 MB / 446.1 MB Notification: Performance of matching and sorting (n=7): time 0.0006591/0.4085, allocations: 141.6 kB / 0.5979 GB, free: 15.11 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.868e-05/0.4085, allocations: 51.41 kB / 0.598 GB, free: 15.05 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.471e-05/0.4086, allocations: 93.86 kB / 0.598 GB, free: 14.95 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 2.036e-05/0.4086, allocations: 25.7 kB / 0.5981 GB, free: 14.91 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.878e-05/0.4087, allocations: 99.97 kB / 0.5982 GB, free: 14.81 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.285e-05/0.4087, allocations: 23.84 kB / 0.5982 GB, free: 14.79 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.896e-05/0.4087, allocations: 33.64 kB / 0.5982 GB, free: 14.75 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001381/0.4089, allocations: 314.8 kB / 0.5985 GB, free: 14.43 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001051/0.409, allocations: 27.98 kB / 0.5985 GB, free: 14.41 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001142/0.4091, allocations: 41.69 kB / 0.5986 GB, free: 14.36 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002046/0.4093, allocations: 70.16 kB / 0.5987 GB, free: 14.29 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.013e-06/0.4093, allocations: 0 / 0.5987 GB, free: 14.29 MB / 446.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0003063/0.4096, allocations: 97.59 kB / 0.5987 GB, free: 14.18 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.702e-05/0.4096, allocations: 6.031 kB / 0.5988 GB, free: 14.18 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.823e-06/0.4096, allocations: 4 kB / 0.5988 GB, free: 14.18 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.682e-05/0.4096, allocations: 3.984 kB / 0.5988 GB, free: 14.17 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001064/0.4098, allocations: 20 kB / 0.5988 GB, free: 14.15 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.154e-05/0.4098, allocations: 12.02 kB / 0.5988 GB, free: 14.14 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.671e-05/0.4098, allocations: 7.891 kB / 0.5988 GB, free: 14.13 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.403e-05/0.4098, allocations: 4 kB / 0.5988 GB, free: 14.13 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 1 (state.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (8): * Single equations (assignments): 8 * 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 0.0001087/0.4099, allocations: 121.7 kB / 0.5989 GB, free: 14 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.987e-05/0.41, allocations: 192 / 0.5989 GB, free: 14 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005188/0.4105, allocations: 272.1 kB / 0.5992 GB, free: 13.73 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.312e-06/0.4105, allocations: 0 / 0.5992 GB, free: 13.73 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.91e-06/0.4105, allocations: 0 / 0.5992 GB, free: 13.73 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.669e-06/0.4105, allocations: 4 kB / 0.5992 GB, free: 13.73 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002539/0.4108, allocations: 200.5 kB / 0.5994 GB, free: 13.49 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.007e-06/0.4108, allocations: 0 / 0.5994 GB, free: 13.49 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.603e-05/0.4109, allocations: 27.92 kB / 0.5994 GB, free: 13.46 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.748e-06/0.4109, allocations: 4 kB / 0.5994 GB, free: 13.46 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.488e-06/0.4109, allocations: 4 kB / 0.5994 GB, free: 13.46 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.793e-06/0.4109, allocations: 0 / 0.5994 GB, free: 13.46 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.655e-06/0.4109, allocations: 3.984 kB / 0.5994 GB, free: 13.45 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003965/0.4113, allocations: 255.3 kB / 0.5997 GB, free: 13.19 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.597e-05/0.4113, allocations: 7.953 kB / 0.5997 GB, free: 13.18 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.85e-05/0.4113, allocations: 4 kB / 0.5997 GB, free: 13.18 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.6e-05/0.4114, allocations: 8 kB / 0.5997 GB, free: 13.17 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.251e-05/0.4115, allocations: 11.97 kB / 0.5997 GB, free: 13.16 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.14e-05/0.4115, allocations: 4 kB / 0.5997 GB, free: 13.15 MB / 446.1 MB Notification: Performance of sorting global known variables: time 4.994e-05/0.4115, allocations: 83.28 kB / 0.5998 GB, free: 13.07 MB / 446.1 MB Notification: Performance of sort global known variables: time 7e-08/0.4115, allocations: 0 / 0.5998 GB, free: 13.07 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.002424/0.4139, allocations: 374.9 kB / 0.6001 GB, free: 12.7 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: 3 ($cse3.phase,$cse4,state.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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.01305/0.427, allocations: 3.574 MB / 0.6036 GB, free: 9.113 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0004284/0.4274, allocations: 87.94 kB / 0.6037 GB, free: 9.027 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.767e-06/0.4274, allocations: 3.938 kB / 0.6037 GB, free: 9.023 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001629/0.4276, allocations: 59.97 kB / 0.6038 GB, free: 8.965 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003318/0.4279, allocations: 19.98 kB / 0.6038 GB, free: 8.945 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006101/0.4285, allocations: 258.3 kB / 0.604 GB, free: 8.664 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003345/0.4289, allocations: 0.6963 MB / 0.6047 GB, free: 7.941 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0001303/0.429, allocations: 51.59 kB / 0.6048 GB, free: 7.891 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.485e-05/0.429, allocations: 19.44 kB / 0.6048 GB, free: 7.871 MB / 446.1 MB Notification: Performance of SimCode: time 4.71e-07/0.429, allocations: 0 / 0.6048 GB, free: 7.871 MB / 446.1 MB Notification: Performance of Templates: time 0.0266/0.4556, allocations: 16.36 MB / 0.6207 GB, free: 7.48 MB / 462.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Media.TestOnly.R134a_setState_phX.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Media.TestOnly.R134a_setState_phX.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Media.TestOnly.R134a_setState_phX.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Media.TestOnly.R134a_setState_phX.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Media.TestOnly.R134a_setState_phX.sim & ./ModelicaTest_trunk_ModelicaTest.Media.TestOnly.R134a_setState_phX -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Media.TestOnly.R134a_setState_phX.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.893394674174488] Failed to read output from testmodel.py, exit status != 0: 0.4645849307999015 0.47962108400000003 0.077064615 Calling exit ... <OMPython.OMCSessionZMQ object at 0x7f9a6b1d97b0>