Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceMoistAir.conf.json 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/ModelicaServices 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 ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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) Running command: translateModel(ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceMoistAir,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|eps_h_is|eps|eta|lambda|Pr|p|T|d|h|u|s|g|f|cp|cp2|cv|cv2|h_is|a|MM|h2|d2|err_T|err_d|err_u|s_is|err_h_is",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceMoistAir") translateModel(ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceMoistAir,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|eps_h_is|eps|eta|lambda|Pr|p|T|d|h|u|s|g|f|cp|cp2|cv|cv2|h_is|a|MM|h2|d2|err_T|err_d|err_u|s_is|err_h_is",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceMoistAir") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001037/0.001036, allocations: 203.5 kB / 8.767 MB, free: 320 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.35/1.35, allocations: 225.6 MB / 234.8 MB, free: 3.258 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008273/0.0008274, allocations: 99.17 kB / 286.7 MB, free: 5.281 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2049/0.2049, allocations: 45.15 MB / 383.8 MB, free: 252 kB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 1.545e-05/1.547e-05, allocations: 4 kB / 453.2 MB, free: 75.81 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1328/0.1328, allocations: 63.25 MB / 0.5044 GB, free: 12.61 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 14.72/14.86, allocations: 6.132 GB / 6.636 GB, free: 147.3 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002473/14.86, allocations: 88.97 kB / 6.636 GB, free: 147.3 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 0.8795/15.74, allocations: 255.9 MB / 6.886 GB, free: 95.85 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.624e-06/15.74, allocations: 0 / 6.886 GB, free: 95.85 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 1.429e-05/15.74, allocations: 3.281 kB / 6.886 GB, free: 95.85 MB / 0.5261 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 73 * Number of variables: 73 Notification: Performance of Generate backend data structure: time 0.008545/15.74, allocations: 1.915 MB / 6.888 GB, free: 94.65 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 3.916e-05/15.74, allocations: 11.34 kB / 6.888 GB, free: 94.65 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001912/15.74, allocations: 37.27 kB / 6.888 GB, free: 94.63 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002776/15.74, allocations: 248 kB / 6.888 GB, free: 94.42 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.632e-05/15.74, allocations: 7.75 kB / 6.888 GB, free: 94.42 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.998e-05/15.74, allocations: 22.36 kB / 6.888 GB, free: 94.41 MB / 0.5261 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0007781/15.75, allocations: 0.8504 MB / 6.889 GB, free: 94.41 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004647/15.75, allocations: 462.7 kB / 6.89 GB, free: 94.31 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.368e-05/15.75, allocations: 3.938 kB / 6.89 GB, free: 94.3 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.333e-05/15.75, allocations: 0 / 6.89 GB, free: 94.3 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.163e-05/15.75, allocations: 19.19 kB / 6.89 GB, free: 94.3 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002953/15.75, allocations: 3.902 MB / 6.893 GB, free: 90.92 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001514/15.75, allocations: 111.8 kB / 6.894 GB, free: 90.89 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.493e-05/15.75, allocations: 40.62 kB / 6.894 GB, free: 90.88 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01311/15.76, allocations: 14.81 MB / 6.908 GB, free: 75.68 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000234/15.76, allocations: 106.7 kB / 6.908 GB, free: 75.62 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=17): time 2.274e-06/15.76, allocations: 0 / 6.908 GB, free: 75.62 MB / 0.5261 GB Notification: Performance of matching and sorting (n=18): time 0.001649/15.76, allocations: 311.8 kB / 6.908 GB, free: 75.55 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.669e-05/15.76, allocations: 64.2 kB / 6.909 GB, free: 75.48 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002991/15.76, allocations: 226.8 kB / 6.909 GB, free: 75.36 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 2.956e-05/15.76, allocations: 31.86 kB / 6.909 GB, free: 75.33 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001667/15.76, allocations: 251.2 kB / 6.909 GB, free: 75.13 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 5.515e-05/15.76, allocations: 63.06 kB / 6.909 GB, free: 75.09 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.827e-05/15.76, allocations: 0 / 6.909 GB, free: 75.09 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001156/15.76, allocations: 332.2 kB / 6.909 GB, free: 74.78 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001177/15.77, allocations: 75.62 kB / 6.909 GB, free: 74.78 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002559/15.77, allocations: 344.1 kB / 6.91 GB, free: 74.43 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001046/15.77, allocations: 240.7 kB / 6.91 GB, free: 74.41 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.861e-06/15.77, allocations: 3.25 kB / 6.91 GB, free: 74.41 MB / 0.5261 GB Notification: Performance of matching and sorting (n=66) (initialization): time 0.001488/15.77, allocations: 0.5195 MB / 6.911 GB, free: 74.31 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.967e-05/15.77, allocations: 7.062 kB / 6.911 GB, free: 74.31 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.284e-05/15.77, allocations: 11.31 kB / 6.911 GB, free: 74.31 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.486e-05/15.77, allocations: 13.97 kB / 6.911 GB, free: 74.31 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005678/15.77, allocations: 181.2 kB / 6.911 GB, free: 74.3 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004808/15.77, allocations: 1.209 MB / 6.912 GB, free: 73.12 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003392/15.77, allocations: 15.42 kB / 6.912 GB, free: 73.11 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.195e-05/15.77, allocations: 47.73 kB / 6.912 GB, free: 73.11 MB / 0.5261 GB Warning: Iteration variables with default zero start attribute in equation system with analytic Jacobian: $DER.medium.T:DUMMY_DER(fixed = false ) "Temperature of medium" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 42 * Number of states: 0 () * Number of discrete variables: 1 ($whenCondition1) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (66): * Single equations (assignments): 64 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 2 {1,1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002173/15.77, allocations: 138.5 kB / 6.912 GB, free: 72.98 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001633/15.77, allocations: 29.72 kB / 6.912 GB, free: 72.97 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005556/15.77, allocations: 222 kB / 6.912 GB, free: 72.91 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.696e-06/15.77, allocations: 0 / 6.912 GB, free: 72.91 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.633e-06/15.77, allocations: 4 kB / 6.912 GB, free: 72.91 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.073e-06/15.77, allocations: 3.438 kB / 6.912 GB, free: 72.91 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006738/15.77, allocations: 0.4927 MB / 6.913 GB, free: 72.63 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.645e-06/15.77, allocations: 0 / 6.913 GB, free: 72.63 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003196/15.77, allocations: 81.62 kB / 6.913 GB, free: 72.62 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.948e-06/15.77, allocations: 0 / 6.913 GB, free: 72.62 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.268e-05/15.77, allocations: 3.969 kB / 6.913 GB, free: 72.62 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003919/15.77, allocations: 1.186 MB / 6.914 GB, free: 71.45 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.206e-06/15.77, allocations: 3.844 kB / 6.914 GB, free: 71.45 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000442/15.77, allocations: 296.2 kB / 6.914 GB, free: 71.27 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 7.622e-05/15.77, allocations: 132.6 kB / 6.915 GB, free: 71.17 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.798e-05/15.77, allocations: 0 / 6.915 GB, free: 71.17 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001977/15.77, allocations: 14.92 kB / 6.915 GB, free: 71.16 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.752e-05/15.77, allocations: 14.52 kB / 6.915 GB, free: 71.16 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.111e-05/15.77, allocations: 10.19 kB / 6.915 GB, free: 71.16 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.0001083/15.77, allocations: 156.4 kB / 6.915 GB, free: 71.09 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.5e-07/15.77, allocations: 0 / 6.915 GB, free: 71.09 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.009256/15.78, allocations: 2.006 MB / 6.917 GB, free: 70.64 MB / 0.5261 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 1 ($whenCondition1) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (19): * Single equations (assignments): 17 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 2 {1,1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.01348/15.8, allocations: 2.807 MB / 6.919 GB, free: 69.95 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.001025/15.8, allocations: 268.5 kB / 6.92 GB, free: 69.92 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 5.861e-06/15.8, allocations: 0 / 6.92 GB, free: 69.92 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0003204/15.8, allocations: 98.67 kB / 6.92 GB, free: 69.91 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000483/15.8, allocations: 44.02 kB / 6.92 GB, free: 69.9 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.7265/16.52, allocations: 243.1 MB / 7.157 GB, free: 31.86 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001873/16.52, allocations: 0.7585 MB / 7.158 GB, free: 31.11 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.000606/16.52, allocations: 149.4 kB / 7.158 GB, free: 31.02 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001356/16.53, allocations: 42.09 kB / 7.158 GB, free: 30.98 MB / 0.5261 GB Notification: Performance of SimCode: time 5.91e-07/16.53, allocations: 0 / 7.158 GB, free: 30.98 MB / 0.5261 GB Notification: Performance of Templates: time 0.05955/16.58, allocations: 47.47 MB / 7.204 GB, free: 6.73 MB / 0.5417 GB make -j1 -f ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceMoistAir.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceMoistAir.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceMoistAir.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceMoistAir.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceMoistAir.sim & ./ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceMoistAir -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceMoistAir.pipe 2>&1)