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: "" <> buildModelFMU(ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceMoistAir,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Media_TestAllProperties_IncompleteMedia_ReferenceMoistAir",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceMoistAir,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Media_TestAllProperties_IncompleteMedia_ReferenceMoistAir",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001089/0.001089, allocations: 199.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.481/1.481, allocations: 225.6 MB / 234.8 MB, free: 3.211 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008471/0.0008473, allocations: 98.44 kB / 286.7 MB, free: 5.309 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2195/0.2195, allocations: 45.15 MB / 383.8 MB, free: 264 kB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 1.634e-05/1.636e-05, allocations: 4 kB / 453.3 MB, free: 75.74 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1261/0.1262, allocations: 63.24 MB / 0.5045 GB, free: 12.55 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 14.59/14.72, allocations: 6.132 GB / 6.636 GB, free: 125.1 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000199/14.72, allocations: 79.95 kB / 6.636 GB, free: 125.1 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 0.8922/15.61, allocations: 256 MB / 6.886 GB, free: 77.32 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.122e-06/15.61, allocations: 0 / 6.886 GB, free: 77.32 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 1.708e-05/15.61, allocations: 4 kB / 6.886 GB, free: 77.31 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.009352/15.62, allocations: 1.928 MB / 6.888 GB, free: 75.34 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.12e-05/15.62, allocations: 8.031 kB / 6.888 GB, free: 75.33 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000212/15.62, allocations: 39.64 kB / 6.888 GB, free: 75.29 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003063/15.62, allocations: 246.7 kB / 6.888 GB, free: 75.01 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.735e-05/15.62, allocations: 8 kB / 6.888 GB, free: 75 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.609e-05/15.62, allocations: 19.95 kB / 6.888 GB, free: 74.98 MB / 0.5261 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000865/15.62, allocations: 0.8483 MB / 6.889 GB, free: 74.14 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005167/15.62, allocations: 465.1 kB / 6.89 GB, free: 73.65 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.518e-05/15.62, allocations: 7.938 kB / 6.89 GB, free: 73.65 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.761e-05/15.62, allocations: 0 / 6.89 GB, free: 73.65 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.375e-05/15.62, allocations: 24.55 kB / 6.89 GB, free: 73.62 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003282/15.62, allocations: 3.893 MB / 6.894 GB, free: 69.19 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001809/15.62, allocations: 106.6 kB / 6.894 GB, free: 69.07 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.855e-05/15.62, allocations: 46.72 kB / 6.894 GB, free: 69.03 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01324/15.64, allocations: 14.81 MB / 6.908 GB, free: 51.27 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002377/15.64, allocations: 111.3 kB / 6.908 GB, free: 51.14 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=17): time 2.745e-06/15.64, allocations: 0 / 6.908 GB, free: 51.14 MB / 0.5261 GB Notification: Performance of matching and sorting (n=18): time 0.001723/15.64, allocations: 316.3 kB / 6.909 GB, free: 50.83 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.848e-05/15.64, allocations: 59.36 kB / 6.909 GB, free: 50.76 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002219/15.64, allocations: 224.2 kB / 6.909 GB, free: 50.54 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 3.24e-05/15.64, allocations: 29.7 kB / 6.909 GB, free: 50.5 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.000101/15.64, allocations: 250.3 kB / 6.909 GB, free: 50.25 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 5.835e-05/15.64, allocations: 67.19 kB / 6.909 GB, free: 50.19 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.499e-05/15.64, allocations: 4 kB / 6.909 GB, free: 50.18 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 6.231e-05/15.64, allocations: 326.8 kB / 6.91 GB, free: 49.86 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001028/15.64, allocations: 77.09 kB / 6.91 GB, free: 49.78 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001989/15.64, allocations: 344.3 kB / 6.91 GB, free: 49.31 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001049/15.64, allocations: 242.1 kB / 6.91 GB, free: 49.08 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.585e-06/15.64, allocations: 0 / 6.91 GB, free: 49.08 MB / 0.5261 GB Notification: Performance of matching and sorting (n=66) (initialization): time 0.001498/15.64, allocations: 0.517 MB / 6.911 GB, free: 48.55 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 2.117e-05/15.64, allocations: 12 kB / 6.911 GB, free: 48.54 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.038e-05/15.64, allocations: 8 kB / 6.911 GB, free: 48.54 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.238e-05/15.64, allocations: 12 kB / 6.911 GB, free: 48.52 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005896/15.64, allocations: 179.7 kB / 6.911 GB, free: 48.35 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004645/15.64, allocations: 1.207 MB / 6.912 GB, free: 47.09 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003188/15.65, allocations: 12 kB / 6.912 GB, free: 47.08 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.209e-05/15.65, allocations: 47.98 kB / 6.912 GB, free: 47.04 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.0001466/15.65, allocations: 128.7 kB / 6.912 GB, free: 46.9 MB / 0.5261 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0004417/15.65, allocations: 169.3 kB / 6.912 GB, free: 46.73 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001333/15.65, allocations: 31.81 kB / 6.912 GB, free: 46.7 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004949/15.65, allocations: 240.3 kB / 6.913 GB, free: 46.46 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.847e-06/15.65, allocations: 4 kB / 6.913 GB, free: 46.46 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.188e-06/15.65, allocations: 0 / 6.913 GB, free: 46.46 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.338e-06/15.65, allocations: 0 / 6.913 GB, free: 46.46 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006149/15.65, allocations: 0.5053 MB / 6.913 GB, free: 45.92 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.903e-06/15.65, allocations: 3.938 kB / 6.913 GB, free: 45.91 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003287/15.65, allocations: 67.94 kB / 6.913 GB, free: 45.85 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.24e-06/15.65, allocations: 4 kB / 6.913 GB, free: 45.84 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.318e-05/15.65, allocations: 7.984 kB / 6.913 GB, free: 45.84 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003897/15.65, allocations: 1.195 MB / 6.914 GB, free: 44.6 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.756e-06/15.65, allocations: 7.969 kB / 6.914 GB, free: 44.59 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004305/15.65, allocations: 277.7 kB / 6.915 GB, free: 44.29 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 7.282e-05/15.65, allocations: 136.8 kB / 6.915 GB, free: 44.14 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.826e-05/15.65, allocations: 4 kB / 6.915 GB, free: 44.14 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001998/15.65, allocations: 8.094 kB / 6.915 GB, free: 44.13 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.467e-05/15.65, allocations: 19.97 kB / 6.915 GB, free: 44.11 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.142e-05/15.65, allocations: 11.94 kB / 6.915 GB, free: 44.1 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.0001006/15.65, allocations: 164.5 kB / 6.915 GB, free: 43.94 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.5e-07/15.65, allocations: 0 / 6.915 GB, free: 43.94 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.007694/15.66, allocations: 1.994 MB / 6.917 GB, free: 41.94 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.01445/15.67, allocations: 3.606 MB / 6.92 GB, free: 38.47 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0008215/15.67, allocations: 257.6 kB / 6.921 GB, free: 38.22 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 4.118e-06/15.67, allocations: 4.438 kB / 6.921 GB, free: 38.22 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0003041/15.67, allocations: 95.88 kB / 6.921 GB, free: 38.12 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003772/15.67, allocations: 32.41 kB / 6.921 GB, free: 38.09 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.7788/16.45, allocations: 244 MB / 7.159 GB, free: 5.832 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.3475/16.8, allocations: 0.7498 MB / 7.16 GB, free: 83.06 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.0007791/16.8, allocations: 138.5 kB / 7.16 GB, free: 83.06 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002542/16.8, allocations: 91.75 kB / 7.16 GB, free: 83.05 MB / 0.5417 GB Notification: Performance of SimCode: time 1.773e-06/16.8, allocations: 0 / 7.16 GB, free: 83.05 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1186/16.92, allocations: 51.49 MB / 7.21 GB, free: 81.84 MB / 0.5417 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001791/16.92, allocations: 202.1 kB / 7.211 GB, free: 81.64 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.876/20.8, allocations: 1.203 kB / 7.211 GB, free: 81.64 MB / 0.5417 GB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceMoistAir_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Media_TestAllProperties_IncompleteMedia_ReferenceMoistAir_fmu --startTime=0 --stopTime=0.1 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Media_TestAllProperties_IncompleteMedia_ReferenceMoistAir.fmu > ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceMoistAir.pipe 2>&1)