Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank.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.Thermal.FluidHeatFlow.Examples.TestOpenTank,fileNamePrefix="Modelica_trunk_Modelica_Thermal_FluidHeatFlow_Examples_TestOpenTank",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank,fileNamePrefix="Modelica_trunk_Modelica_Thermal_FluidHeatFlow_Examples_TestOpenTank",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009476/0.0009477, allocations: 96.02 kB / 17 MB, free: 6.355 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009218/0.000922, allocations: 191.5 kB / 17.9 MB, free: 5.914 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.348/1.348, allocations: 227.4 MB / 246 MB, free: 10.25 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000221/0.0002211, allocations: 12 kB / 306.8 MB, free: 1.23 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.101/0.1013, allocations: 51.5 MB / 358.3 MB, free: 13.75 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank): time 0.002912/0.1042, allocations: 2.455 MB / 360.8 MB, free: 11.28 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001918/0.1062, allocations: 1.259 MB / 362 MB, free: 10.01 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001208/0.1063, allocations: 0 / 362 MB, free: 10.01 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003646/0.1067, allocations: 167.4 kB / 362.2 MB, free: 9.848 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003973/0.1071, allocations: 210.9 kB / 362.4 MB, free: 9.641 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003197/0.1074, allocations: 135.8 kB / 362.5 MB, free: 9.508 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003916/0.1078, allocations: 409.7 kB / 362.9 MB, free: 9.105 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001627/0.108, allocations: 90.83 kB / 363 MB, free: 9.012 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001576/0.1082, allocations: 159.4 kB / 363.2 MB, free: 8.855 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001914/0.1083, allocations: 195.2 kB / 363.4 MB, free: 8.664 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 3.927e-05/0.1084, allocations: 20 kB / 363.4 MB, free: 8.645 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001118/0.1085, allocations: 47.94 kB / 363.4 MB, free: 8.598 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 8.326e-05/0.1086, allocations: 79.67 kB / 363.5 MB, free: 8.52 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 7.45e-05/0.1087, allocations: 97.52 kB / 363.6 MB, free: 8.418 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003157/0.109, allocations: 363.3 kB / 363.9 MB, free: 8.062 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.585e-06/0.109, allocations: 0 / 363.9 MB, free: 8.062 MB / 302.1 MB Notification: Performance of FrontEnd: time 7.01e-07/0.109, allocations: 0 / 363.9 MB, free: 8.062 MB / 302.1 MB Notification: Performance of Transformations before backend: time 7.424e-06/0.109, allocations: 0 / 363.9 MB, free: 8.062 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: 47 * Number of variables: 47 Notification: Performance of Generate backend data structure: time 0.0007664/0.1098, allocations: 0.6305 MB / 364.6 MB, free: 7.383 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.01e-05/0.1098, allocations: 12.03 kB / 364.6 MB, free: 7.371 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.367e-05/0.1099, allocations: 66.97 kB / 364.7 MB, free: 7.297 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.939e-05/0.11, allocations: 47.44 kB / 364.7 MB, free: 7.25 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003658/0.1104, allocations: 341.5 kB / 365 MB, free: 6.875 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.998e-05/0.1104, allocations: 16.44 kB / 365.1 MB, free: 6.855 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.888e-05/0.1105, allocations: 16 kB / 365.1 MB, free: 6.84 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004377/0.1109, allocations: 297.5 kB / 365.4 MB, free: 6.508 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.413e-05/0.1109, allocations: 0 / 365.4 MB, free: 6.508 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.97e-05/0.111, allocations: 12 kB / 365.4 MB, free: 6.496 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.132e-05/0.111, allocations: 4 kB / 365.4 MB, free: 6.492 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002833/0.1113, allocations: 157.6 kB / 365.5 MB, free: 6.34 MB / 302.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.00118/0.1125, allocations: 0.8363 MB / 366.4 MB, free: 5.434 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003574/0.1128, allocations: 191.9 kB / 366.5 MB, free: 5.238 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000137/0.113, allocations: 73.2 kB / 366.6 MB, free: 5.164 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.135e-05/0.113, allocations: 8.188 kB / 366.6 MB, free: 5.156 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002679/0.1133, allocations: 132.8 kB / 366.8 MB, free: 5.016 MB / 302.1 MB Notification: Performance of pre-optimization done (n=23): time 1.603e-06/0.1133, allocations: 0 / 366.8 MB, free: 5.016 MB / 302.1 MB Notification: Performance of matching and sorting (n=23): time 0.0007894/0.1141, allocations: 410.2 kB / 367.2 MB, free: 4.59 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001951/0.1143, allocations: 320.4 kB / 367.5 MB, free: 4.203 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005556/0.1149, allocations: 437.6 kB / 367.9 MB, free: 3.77 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.464e-05/0.1149, allocations: 37.7 kB / 367.9 MB, free: 3.727 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00019/0.1151, allocations: 216.2 kB / 368.1 MB, free: 3.508 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.734e-05/0.1152, allocations: 74.84 kB / 368.2 MB, free: 3.434 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.291e-05/0.1152, allocations: 4 kB / 368.2 MB, free: 3.43 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001662/0.1154, allocations: 354.8 kB / 368.6 MB, free: 3.074 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001292/0.1155, allocations: 59.97 kB / 368.6 MB, free: 3.016 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002129/0.1157, allocations: 175.9 kB / 368.8 MB, free: 2.801 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001605/0.1159, allocations: 77.73 kB / 368.9 MB, free: 2.727 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.585e-06/0.1159, allocations: 4 kB / 368.9 MB, free: 2.723 MB / 302.1 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0004513/0.1164, allocations: 273.8 kB / 369.1 MB, free: 2.445 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.239e-05/0.1164, allocations: 8 kB / 369.2 MB, free: 2.438 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.452e-06/0.1164, allocations: 3.938 kB / 369.2 MB, free: 2.434 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001426/0.1166, allocations: 32.83 kB / 369.2 MB, free: 2.398 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002076/0.1168, allocations: 51.92 kB / 369.2 MB, free: 2.348 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001377/0.1182, allocations: 1.456 MB / 370.7 MB, free: 0.7578 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002109/0.1184, allocations: 27.78 kB / 370.7 MB, free: 0.7305 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.858e-05/0.1184, allocations: 16 kB / 370.7 MB, free: 0.7148 MB / 302.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,$PRE.combiTimeTable.nextTimeEvent,combiTimeTable.nextTimeEvent,$PRE.combiTimeTable.nextTimeEventScaled,combiTimeTable.nextTimeEventScaled) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (27): * Single equations (assignments): 26 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {3 1} Notification: Performance of prepare postOptimizeDAE: time 0.0001878/0.1186, allocations: 160.2 kB / 370.9 MB, free: 0.5508 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.879e-05/0.1187, allocations: 39.53 kB / 370.9 MB, free: 0.5117 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.962e-05/0.1188, allocations: 47.61 kB / 371 MB, free: 472 kB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.944e-06/0.1188, allocations: 3.938 kB / 371 MB, free: 468 kB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.419e-06/0.1188, allocations: 3.953 kB / 371 MB, free: 464 kB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.1911/0.3099, allocations: 0.5706 MB / 371.6 MB, free: 19.55 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001221/0.3111, allocations: 0.7017 MB / 372.3 MB, free: 19.22 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.272e-06/0.3112, allocations: 1.516 kB / 372.3 MB, free: 19.22 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002287/0.3114, allocations: 49.27 kB / 372.3 MB, free: 19.22 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.109e-05/0.3114, allocations: 5.531 kB / 372.3 MB, free: 19.22 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.105e-05/0.3114, allocations: 6.547 kB / 372.3 MB, free: 19.22 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.921e-06/0.3115, allocations: 1.906 kB / 372.3 MB, free: 19.22 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.754e-06/0.3115, allocations: 0.7188 kB / 372.3 MB, free: 19.22 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000693/0.3122, allocations: 394.8 kB / 372.7 MB, free: 19.09 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001689/0.3123, allocations: 145.1 kB / 372.9 MB, free: 18.99 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.723e-05/0.3124, allocations: 13.7 kB / 372.9 MB, free: 18.99 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002114/0.3126, allocations: 14.59 kB / 372.9 MB, free: 18.99 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.533e-05/0.3127, allocations: 12.27 kB / 372.9 MB, free: 18.99 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.424e-05/0.3127, allocations: 8.953 kB / 372.9 MB, free: 18.99 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.000524/0.3133, allocations: 317.9 kB / 373.2 MB, free: 18.91 MB / 302.1 MB Notification: Performance of sort global known variables: time 2.4e-07/0.3133, allocations: 0 / 373.2 MB, free: 18.91 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0005539/0.3138, allocations: 95.16 kB / 373.3 MB, free: 18.91 MB / 302.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (openTank.m,openTank.H) * Number of discrete variables: 3 ($whenCondition1,combiTimeTable.nextTimeEvent,combiTimeTable.nextTimeEventScaled) * Number of discrete states: 2 (combiTimeTable.nextTimeEvent,combiTimeTable.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (23): * Single equations (assignments): 21 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.001827/0.3157, allocations: 1.257 MB / 374.6 MB, free: 18.17 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0007817/0.3165, allocations: 309.3 kB / 374.9 MB, free: 18.06 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 5.33e-06/0.3165, allocations: 2.094 kB / 374.9 MB, free: 18.06 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001952/0.3167, allocations: 80.45 kB / 374.9 MB, free: 18.06 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006573/0.3173, allocations: 104.3 kB / 375 MB, free: 18.05 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00406/0.3214, allocations: 2.245 MB / 377.3 MB, free: 17.16 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003745/0.3218, allocations: 0.7982 MB / 378.1 MB, free: 16.46 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0002647/0.3221, allocations: 47.39 kB / 378.1 MB, free: 16.45 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001947/0.3223, allocations: 131.3 kB / 378.3 MB, free: 16.36 MB / 302.1 MB Notification: Performance of SimCode: time 1.032e-06/0.3223, allocations: 0 / 378.3 MB, free: 16.36 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02716/0.3495, allocations: 9.202 MB / 387.5 MB, free: 13.94 MB / 302.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001538/0.3496, allocations: 260.2 kB / 387.7 MB, free: 13.59 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.031/2.381, allocations: 0 / 387.7 MB, free: 13.59 MB / 302.1 MB (rm -f Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank.pipe ; mkfifo Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank.pipe >> ../files/Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank_res.mat --tempDir=temp_Modelica_trunk_Modelica_Thermal_FluidHeatFlow_Examples_TestOpenTank_fmu --startTime=0 --stopTime=1.5 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Thermal_FluidHeatFlow_Examples_TestOpenTank.fmu > Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank_res.mat does not exist to compare? outputFormat=mat