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.002066/0.002066, allocations: 198.9 kB / 17.08 MB, free: 5.078 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.514/1.514, allocations: 227.2 MB / 245 MB, free: 5.973 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001132/0.001131, allocations: 106.3 kB / 297.3 MB, free: 5.992 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.4256/0.4256, allocations: 45.22 MB / 394.6 MB, free: 31.75 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003292/0.0003292, allocations: 8 kB / 468.5 MB, free: 7.637 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3974/0.3977, allocations: 63.25 MB / 0.5193 GB, free: 37.21 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 7.493/7.89, allocations: 2.757 GB / 3.276 GB, free: 163 MB / 0.5417 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000368/7.891, allocations: 85.86 kB / 3.276 GB, free: 163 MB / 0.5417 GB Notification: Performance of FrontEnd - DAE generated: time 0.5249/8.416, allocations: 217.3 MB / 3.488 GB, free: 6.023 MB / 0.5417 GB Notification: Performance of FrontEnd: time 3.697e-06/8.416, allocations: 0 / 3.488 GB, free: 6.023 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 2.769e-05/8.416, allocations: 4 kB / 3.488 GB, free: 6.02 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.01154/8.428, allocations: 1.758 MB / 3.49 GB, free: 4.211 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 9.072e-05/8.428, allocations: 8.031 kB / 3.49 GB, free: 4.203 MB / 0.5417 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002444/8.428, allocations: 70.53 kB / 3.49 GB, free: 4.125 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001932/8.43, allocations: 187.4 kB / 3.49 GB, free: 3.941 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006166/8.43, allocations: 274.6 kB / 3.49 GB, free: 3.633 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.851e-05/8.431, allocations: 20.66 kB / 3.49 GB, free: 3.613 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.581e-05/8.431, allocations: 28 kB / 3.49 GB, free: 3.586 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002259/8.433, allocations: 0.7525 MB / 3.491 GB, free: 2.781 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.719e-05/8.433, allocations: 8 kB / 3.491 GB, free: 2.773 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.977e-05/8.433, allocations: 15.95 kB / 3.491 GB, free: 2.758 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.775e-05/8.433, allocations: 11.98 kB / 3.491 GB, free: 2.746 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002054/8.435, allocations: 0.802 MB / 3.492 GB, free: 1.941 MB / 0.5417 GB 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.3776/8.813, allocations: 2.932 MB / 3.495 GB, free: 89.46 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00135/8.814, allocations: 337.9 kB / 3.495 GB, free: 89.44 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 0.3428/9.157, allocations: 144.8 MB / 3.637 GB, free: 39.24 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001613/9.158, allocations: 430 kB / 3.637 GB, free: 39.09 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=31): time 3.907e-06/9.159, allocations: 2.344 kB / 3.637 GB, free: 39.09 MB / 0.5573 GB Notification: Performance of matching and sorting (n=32): time 0.00481/9.163, allocations: 1.102 MB / 3.638 GB, free: 38.59 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000292/9.164, allocations: 372.5 kB / 3.638 GB, free: 38.14 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002499/9.164, allocations: 172.3 kB / 3.639 GB, free: 38 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 5.228e-05/9.164, allocations: 37.27 kB / 3.639 GB, free: 37.97 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 0.000152/9.164, allocations: 189.3 kB / 3.639 GB, free: 37.82 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001276/9.164, allocations: 114.1 kB / 3.639 GB, free: 37.75 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.227e-05/9.164, allocations: 5.938 kB / 3.639 GB, free: 37.75 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 0.0001976/9.165, allocations: 337 kB / 3.639 GB, free: 37.43 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001864/9.165, allocations: 70.81 kB / 3.639 GB, free: 37.39 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003834/9.165, allocations: 347.4 kB / 3.64 GB, free: 36.98 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003478/9.165, allocations: 130.8 kB / 3.64 GB, free: 36.91 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.636e-06/9.166, allocations: 4 kB / 3.64 GB, free: 36.91 MB / 0.5573 GB Notification: Performance of matching and sorting (n=59) (initialization): time 0.001039/9.167, allocations: 456.6 kB / 3.64 GB, free: 36.65 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 3.073e-05/9.167, allocations: 12 kB / 3.64 GB, free: 36.64 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.811e-05/9.167, allocations: 8 kB / 3.64 GB, free: 36.63 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.562e-05/9.167, allocations: 16 kB / 3.64 GB, free: 36.61 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001926/9.169, allocations: 195.7 kB / 3.64 GB, free: 36.48 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009609/9.17, allocations: 1.184 MB / 3.642 GB, free: 35.28 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004976/9.17, allocations: 25.38 kB / 3.642 GB, free: 35.27 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.845e-05/9.17, allocations: 50.5 kB / 3.642 GB, free: 35.23 MB / 0.5573 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 () * Number of clocked 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.0003376/9.171, allocations: 172 kB / 3.642 GB, free: 35.1 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001092/9.171, allocations: 34.59 kB / 3.642 GB, free: 35.07 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00381/9.174, allocations: 2.828 MB / 3.645 GB, free: 33.6 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.08e-05/9.175, allocations: 21.12 kB / 3.645 GB, free: 33.59 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.679e-06/9.175, allocations: 4.375 kB / 3.645 GB, free: 33.59 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.016e-05/9.175, allocations: 8 kB / 3.645 GB, free: 33.58 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001401/9.176, allocations: 0.9701 MB / 3.646 GB, free: 33.01 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.288e-05/9.176, allocations: 6.719 kB / 3.646 GB, free: 33.01 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008393/9.177, allocations: 101.8 kB / 3.646 GB, free: 32.95 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003261/9.177, allocations: 162 kB / 3.646 GB, free: 32.85 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.287e-05/9.177, allocations: 13.84 kB / 3.646 GB, free: 32.84 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004964/9.178, allocations: 0.6415 MB / 3.646 GB, free: 32.25 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.055e-06/9.178, allocations: 0 / 3.646 GB, free: 32.25 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001166/9.179, allocations: 1.105 MB / 3.647 GB, free: 31.38 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00039/9.179, allocations: 361 kB / 3.648 GB, free: 31.16 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.188e-05/9.179, allocations: 6.688 kB / 3.648 GB, free: 31.16 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003335/9.18, allocations: 29.22 kB / 3.648 GB, free: 31.14 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.838e-05/9.18, allocations: 27.11 kB / 3.648 GB, free: 31.13 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.975e-05/9.18, allocations: 23.36 kB / 3.648 GB, free: 31.12 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.0004777/9.18, allocations: 461.8 kB / 3.648 GB, free: 30.83 MB / 0.5573 GB Notification: Performance of sort global known variables: time 2.11e-07/9.18, allocations: 0 / 3.648 GB, free: 30.83 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.009973/9.19, allocations: 1.653 MB / 3.65 GB, free: 29.59 MB / 0.5573 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 ($cse16.phase,$cse16.region,$cse17.phase,$cse17.region,$cse18.phase,$cse18.region,$cse19.phase,$cse19.region,$cse20.phase,$cse20.region,$whenCondition1) * Number of discrete states: 0 () * Number of clocked 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.01689/9.207, allocations: 4.269 MB / 3.654 GB, free: 26.05 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.00169/9.209, allocations: 0.5229 MB / 3.655 GB, free: 25.77 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 8.557e-06/9.209, allocations: 0 / 3.655 GB, free: 25.77 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.0005575/9.21, allocations: 365.5 kB / 3.655 GB, free: 25.6 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008182/9.21, allocations: 121.8 kB / 3.655 GB, free: 25.54 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 1.875/11.09, allocations: 0.5754 GB / 4.231 GB, free: 75.1 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004964/11.09, allocations: 1.002 MB / 4.231 GB, free: 74.39 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.0008399/11.09, allocations: 0.4909 MB / 4.232 GB, free: 74.36 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003899/11.09, allocations: 310.6 kB / 4.232 GB, free: 74.12 MB / 0.5573 GB Notification: Performance of SimCode: time 2.074e-06/11.09, allocations: 0 / 4.232 GB, free: 74.12 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09604/11.18, allocations: 48.73 MB / 4.28 GB, free: 47.29 MB / 0.5573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002342/11.18, allocations: 237.1 kB / 4.28 GB, free: 47.04 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.365/15.55, allocations: 0 / 4.28 GB, free: 47.04 MB / 0.5573 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