Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Media.Examples.SimpleLiquidWater.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) 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(Modelica.Media.Examples.SimpleLiquidWater,fileNamePrefix="Modelica_trunk_Modelica_Media_Examples_SimpleLiquidWater",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Media.Examples.SimpleLiquidWater,fileNamePrefix="Modelica_trunk_Modelica_Media_Examples_SimpleLiquidWater",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00116/0.00116, allocations: 97.72 kB / 17 MB, free: 6.422 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001564/0.001564, allocations: 194.1 kB / 17.9 MB, free: 5.938 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.449/1.449, allocations: 227.4 MB / 246 MB, free: 11.99 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002332/0.0002335, allocations: 4 kB / 306.8 MB, free: 1.5 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09572/0.09597, allocations: 51.48 MB / 358.3 MB, free: 14.02 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.SimpleLiquidWater): time 0.004131/0.1001, allocations: 4.029 MB / 362.3 MB, free: 9.957 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001635/0.1018, allocations: 1.679 MB / 364 MB, free: 8.273 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.625e-05/0.1019, allocations: 4 kB / 364 MB, free: 8.27 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001972/0.1021, allocations: 35.81 kB / 364 MB, free: 8.234 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002907/0.1024, allocations: 107.4 kB / 364.1 MB, free: 8.129 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005258/0.1029, allocations: 214.3 kB / 364.3 MB, free: 7.926 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003355/0.1033, allocations: 322.8 kB / 364.7 MB, free: 7.609 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.497e-05/0.1033, allocations: 9.125 kB / 364.7 MB, free: 7.602 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002186/0.1036, allocations: 119.6 kB / 364.8 MB, free: 7.484 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001198/0.1037, allocations: 75.69 kB / 364.9 MB, free: 7.41 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 2.245e-05/0.1037, allocations: 8 kB / 364.9 MB, free: 7.402 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002023/0.1039, allocations: 79.95 kB / 364.9 MB, free: 7.324 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 6.549e-05/0.104, allocations: 35.88 kB / 365 MB, free: 7.289 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 4.802e-05/0.1041, allocations: 53.64 kB / 365 MB, free: 7.23 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002204/0.1043, allocations: 147.9 kB / 365.2 MB, free: 7.086 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.649e-06/0.1043, allocations: 4 kB / 365.2 MB, free: 7.082 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.693e-06/0.1043, allocations: 0 / 365.2 MB, free: 7.082 MB / 302.1 MB Notification: Performance of Transformations before backend: time 4.198e-06/0.1043, allocations: 0 / 365.2 MB, free: 7.082 MB / 302.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 34 * Number of variables: 34 Notification: Performance of Generate backend data structure: time 0.0007736/0.1051, allocations: 451.2 kB / 365.6 MB, free: 6.59 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.807e-05/0.1051, allocations: 12.02 kB / 365.6 MB, free: 6.578 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.447e-05/0.1052, allocations: 50.56 kB / 365.7 MB, free: 6.52 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001601/0.1054, allocations: 23.8 kB / 365.7 MB, free: 6.496 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001926/0.1056, allocations: 202.9 kB / 365.9 MB, free: 6.258 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.225e-05/0.1056, allocations: 12.28 kB / 365.9 MB, free: 6.246 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.196e-05/0.1056, allocations: 15.91 kB / 365.9 MB, free: 6.23 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003721/0.106, allocations: 213.5 kB / 366.1 MB, free: 6 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.331e-05/0.106, allocations: 4 kB / 366.1 MB, free: 5.996 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.444e-05/0.1061, allocations: 8 kB / 366.1 MB, free: 5.988 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.762e-06/0.1061, allocations: 4 kB / 366.2 MB, free: 5.984 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003191/0.1064, allocations: 155.7 kB / 366.3 MB, free: 5.832 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00114/0.1075, allocations: 0.9402 MB / 367.2 MB, free: 4.816 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003521/0.1079, allocations: 158.6 kB / 367.4 MB, free: 4.652 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000128/0.108, allocations: 52.83 kB / 367.5 MB, free: 4.598 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004784/0.1085, allocations: 0.5148 MB / 368 MB, free: 4.02 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.95e-05/0.1086, allocations: 38.45 kB / 368 MB, free: 3.973 MB / 302.1 MB Notification: Performance of pre-optimization done (n=14): time 1.473e-06/0.1086, allocations: 0 / 368 MB, free: 3.973 MB / 302.1 MB Notification: Performance of matching and sorting (n=20): time 0.002225/0.1108, allocations: 0.7525 MB / 368.8 MB, free: 3.168 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.121e-05/0.1109, allocations: 59.41 kB / 368.8 MB, free: 3.098 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001189/0.111, allocations: 153.1 kB / 369 MB, free: 2.941 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.429e-05/0.111, allocations: 33.7 kB / 369 MB, free: 2.902 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.916e-05/0.1111, allocations: 135.8 kB / 369.1 MB, free: 2.766 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.356e-05/0.1111, allocations: 78.94 kB / 369.2 MB, free: 2.688 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.536e-05/0.1112, allocations: 4 kB / 369.2 MB, free: 2.684 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 8.892e-05/0.1113, allocations: 322.8 kB / 369.5 MB, free: 2.359 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002249/0.1115, allocations: 91.69 kB / 369.6 MB, free: 2.27 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002636/0.1118, allocations: 189.8 kB / 369.8 MB, free: 2.035 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002436/0.112, allocations: 102 kB / 369.9 MB, free: 1.938 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.633e-06/0.112, allocations: 0 / 369.9 MB, free: 1.938 MB / 302.1 MB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0006303/0.1127, allocations: 318 kB / 370.2 MB, free: 1.625 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.9e-05/0.1127, allocations: 10.81 kB / 370.2 MB, free: 1.617 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.966e-06/0.1127, allocations: 7.953 kB / 370.2 MB, free: 1.609 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.567e-05/0.1127, allocations: 4.469 kB / 370.2 MB, free: 1.605 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003489/0.1131, allocations: 87.88 kB / 370.3 MB, free: 1.52 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.336e-05/0.1131, allocations: 11.94 kB / 370.3 MB, free: 1.508 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000202/0.1133, allocations: 15.98 kB / 370.3 MB, free: 1.492 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.113e-05/0.1133, allocations: 16 kB / 370.4 MB, free: 1.477 MB / 302.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (37): * Single equations (assignments): 37 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001125/0.1135, allocations: 133.7 kB / 370.5 MB, free: 1.336 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.275e-05/0.1135, allocations: 15.81 kB / 370.5 MB, free: 1.32 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005946/0.1141, allocations: 245.1 kB / 370.7 MB, free: 1.078 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.382e-06/0.1141, allocations: 4 kB / 370.8 MB, free: 1.074 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.097e-06/0.1141, allocations: 3.938 kB / 370.8 MB, free: 1.07 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.005e-06/0.1142, allocations: 7.938 kB / 370.8 MB, free: 1.062 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001128/0.1153, allocations: 0.5916 MB / 371.4 MB, free: 412 kB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.544e-06/0.1153, allocations: 8.125 kB / 371.4 MB, free: 404 kB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002699/0.1156, allocations: 47.95 kB / 371.4 MB, free: 356 kB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.26e-06/0.1156, allocations: 7.938 kB / 371.4 MB, free: 348 kB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.024e-05/0.1156, allocations: 8 kB / 371.4 MB, free: 340 kB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.747e-06/0.1156, allocations: 4 kB / 371.4 MB, free: 336 kB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.503e-06/0.1156, allocations: 0 / 371.4 MB, free: 336 kB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.1734/0.289, allocations: 398.3 kB / 371.8 MB, free: 20.05 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.166e-05/0.2892, allocations: 92.88 kB / 371.9 MB, free: 19.96 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.474e-05/0.2892, allocations: 9.078 kB / 371.9 MB, free: 19.96 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002583/0.2895, allocations: 14.5 kB / 371.9 MB, free: 19.96 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.402e-05/0.2895, allocations: 13.97 kB / 371.9 MB, free: 19.96 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.561e-05/0.2896, allocations: 10.39 kB / 372 MB, free: 19.96 MB / 302.1 MB Notification: Performance of sorting global known variables: time 9.506e-05/0.2897, allocations: 108.9 kB / 372.1 MB, free: 19.89 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.2897, allocations: 2.281 kB / 372.1 MB, free: 19.89 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0004813/0.2902, allocations: 58.69 kB / 372.1 MB, free: 19.89 MB / 302.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 1 (medium.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (20): * Single equations (assignments): 20 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001129/0.2913, allocations: 0.9556 MB / 373.1 MB, free: 19.2 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0006078/0.2919, allocations: 218.3 kB / 373.3 MB, free: 19.2 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 4.258e-06/0.2919, allocations: 1.094 kB / 373.3 MB, free: 19.2 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002479/0.2922, allocations: 94.45 kB / 373.4 MB, free: 19.2 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004381/0.2926, allocations: 37.42 kB / 373.4 MB, free: 19.2 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002233/0.2949, allocations: 1.244 MB / 374.7 MB, free: 18.58 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001479/0.295, allocations: 0.7172 MB / 375.4 MB, free: 17.88 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0002885/0.2953, allocations: 54.55 kB / 375.4 MB, free: 17.86 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001217/0.2955, allocations: 48.44 kB / 375.5 MB, free: 17.86 MB / 302.1 MB Notification: Performance of SimCode: time 3.11e-07/0.2955, allocations: 0 / 375.5 MB, free: 17.86 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01547/0.311, allocations: 4.084 MB / 379.6 MB, free: 17.52 MB / 302.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001499/0.3111, allocations: 175.5 kB / 379.7 MB, free: 17.29 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.766/2.077, allocations: 1.031 kB / 379.7 MB, free: 17.29 MB / 302.1 MB (rm -f Modelica_trunk_Modelica.Media.Examples.SimpleLiquidWater.pipe ; mkfifo Modelica_trunk_Modelica.Media.Examples.SimpleLiquidWater.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Media.Examples.SimpleLiquidWater.pipe >> ../files/Modelica_trunk_Modelica.Media.Examples.SimpleLiquidWater.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_trunk_Modelica.Media.Examples.SimpleLiquidWater_res.mat --tempDir=temp_Modelica_trunk_Modelica_Media_Examples_SimpleLiquidWater_fmu --startTime=0 --stopTime=100 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Media_Examples_SimpleLiquidWater.fmu > Modelica_trunk_Modelica.Media.Examples.SimpleLiquidWater.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_trunk_Modelica.Media.Examples.SimpleLiquidWater_res.mat does not exist to compare? outputFormat=mat