Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank,fileNamePrefix="Modelica_3_2_3_Modelica_Thermal_FluidHeatFlow_Examples_TestOpenTank",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank,fileNamePrefix="Modelica_3_2_3_Modelica_Thermal_FluidHeatFlow_Examples_TestOpenTank",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001206/0.001206, allocations: 97.88 kB / 16.93 MB, free: 5.984 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001145/0.001145, allocations: 179.3 kB / 17.82 MB, free: 5.652 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.613/1.613, allocations: 205.4 MB / 224 MB, free: 13.17 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0004845/0.0004847, allocations: 8 kB / 280.8 MB, free: 3.664 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1247/0.1252, allocations: 47.59 MB / 328.4 MB, free: 4.008 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank): time 0.003537/0.1288, allocations: 2.284 MB / 330.7 MB, free: 1.707 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.002196/0.131, allocations: 1.05 MB / 331.8 MB, free: 0.6484 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001692/0.1312, allocations: 7.938 kB / 331.8 MB, free: 0.6406 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005309/0.1317, allocations: 147.4 kB / 331.9 MB, free: 0.4961 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000468/0.1322, allocations: 207.5 kB / 332.1 MB, free: 300 kB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003823/0.1326, allocations: 127.7 kB / 332.2 MB, free: 172 kB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.000499/0.1331, allocations: 307.4 kB / 332.5 MB, free: 15.87 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000231/0.1334, allocations: 94.48 kB / 332.6 MB, free: 15.78 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00019/0.1336, allocations: 151.4 kB / 332.8 MB, free: 15.63 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003567/0.1339, allocations: 171.3 kB / 332.9 MB, free: 15.46 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 3.856e-05/0.134, allocations: 16 kB / 333 MB, free: 15.45 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001246/0.1341, allocations: 39.94 kB / 333 MB, free: 15.41 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001004/0.1342, allocations: 71.73 kB / 333.1 MB, free: 15.34 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001065/0.1343, allocations: 97.52 kB / 333.2 MB, free: 15.23 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003891/0.1347, allocations: 335.4 kB / 333.5 MB, free: 14.91 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.03e-06/0.1347, allocations: 0 / 333.5 MB, free: 14.91 MB / 286.1 MB Notification: Performance of FrontEnd: time 2.344e-06/0.1347, allocations: 3.938 kB / 333.5 MB, free: 14.9 MB / 286.1 MB Notification: Performance of Transformations before backend: time 6.553e-06/0.1348, allocations: 4 kB / 333.5 MB, free: 14.9 MB / 286.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.001131/0.1359, allocations: 0.6228 MB / 334.1 MB, free: 14.23 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.107e-05/0.136, allocations: 12.03 kB / 334.1 MB, free: 14.21 MB / 286.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001296/0.1361, allocations: 66.88 kB / 334.2 MB, free: 14.14 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.995e-05/0.1362, allocations: 47.48 kB / 334.2 MB, free: 14.09 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004563/0.1367, allocations: 305.7 kB / 334.5 MB, free: 13.75 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.253e-05/0.1367, allocations: 20.44 kB / 334.6 MB, free: 13.73 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.23e-05/0.1367, allocations: 19.98 kB / 334.6 MB, free: 13.71 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000495/0.1372, allocations: 297.5 kB / 334.9 MB, free: 13.38 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.525e-05/0.1373, allocations: 0 / 334.9 MB, free: 13.38 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.978e-05/0.1373, allocations: 12 kB / 334.9 MB, free: 13.37 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.146e-05/0.1373, allocations: 8 kB / 334.9 MB, free: 13.36 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000306/0.1376, allocations: 149.6 kB / 335 MB, free: 13.21 MB / 286.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.001498/0.1391, allocations: 0.8167 MB / 335.9 MB, free: 12.33 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004798/0.1396, allocations: 215.9 kB / 336.1 MB, free: 12.11 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.463e-05/0.1397, allocations: 4.188 kB / 336.1 MB, free: 12.11 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003173/0.14, allocations: 131.5 kB / 336.2 MB, free: 11.96 MB / 286.1 MB Notification: Performance of pre-optimization done (n=23): time 1.453e-06/0.14, allocations: 0 / 336.2 MB, free: 11.96 MB / 286.1 MB Notification: Performance of matching and sorting (n=23): time 0.0008821/0.1409, allocations: 407.5 kB / 336.6 MB, free: 11.54 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002619/0.1412, allocations: 312.4 kB / 336.9 MB, free: 11.16 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005658/0.1418, allocations: 413.6 kB / 337.3 MB, free: 10.75 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 3.277e-05/0.1418, allocations: 29.7 kB / 337.3 MB, free: 10.71 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001741/0.142, allocations: 208.3 kB / 337.5 MB, free: 10.5 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.032e-05/0.1421, allocations: 78.89 kB / 337.6 MB, free: 10.43 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.1e-05/0.1421, allocations: 8 kB / 337.6 MB, free: 10.42 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001769/0.1423, allocations: 350.8 kB / 338 MB, free: 10.07 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001337/0.1424, allocations: 59.97 kB / 338 MB, free: 10.01 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002263/0.1426, allocations: 164 kB / 338.2 MB, free: 9.805 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001522/0.1428, allocations: 83.88 kB / 338.3 MB, free: 9.723 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.735e-06/0.1428, allocations: 0 / 338.3 MB, free: 9.723 MB / 286.1 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0004515/0.1433, allocations: 277.8 kB / 338.5 MB, free: 9.441 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.114e-05/0.1433, allocations: 12.05 kB / 338.6 MB, free: 9.43 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.496e-06/0.1433, allocations: 4 kB / 338.6 MB, free: 9.426 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000143/0.1435, allocations: 36.83 kB / 338.6 MB, free: 9.387 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002684/0.1438, allocations: 51.91 kB / 338.6 MB, free: 9.336 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001677/0.1454, allocations: 1.472 MB / 340.1 MB, free: 7.727 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002324/0.1457, allocations: 27.78 kB / 340.1 MB, free: 7.699 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.278e-05/0.1457, allocations: 12 kB / 340.2 MB, free: 7.688 MB / 286.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.000207/0.1459, allocations: 161.8 kB / 340.3 MB, free: 7.52 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.108e-05/0.146, allocations: 43.48 kB / 340.4 MB, free: 7.477 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.998e-05/0.1461, allocations: 47.59 kB / 340.4 MB, free: 7.422 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.146e-06/0.1461, allocations: 4 kB / 340.4 MB, free: 7.418 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.156e-06/0.1461, allocations: 0 / 340.4 MB, free: 7.418 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000573/0.1467, allocations: 0.5789 MB / 341 MB, free: 6.734 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001027/0.1478, allocations: 0.6889 MB / 341.7 MB, free: 5.984 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.268e-06/0.1478, allocations: 0 / 341.7 MB, free: 5.984 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001935/0.148, allocations: 47.91 kB / 341.7 MB, free: 5.938 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.529e-06/0.148, allocations: 8 kB / 341.7 MB, free: 5.93 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.773e-05/0.148, allocations: 4 kB / 341.7 MB, free: 5.926 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.713e-06/0.148, allocations: 0 / 341.7 MB, free: 5.926 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.36e-06/0.148, allocations: 8.312 kB / 341.7 MB, free: 5.918 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005712/0.1486, allocations: 390.7 kB / 342.1 MB, free: 5.52 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001655/0.1488, allocations: 144.5 kB / 342.3 MB, free: 5.359 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.449e-05/0.1488, allocations: 4 kB / 342.3 MB, free: 5.355 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002172/0.1491, allocations: 24.03 kB / 342.3 MB, free: 5.332 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.958e-05/0.1491, allocations: 15.98 kB / 342.3 MB, free: 5.316 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.558e-05/0.1492, allocations: 4 kB / 342.3 MB, free: 5.312 MB / 286.1 MB Notification: Performance of sorting global known variables: time 0.0003517/0.1495, allocations: 299.1 kB / 342.6 MB, free: 5.027 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1495, allocations: 0 / 342.6 MB, free: 5.027 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0004117/0.1499, allocations: 91.84 kB / 342.7 MB, free: 4.938 MB / 286.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.002096/0.152, allocations: 1.248 MB / 343.9 MB, free: 3.68 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0006745/0.1527, allocations: 306.4 kB / 344.2 MB, free: 3.367 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 5.4e-06/0.1527, allocations: 4 kB / 344.2 MB, free: 3.363 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002491/0.153, allocations: 83.91 kB / 344.3 MB, free: 3.281 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005014/0.1535, allocations: 85.62 kB / 344.4 MB, free: 3.195 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00396/0.1575, allocations: 2.579 MB / 347 MB, free: 0.5586 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005576/0.1581, allocations: 0.8148 MB / 347.8 MB, free: 15.71 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0001836/0.1583, allocations: 42.94 kB / 347.8 MB, free: 15.67 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002273/0.1585, allocations: 115.4 kB / 348 MB, free: 15.56 MB / 302.1 MB Notification: Performance of SimCode: time 3.126e-06/0.1585, allocations: 0 / 348 MB, free: 15.56 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02585/0.1844, allocations: 8.807 MB / 356.8 MB, free: 6.734 MB / 302.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002188/0.1846, allocations: 249.3 kB / 357 MB, free: 6.402 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.012/2.196, allocations: 64 / 357 MB, free: 6.402 MB / 302.1 MB (rm -f Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank.pipe ; mkfifo Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank.pipe >> ../files/Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Thermal_FluidHeatFlow_Examples_TestOpenTank_fmu --startTime=0 --stopTime=1.5 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Thermal_FluidHeatFlow_Examples_TestOpenTank.fmu > Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank_res.mat does not exist to compare? outputFormat=mat