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.001002/0.001002, allocations: 95.41 kB / 16.98 MB, free: 5.938 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001096/0.001095, allocations: 205.8 kB / 17.89 MB, free: 5.586 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.634/1.634, allocations: 227.3 MB / 245.9 MB, free: 10.3 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002992/0.0002993, allocations: 8 kB / 306.7 MB, free: 1.266 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1295/0.1299, allocations: 51.5 MB / 358.2 MB, free: 13.78 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.SimpleLiquidWater): time 0.004135/0.134, allocations: 3.745 MB / 361.9 MB, free: 10 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001604/0.1357, allocations: 1.52 MB / 363.5 MB, free: 8.48 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.301e-05/0.1357, allocations: 4 kB / 363.5 MB, free: 8.477 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002299/0.136, allocations: 31.86 kB / 363.5 MB, free: 8.445 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002365/0.1362, allocations: 103.7 kB / 363.6 MB, free: 8.344 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005106/0.1367, allocations: 223.3 kB / 363.8 MB, free: 8.129 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.000254/0.137, allocations: 167.7 kB / 364 MB, free: 7.965 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.289e-05/0.1371, allocations: 17.12 kB / 364 MB, free: 7.949 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002411/0.1373, allocations: 111.7 kB / 364.1 MB, free: 7.84 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001039/0.1374, allocations: 63.77 kB / 364.2 MB, free: 7.777 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 2.319e-05/0.1375, allocations: 7.984 kB / 364.2 MB, free: 7.77 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002235/0.1377, allocations: 83.91 kB / 364.2 MB, free: 7.688 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 7.854e-05/0.1378, allocations: 39.88 kB / 364.3 MB, free: 7.648 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 4.987e-05/0.1379, allocations: 49.64 kB / 364.3 MB, free: 7.594 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002293/0.1381, allocations: 143.9 kB / 364.5 MB, free: 7.453 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.875e-06/0.1381, allocations: 0 / 364.5 MB, free: 7.453 MB / 302.1 MB Notification: Performance of FrontEnd: time 3.707e-06/0.1381, allocations: 4 kB / 364.5 MB, free: 7.449 MB / 302.1 MB Notification: Performance of Transformations before backend: time 7.895e-06/0.1381, allocations: 3.938 kB / 364.5 MB, free: 7.445 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.0008486/0.139, allocations: 451.2 kB / 364.9 MB, free: 6.953 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.21e-05/0.139, allocations: 16.03 kB / 364.9 MB, free: 6.938 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.705e-05/0.1391, allocations: 50.55 kB / 365 MB, free: 6.879 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001623/0.1393, allocations: 23.8 kB / 365 MB, free: 6.855 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002084/0.1395, allocations: 202.9 kB / 365.2 MB, free: 6.617 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.385e-05/0.1395, allocations: 12.28 kB / 365.2 MB, free: 6.605 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.613e-05/0.1395, allocations: 15.91 kB / 365.2 MB, free: 6.59 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003918/0.1399, allocations: 209.5 kB / 365.4 MB, free: 6.363 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.481e-05/0.14, allocations: 3.938 kB / 365.4 MB, free: 6.359 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.351e-05/0.14, allocations: 8 kB / 365.5 MB, free: 6.352 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.407e-06/0.14, allocations: 4 kB / 365.5 MB, free: 6.348 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003411/0.1404, allocations: 155.8 kB / 365.6 MB, free: 6.195 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001249/0.1416, allocations: 0.944 MB / 366.6 MB, free: 5.176 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003695/0.142, allocations: 150.8 kB / 366.7 MB, free: 5.02 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005209/0.1425, allocations: 0.4995 MB / 367.2 MB, free: 4.457 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.843e-05/0.1426, allocations: 38.56 kB / 367.2 MB, free: 4.41 MB / 302.1 MB Notification: Performance of pre-optimization done (n=14): time 1.583e-06/0.1426, allocations: 0 / 367.2 MB, free: 4.41 MB / 302.1 MB Notification: Performance of matching and sorting (n=20): time 0.002358/0.1449, allocations: 0.7593 MB / 368 MB, free: 3.602 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.612e-05/0.145, allocations: 55.41 kB / 368.1 MB, free: 3.535 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001381/0.1451, allocations: 150.8 kB / 368.2 MB, free: 3.379 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.039e-05/0.1452, allocations: 41.62 kB / 368.2 MB, free: 3.332 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.52e-05/0.1453, allocations: 143.8 kB / 368.4 MB, free: 3.188 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.109e-05/0.1453, allocations: 74.94 kB / 368.5 MB, free: 3.113 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.4e-05/0.1454, allocations: 4 kB / 368.5 MB, free: 3.109 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001183/0.1455, allocations: 326.8 kB / 368.8 MB, free: 2.781 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002291/0.1457, allocations: 87.69 kB / 368.9 MB, free: 2.695 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002827/0.146, allocations: 181.9 kB / 369 MB, free: 2.469 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002563/0.1463, allocations: 112.4 kB / 369.1 MB, free: 2.363 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.026e-06/0.1463, allocations: 4 kB / 369.2 MB, free: 2.359 MB / 302.1 MB Notification: Performance of matching and sorting (n=37) (initialization): time 0.000624/0.1469, allocations: 310.6 kB / 369.5 MB, free: 2.051 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.84e-05/0.147, allocations: 8 kB / 369.5 MB, free: 2.043 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.115e-06/0.147, allocations: 4 kB / 369.5 MB, free: 2.039 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.591e-05/0.147, allocations: 7.953 kB / 369.5 MB, free: 2.031 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003477/0.1473, allocations: 88.09 kB / 369.6 MB, free: 1.945 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.092e-05/0.1474, allocations: 12 kB / 369.6 MB, free: 1.934 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002158/0.1476, allocations: 15.98 kB / 369.6 MB, free: 1.918 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.332e-05/0.1476, allocations: 16 kB / 369.6 MB, free: 1.902 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.0001123/0.1477, allocations: 133.7 kB / 369.7 MB, free: 1.762 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.312e-05/0.1478, allocations: 15.81 kB / 369.8 MB, free: 1.746 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000616/0.1484, allocations: 246.5 kB / 370 MB, free: 1.5 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.529e-06/0.1484, allocations: 4 kB / 370 MB, free: 1.496 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.779e-06/0.1484, allocations: 0 / 370 MB, free: 1.496 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.71e-06/0.1484, allocations: 3.984 kB / 370 MB, free: 1.492 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00116/0.1496, allocations: 0.5915 MB / 370.6 MB, free: 0.832 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.154e-06/0.1496, allocations: 0 / 370.6 MB, free: 0.832 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002788/0.1499, allocations: 60.02 kB / 370.6 MB, free: 0.7734 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.318e-06/0.1499, allocations: 4 kB / 370.7 MB, free: 0.7695 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.055e-05/0.15, allocations: 4 kB / 370.7 MB, free: 0.7656 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.096e-06/0.15, allocations: 3.984 kB / 370.7 MB, free: 0.7617 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.545e-06/0.15, allocations: 4 kB / 370.7 MB, free: 0.7578 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007808/0.1507, allocations: 455.9 kB / 371.1 MB, free: 268 kB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.358e-05/0.1508, allocations: 92.89 kB / 371.2 MB, free: 156 kB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.623e-05/0.1508, allocations: 8 kB / 371.2 MB, free: 148 kB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002252/0.1511, allocations: 19.92 kB / 371.2 MB, free: 128 kB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.589e-05/0.1511, allocations: 11.94 kB / 371.2 MB, free: 116 kB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.049e-05/0.1511, allocations: 11.98 kB / 371.3 MB, free: 104 kB / 302.1 MB Notification: Performance of sorting global known variables: time 0.2029/0.3541, allocations: 107.9 kB / 371.4 MB, free: 19.82 MB / 302.1 MB Notification: Performance of sort global known variables: time 6.21e-07/0.3541, allocations: 0 / 371.4 MB, free: 19.82 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0006662/0.3548, allocations: 64.14 kB / 371.4 MB, free: 19.82 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.001547/0.3563, allocations: 1.268 MB / 372.7 MB, free: 18.8 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0007645/0.3571, allocations: 219.5 kB / 372.9 MB, free: 18.8 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 4.799e-06/0.3571, allocations: 0.9375 kB / 372.9 MB, free: 18.8 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000306/0.3574, allocations: 90.39 kB / 373 MB, free: 18.8 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000403/0.3579, allocations: 34.69 kB / 373 MB, free: 18.8 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003144/0.361, allocations: 3.508 MB / 376.5 MB, free: 15.95 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002098/0.3613, allocations: 0.7182 MB / 377.3 MB, free: 15.25 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0002924/0.3616, allocations: 52.33 kB / 377.3 MB, free: 15.23 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001329/0.3617, allocations: 49.69 kB / 377.4 MB, free: 15.22 MB / 302.1 MB Notification: Performance of SimCode: time 1.333e-06/0.3617, allocations: 0 / 377.4 MB, free: 15.22 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02011/0.3818, allocations: 4.068 MB / 381.4 MB, free: 14.89 MB / 302.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002041/0.3821, allocations: 173.8 kB / 381.6 MB, free: 14.64 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.144/2.526, allocations: 1.312 kB / 381.6 MB, free: 14.64 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