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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) 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=5000,variableFilter="",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Media.TestOnly.R134a_setState_phX") translateModel(ModelicaTest.Media.TestOnly.R134a_setState_phX,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Media.TestOnly.R134a_setState_phX") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001578/0.001578, allocations: 122.8 kB / 17.79 MB, free: 5.254 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001571/0.001571, allocations: 202 kB / 18.73 MB, free: 4.312 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.38/1.38, allocations: 227.4 MB / 246.9 MB, free: 10.46 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2125/0.2125, allocations: 46.12 MB / 344.3 MB, free: 11.45 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00142/0.00142, allocations: 79.86 kB / 481.4 MB, free: 4.016 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3053/0.3067, allocations: 62.44 MB / 0.5311 GB, free: 13.57 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.R134a_setState_phX): time 0.01082/0.3176, allocations: 8.405 MB / 0.5393 GB, free: 7.184 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.01355/0.3312, allocations: 13.01 MB / 0.552 GB, free: 12.19 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.766e-05/0.3313, allocations: 0 / 0.552 GB, free: 12.19 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002384/0.3316, allocations: 35.8 kB / 0.552 GB, free: 12.15 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007491/0.3391, allocations: 2.116 MB / 0.5541 GB, free: 10.03 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 1.054e-05/0.3391, allocations: 0 / 0.5541 GB, free: 10.03 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001727/0.3393, allocations: 55.61 kB / 0.5541 GB, free: 9.977 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.04e-05/0.3394, allocations: 3.938 kB / 0.5541 GB, free: 9.973 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001597/0.3396, allocations: 39.78 kB / 0.5542 GB, free: 9.934 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.968e-05/0.3396, allocations: 11.94 kB / 0.5542 GB, free: 9.922 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 1.006e-05/0.3396, allocations: 0 / 0.5542 GB, free: 9.922 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0111/0.3507, allocations: 6.012 MB / 0.56 GB, free: 3.898 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 2.017e-05/0.3508, allocations: 0 / 0.56 GB, free: 3.898 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 6.004e-05/0.3509, allocations: 31.8 kB / 0.5601 GB, free: 3.867 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01322/0.3641, allocations: 4.779 MB / 0.5647 GB, free: 15.08 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.02e-06/0.3641, allocations: 7.875 kB / 0.5647 GB, free: 15.07 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.824e-06/0.3641, allocations: 0 / 0.5647 GB, free: 15.07 MB / 430.1 MB Notification: Performance of Transformations before backend: time 9.598e-06/0.3641, allocations: 0 / 0.5647 GB, free: 15.07 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.002555/0.3667, allocations: 0.6372 MB / 0.5654 GB, free: 14.39 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.245e-05/0.3668, allocations: 8.031 kB / 0.5654 GB, free: 14.38 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001257/0.3669, allocations: 15.98 kB / 0.5654 GB, free: 14.36 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001148/0.367, allocations: 167.1 kB / 0.5656 GB, free: 14.16 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.492e-05/0.367, allocations: 4 kB / 0.5656 GB, free: 14.16 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.08e-05/0.3671, allocations: 4 kB / 0.5656 GB, free: 14.15 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003022/0.3674, allocations: 113.6 kB / 0.5657 GB, free: 14.04 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.207e-06/0.3674, allocations: 3.938 kB / 0.5657 GB, free: 14.03 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.304e-05/0.3674, allocations: 0 / 0.5657 GB, free: 14.03 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.344e-06/0.3674, allocations: 3.938 kB / 0.5657 GB, free: 14.03 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000327/0.3678, allocations: 131.8 kB / 0.5658 GB, free: 13.9 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.0005239/0.3683, allocations: 344.6 kB / 0.5661 GB, free: 13.51 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002858/0.3686, allocations: 74.53 kB / 0.5662 GB, free: 13.43 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001101/0.3687, allocations: 44.77 kB / 0.5662 GB, free: 13.38 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003437/0.3722, allocations: 2.131 MB / 0.5683 GB, free: 10.94 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.126e-05/0.3722, allocations: 30.56 kB / 0.5684 GB, free: 10.9 MB / 430.1 MB Notification: Performance of pre-optimization done (n=7): time 1.744e-06/0.3722, allocations: 0 / 0.5684 GB, free: 10.9 MB / 430.1 MB Notification: Performance of matching and sorting (n=7): time 0.000629/0.3728, allocations: 141.6 kB / 0.5685 GB, free: 10.75 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.14e-05/0.3729, allocations: 51.41 kB / 0.5685 GB, free: 10.69 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.755e-05/0.373, allocations: 97.86 kB / 0.5686 GB, free: 10.59 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 1.485e-05/0.373, allocations: 33.7 kB / 0.5687 GB, free: 10.55 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.07e-05/0.373, allocations: 95.97 kB / 0.5688 GB, free: 10.45 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.838e-05/0.3731, allocations: 19.86 kB / 0.5688 GB, free: 10.43 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.322e-05/0.3731, allocations: 25.7 kB / 0.5688 GB, free: 10.4 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.000103/0.3732, allocations: 318.8 kB / 0.5691 GB, free: 10.08 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.681e-05/0.3733, allocations: 23.92 kB / 0.5691 GB, free: 10.05 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001089/0.3735, allocations: 49.67 kB / 0.5692 GB, free: 10 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002102/0.3737, allocations: 66.16 kB / 0.5692 GB, free: 9.93 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.964e-06/0.3737, allocations: 4 kB / 0.5692 GB, free: 9.926 MB / 430.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002843/0.374, allocations: 109.6 kB / 0.5693 GB, free: 9.812 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.294e-05/0.374, allocations: 4 kB / 0.5693 GB, free: 9.809 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.117e-06/0.374, allocations: 3.938 kB / 0.5694 GB, free: 9.805 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.456e-05/0.374, allocations: 4 kB / 0.5694 GB, free: 9.801 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.903e-05/0.3741, allocations: 20.17 kB / 0.5694 GB, free: 9.781 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.729e-06/0.3741, allocations: 0 / 0.5694 GB, free: 9.781 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.599e-05/0.3742, allocations: 11.89 kB / 0.5694 GB, free: 9.77 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.377e-05/0.3742, allocations: 8 kB / 0.5694 GB, free: 9.762 MB / 430.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 7.777e-05/0.3743, allocations: 117.8 kB / 0.5695 GB, free: 9.637 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.533e-05/0.3744, allocations: 11.97 kB / 0.5695 GB, free: 9.625 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004424/0.3748, allocations: 243.6 kB / 0.5698 GB, free: 9.383 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.091e-06/0.3748, allocations: 0 / 0.5698 GB, free: 9.383 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.576e-06/0.3748, allocations: 3.938 kB / 0.5698 GB, free: 9.379 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.046e-06/0.3749, allocations: 8 kB / 0.5698 GB, free: 9.371 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002221/0.3751, allocations: 229.5 kB / 0.57 GB, free: 9.098 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.847e-06/0.3751, allocations: 3.984 kB / 0.57 GB, free: 9.094 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.871e-05/0.3752, allocations: 20 kB / 0.57 GB, free: 9.074 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.944e-06/0.3752, allocations: 0 / 0.57 GB, free: 9.074 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.294e-05/0.3752, allocations: 3.984 kB / 0.57 GB, free: 9.07 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.026e-06/0.3752, allocations: 11.88 kB / 0.57 GB, free: 9.059 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.92e-07/0.3752, allocations: 0 / 0.57 GB, free: 9.059 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003366/0.3756, allocations: 255.3 kB / 0.5703 GB, free: 8.793 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.413e-05/0.3756, allocations: 89 kB / 0.5703 GB, free: 8.688 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.447e-05/0.3756, allocations: 0 / 0.5703 GB, free: 8.688 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.77e-05/0.3757, allocations: 11.98 kB / 0.5704 GB, free: 8.676 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.84e-05/0.3758, allocations: 7.984 kB / 0.5704 GB, free: 8.668 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.385e-06/0.3758, allocations: 4 kB / 0.5704 GB, free: 8.664 MB / 430.1 MB Notification: Performance of sorting global known variables: time 3.107e-05/0.3758, allocations: 83.28 kB / 0.5704 GB, free: 8.582 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3758, allocations: 4 kB / 0.5705 GB, free: 8.578 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.001739/0.3776, allocations: 370.9 kB / 0.5708 GB, free: 8.215 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: 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.01126/0.3888, allocations: 3.574 MB / 0.5743 GB, free: 4.625 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0004012/0.3893, allocations: 95.94 kB / 0.5744 GB, free: 4.531 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.916e-06/0.3893, allocations: 0 / 0.5744 GB, free: 4.531 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001522/0.3895, allocations: 71.86 kB / 0.5745 GB, free: 4.461 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003743/0.3898, allocations: 23.91 kB / 0.5745 GB, free: 4.438 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005267/0.3904, allocations: 257.6 kB / 0.5747 GB, free: 4.16 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002785/0.3907, allocations: 0.6924 MB / 0.5754 GB, free: 3.441 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0001199/0.3908, allocations: 54.41 kB / 0.5755 GB, free: 3.391 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.929e-05/0.3908, allocations: 15.44 kB / 0.5755 GB, free: 3.375 MB / 430.1 MB Notification: Performance of SimCode: time 3.21e-07/0.3908, allocations: 0 / 0.5755 GB, free: 3.375 MB / 430.1 MB Notification: Performance of Templates: time 0.02204/0.4129, allocations: 16.28 MB / 0.5914 GB, free: 3.066 MB / 446.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Media.TestOnly.R134a_setState_phX.makefile (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)