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/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: "" <> 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/ModelicaServices trunk/package.mo): time 0.0008339/0.0008339, allocations: 98.08 kB / 17 MB, free: 6.398 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009407/0.0009408, allocations: 192.7 kB / 17.91 MB, free: 5.922 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.404/1.404, allocations: 227.4 MB / 246 MB, free: 12.01 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2303/0.2303, allocations: 45.92 MB / 344.1 MB, free: 12.23 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002756/0.0002757, allocations: 11.92 kB / 418.2 MB, free: 20.75 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1427/0.143, allocations: 63.46 MB / 481.6 MB, free: 5.273 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_pT): time 0.01547/0.1585, allocations: 12.86 MB / 494.5 MB, free: 8.367 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.3018/0.4604, allocations: 24.59 MB / 0.5069 GB, free: 11.13 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002919/0.4607, allocations: 1.781 kB / 0.5069 GB, free: 11.13 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003811/0.4611, allocations: 72.25 kB / 0.507 GB, free: 11.13 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.02461/0.4857, allocations: 6.599 MB / 0.5135 GB, free: 11.07 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00117/0.4869, allocations: 297.1 kB / 0.5137 GB, free: 11.07 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.007758/0.4947, allocations: 3.191 MB / 0.5168 GB, free: 11.03 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.875e-05/0.4948, allocations: 21.61 kB / 0.5169 GB, free: 11.02 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005974/0.4954, allocations: 252.7 kB / 0.5171 GB, free: 11.02 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01109/0.5065, allocations: 5.671 MB / 0.5226 GB, free: 10.93 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 9.532e-05/0.5066, allocations: 7.125 kB / 0.5227 GB, free: 10.93 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02406/0.5307, allocations: 11.1 MB / 0.5335 GB, free: 8.418 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001308/0.5309, allocations: 50.02 kB / 0.5335 GB, free: 8.395 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000229/0.5311, allocations: 72.33 kB / 0.5336 GB, free: 8.324 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01041/0.5415, allocations: 4.519 MB / 0.538 GB, free: 4.508 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.692e-06/0.5416, allocations: 0 / 0.538 GB, free: 4.508 MB / 382.1 MB Notification: Performance of FrontEnd: time 3.266e-06/0.5416, allocations: 2.531 kB / 0.538 GB, free: 4.508 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.654e-06/0.5416, allocations: 0 / 0.538 GB, free: 4.508 MB / 382.1 MB 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.005687/0.5473, allocations: 1.562 MB / 0.5396 GB, free: 2.973 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.742e-05/0.5474, allocations: 8.031 kB / 0.5396 GB, free: 2.965 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.832e-05/0.5475, allocations: 67.66 kB / 0.5396 GB, free: 2.91 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00145/0.5489, allocations: 190.8 kB / 0.5398 GB, free: 2.742 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003009/0.5492, allocations: 265.4 kB / 0.5401 GB, free: 2.469 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.806e-05/0.5493, allocations: 24.72 kB / 0.5401 GB, free: 2.457 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.411e-05/0.5493, allocations: 31.64 kB / 0.5401 GB, free: 2.434 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001835/0.5512, allocations: 0.7612 MB / 0.5409 GB, free: 1.785 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.261e-05/0.5512, allocations: 1.641 kB / 0.5409 GB, free: 1.785 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.871e-05/0.5512, allocations: 13.75 kB / 0.5409 GB, free: 1.781 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.227e-05/0.5513, allocations: 8 kB / 0.5409 GB, free: 1.773 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00177/0.553, allocations: 0.8181 MB / 0.5417 GB, free: 1.121 MB / 382.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.003112/0.5562, allocations: 2.703 MB / 0.5443 GB, free: 14.42 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001122/0.5573, allocations: 355.2 kB / 0.5447 GB, free: 14.13 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001183/0.5574, allocations: 68.86 kB / 0.5447 GB, free: 14.08 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.3243/0.8817, allocations: 147.4 MB / 0.6886 GB, free: 1.941 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00132/0.8831, allocations: 449 kB / 0.6891 GB, free: 1.512 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=31): time 2.525e-06/0.8831, allocations: 0 / 0.6891 GB, free: 1.512 MB / 0.5294 GB Notification: Performance of matching and sorting (n=32): time 0.003624/0.8867, allocations: 1.114 MB / 0.6902 GB, free: 0.5391 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001691/0.8869, allocations: 377.7 kB / 0.6905 GB, free: 88 kB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00019/0.8871, allocations: 181.3 kB / 0.6907 GB, free: 15.93 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 3.439e-05/0.8871, allocations: 32.7 kB / 0.6907 GB, free: 15.89 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001069/0.8873, allocations: 186.6 kB / 0.6909 GB, free: 15.72 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 8.986e-05/0.8874, allocations: 117.6 kB / 0.691 GB, free: 15.62 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.455e-05/0.8874, allocations: 9.625 kB / 0.691 GB, free: 15.62 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001321/0.8875, allocations: 329.3 kB / 0.6913 GB, free: 15.3 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001552/0.8877, allocations: 84.38 kB / 0.6914 GB, free: 15.23 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003464/0.888, allocations: 345.7 kB / 0.6917 GB, free: 14.8 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002146/0.8883, allocations: 128.3 kB / 0.6919 GB, free: 14.71 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.236e-06/0.8883, allocations: 4 kB / 0.6919 GB, free: 14.71 MB / 0.545 GB Notification: Performance of matching and sorting (n=59) (initialization): time 0.0007557/0.889, allocations: 466.5 kB / 0.6923 GB, free: 14.34 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 2.483e-05/0.8891, allocations: 8.188 kB / 0.6923 GB, free: 14.33 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.356e-05/0.8891, allocations: 12 kB / 0.6923 GB, free: 14.32 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.75e-05/0.8891, allocations: 16 kB / 0.6924 GB, free: 14.3 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001359/0.8905, allocations: 206.2 kB / 0.6925 GB, free: 14.12 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006252/0.8911, allocations: 1.183 MB / 0.6937 GB, free: 12.9 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002863/0.8914, allocations: 34.41 kB / 0.6937 GB, free: 12.88 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.597e-05/0.8915, allocations: 42.47 kB / 0.6938 GB, free: 12.84 MB / 0.545 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.0001705/0.8917, allocations: 158.3 kB / 0.6939 GB, free: 12.7 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.279e-05/0.8918, allocations: 36.97 kB / 0.694 GB, free: 12.66 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002893/0.8947, allocations: 2.876 MB / 0.6968 GB, free: 10.33 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.691e-05/0.8947, allocations: 23.97 kB / 0.6968 GB, free: 10.31 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.068e-05/0.8947, allocations: 9.703 kB / 0.6968 GB, free: 10.3 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.067e-06/0.8947, allocations: 4 kB / 0.6968 GB, free: 10.3 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001015/0.8957, allocations: 0.9668 MB / 0.6978 GB, free: 9.285 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.497e-06/0.8958, allocations: 4 kB / 0.6978 GB, free: 9.281 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005455/0.8963, allocations: 100.6 kB / 0.6979 GB, free: 9.184 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002603/0.8966, allocations: 163.3 kB / 0.698 GB, free: 9.023 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.71e-05/0.8966, allocations: 16 kB / 0.698 GB, free: 9.008 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004201/0.8971, allocations: 0.642 MB / 0.6987 GB, free: 8.34 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.597e-06/0.8971, allocations: 3.938 kB / 0.6987 GB, free: 8.336 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001098/0.8982, allocations: 0.9713 MB / 0.6996 GB, free: 7.305 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000305/0.8985, allocations: 354.8 kB / 0.6999 GB, free: 6.938 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.99e-05/0.8986, allocations: 15.83 kB / 0.7 GB, free: 6.926 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002969/0.8989, allocations: 20 kB / 0.7 GB, free: 6.906 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.744e-05/0.8989, allocations: 35.84 kB / 0.7 GB, free: 6.871 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.149e-05/0.899, allocations: 18.3 kB / 0.7 GB, free: 6.855 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0005466/0.8995, allocations: 467 kB / 0.7005 GB, free: 6.398 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.21e-07/0.8995, allocations: 0 / 0.7005 GB, free: 6.398 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.005333/0.9049, allocations: 1.624 MB / 0.7021 GB, free: 4.773 MB / 0.545 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 ($cse15.phase,$cse15.region,$cse16.phase,$cse16.region,$cse17.phase,$cse17.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.01081/0.9157, allocations: 3.128 MB / 0.7051 GB, free: 1.734 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.00183/0.9176, allocations: 0.5354 MB / 0.7056 GB, free: 1.203 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 7.274e-06/0.9176, allocations: 4.188 kB / 0.7056 GB, free: 1.199 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0004601/0.9181, allocations: 357.6 kB / 0.706 GB, free: 0.8477 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008148/0.9189, allocations: 130.6 kB / 0.7061 GB, free: 0.7266 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.9861/1.905, allocations: 350.4 MB / 1.048 GB, free: 76.05 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004198/1.906, allocations: 0.9862 MB / 1.049 GB, free: 75.04 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0007711/1.906, allocations: 0.5021 MB / 1.05 GB, free: 74.56 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003115/1.907, allocations: 311.3 kB / 1.05 GB, free: 74.25 MB / 0.545 GB Notification: Performance of SimCode: time 1.854e-06/1.907, allocations: 0 / 1.05 GB, free: 74.25 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4369/2.344, allocations: 67.07 MB / 1.116 GB, free: 164.5 MB / 0.545 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001867/2.344, allocations: 240.1 kB / 1.116 GB, free: 164.3 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.132/8.476, allocations: 3.125 kB / 1.116 GB, free: 164.3 MB / 0.545 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