Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_pT.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.WaterIF97_pT,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Media_TestAllProperties_IncompleteMedia_WaterIF97_pT",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_pT,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Media_TestAllProperties_IncompleteMedia_WaterIF97_pT",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001066/0.001066, allocations: 196.5 kB / 14.16 MB, free: 1.16 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.331/1.331, allocations: 225.4 MB / 240.1 MB, free: 15.13 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008566/0.0008567, allocations: 83.92 kB / 292.1 MB, free: 5.961 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1672/0.1672, allocations: 45.14 MB / 389.3 MB, free: 11.86 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 2.994e-05/2.996e-05, allocations: 4 kB / 460.5 MB, free: 69.93 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09553/0.09558, allocations: 63.24 MB / 0.5115 GB, free: 6.703 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.722/5.818, allocations: 2.756 GB / 3.268 GB, free: 32.2 MB / 0.5417 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002901/5.818, allocations: 79.33 kB / 3.268 GB, free: 32.15 MB / 0.5417 GB Notification: Performance of FrontEnd - DAE generated: time 0.7441/6.562, allocations: 216.9 MB / 3.48 GB, free: 47.71 MB / 0.5417 GB Notification: Performance of FrontEnd: time 1.352e-06/6.562, allocations: 0 / 3.48 GB, free: 47.71 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 1.143e-05/6.562, allocations: 4 kB / 3.48 GB, free: 47.71 MB / 0.5417 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 77 * Number of variables: 77 Notification: Performance of Generate backend data structure: time 0.00754/6.57, allocations: 1.751 MB / 3.482 GB, free: 45.91 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 4.493e-05/6.57, allocations: 11.97 kB / 3.482 GB, free: 45.9 MB / 0.5417 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.182e-05/6.57, allocations: 74.47 kB / 3.482 GB, free: 45.82 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001389/6.571, allocations: 187.5 kB / 3.482 GB, free: 45.64 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002885/6.572, allocations: 274.6 kB / 3.482 GB, free: 45.33 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.088e-05/6.572, allocations: 28.72 kB / 3.482 GB, free: 45.3 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.574e-05/6.572, allocations: 28 kB / 3.482 GB, free: 45.27 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001738/6.574, allocations: 0.801 MB / 3.483 GB, free: 44.42 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.31e-05/6.574, allocations: 0 / 3.483 GB, free: 44.42 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.743e-05/6.574, allocations: 19.95 kB / 3.483 GB, free: 44.4 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.856e-06/6.574, allocations: 8 kB / 3.483 GB, free: 44.39 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001664/6.575, allocations: 0.8606 MB / 3.484 GB, free: 43.54 MB / 0.5417 GB Warning: The model contains alias variables with conflicting start and/or 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.002998/6.578, allocations: 2.932 MB / 3.487 GB, free: 40.38 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009705/6.579, allocations: 399.2 kB / 3.487 GB, free: 39.98 MB / 0.5417 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.954e-05/6.579, allocations: 68.84 kB / 3.487 GB, free: 39.91 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 0.5664/7.146, allocations: 145.6 MB / 3.629 GB, free: 61.8 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001087/7.147, allocations: 479.3 kB / 3.63 GB, free: 61.65 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=31): time 3.327e-06/7.147, allocations: 0 / 3.63 GB, free: 61.65 MB / 0.5417 GB Notification: Performance of matching and sorting (n=32): time 0.00329/7.15, allocations: 1.152 MB / 3.631 GB, free: 61.4 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.696e-05/7.15, allocations: 371.2 kB / 3.631 GB, free: 60.96 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001221/7.151, allocations: 170.6 kB / 3.631 GB, free: 60.86 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 3.35e-05/7.151, allocations: 33.98 kB / 3.631 GB, free: 60.83 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 6.332e-05/7.151, allocations: 191.9 kB / 3.632 GB, free: 60.7 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 6.659e-05/7.151, allocations: 115.6 kB / 3.632 GB, free: 60.64 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.175e-05/7.151, allocations: 9.438 kB / 3.632 GB, free: 60.64 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 4.416e-05/7.151, allocations: 330.9 kB / 3.632 GB, free: 60.33 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001291/7.151, allocations: 73.45 kB / 3.632 GB, free: 60.33 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001891/7.151, allocations: 339.9 kB / 3.632 GB, free: 59.98 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001857/7.151, allocations: 128.6 kB / 3.633 GB, free: 59.97 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.397e-06/7.151, allocations: 3.625 kB / 3.633 GB, free: 59.97 MB / 0.5417 GB Notification: Performance of matching and sorting (n=59) (initialization): time 0.0006171/7.152, allocations: 453.5 kB / 3.633 GB, free: 59.92 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 1.538e-05/7.152, allocations: 10.19 kB / 3.633 GB, free: 59.92 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.578e-06/7.152, allocations: 15.06 kB / 3.633 GB, free: 59.92 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.11e-05/7.152, allocations: 11.53 kB / 3.633 GB, free: 59.92 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001337/7.153, allocations: 206.4 kB / 3.633 GB, free: 59.91 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003194/7.154, allocations: 1.177 MB / 3.634 GB, free: 58.75 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003189/7.154, allocations: 31.62 kB / 3.634 GB, free: 58.74 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.054e-05/7.154, allocations: 39.02 kB / 3.634 GB, free: 58.74 MB / 0.5417 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 42 * Number of states: 0 () * Number of discrete variables: 8 ($whenCondition1,state.phase,state_h_is.phase,medium.phase,state5.phase,state4.phase,state3.phase,state2.phase) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (59): * Single equations (assignments): 57 * 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.0001125/7.154, allocations: 154.6 kB / 3.635 GB, free: 58.63 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.868e-05/7.154, allocations: 24.34 kB / 3.635 GB, free: 58.62 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001485/7.156, allocations: 1.886 MB / 3.636 GB, free: 58.36 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.112e-05/7.156, allocations: 24.89 kB / 3.636 GB, free: 58.36 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.851e-06/7.156, allocations: 3.812 kB / 3.636 GB, free: 58.36 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.412e-06/7.156, allocations: 3.906 kB / 3.636 GB, free: 58.36 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007927/7.157, allocations: 0.8851 MB / 3.637 GB, free: 58.13 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.5e-06/7.157, allocations: 3.938 kB / 3.637 GB, free: 58.13 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005549/7.157, allocations: 111.8 kB / 3.637 GB, free: 58.13 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002182/7.157, allocations: 228.8 kB / 3.638 GB, free: 58.1 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.592e-05/7.157, allocations: 30.62 kB / 3.638 GB, free: 58.1 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002302/7.158, allocations: 0.635 MB / 3.638 GB, free: 57.57 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.326e-06/7.158, allocations: 3.625 kB / 3.638 GB, free: 57.57 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000987/7.159, allocations: 1.169 MB / 3.639 GB, free: 57.11 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002456/7.159, allocations: 273.5 kB / 3.64 GB, free: 56.97 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.444e-05/7.159, allocations: 7.219 kB / 3.64 GB, free: 56.97 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003235/7.159, allocations: 20.97 kB / 3.64 GB, free: 56.97 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.406e-05/7.159, allocations: 39.38 kB / 3.64 GB, free: 56.97 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.818e-05/7.159, allocations: 29.45 kB / 3.64 GB, free: 56.97 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.000291/7.16, allocations: 330.3 kB / 3.64 GB, free: 56.88 MB / 0.5417 GB Notification: Performance of sort global known variables: time 1.6e-07/7.16, allocations: 0 / 3.64 GB, free: 56.88 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.005901/7.166, allocations: 1.647 MB / 3.642 GB, free: 56.88 MB / 0.5417 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 11 ($cse11.phase,$cse11.region,$cse12.phase,$cse12.region,$cse13.phase,$cse13.region,$cse14.phase,$cse14.region,$cse15.phase,$cse15.region,$whenCondition1) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (36): * Single equations (assignments): 31 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 1} Notification: Performance of Backend phase and start with SimCode phase: time 0.01218/7.178, allocations: 4.259 MB / 3.646 GB, free: 53.93 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.001536/7.179, allocations: 0.517 MB / 3.646 GB, free: 53.63 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 7.774e-06/7.179, allocations: 8.125 kB / 3.646 GB, free: 53.62 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.0004242/7.18, allocations: 371.2 kB / 3.647 GB, free: 53.46 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006862/7.181, allocations: 112.6 kB / 3.647 GB, free: 53.4 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 1.359/8.539, allocations: 497.5 MB / 4.133 GB, free: 89.49 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003805/8.54, allocations: 0.9413 MB / 4.134 GB, free: 88.79 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.001474/8.541, allocations: 1.194 MB / 4.135 GB, free: 88.78 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002684/8.541, allocations: 259.5 kB / 4.135 GB, free: 88.77 MB / 0.5417 GB Notification: Performance of SimCode: time 8.92e-07/8.541, allocations: 0 / 4.135 GB, free: 88.77 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0823/8.624, allocations: 48.42 MB / 4.182 GB, free: 88.35 MB / 0.5417 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001559/8.624, allocations: 201.2 kB / 4.183 GB, free: 88.12 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.232/11.86, allocations: 3.969 kB / 4.183 GB, free: 88.12 MB / 0.5417 GB (rm -f ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_pT.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_pT.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_pT.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_pT.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_pT_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Media_TestAllProperties_IncompleteMedia_WaterIF97_pT_fmu --startTime=0 --stopTime=0.1 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Media_TestAllProperties_IncompleteMedia_WaterIF97_pT.fmu > ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_pT.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_pT_res.mat does not exist to compare? outputFormat=mat