Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.FluxTubes.Shapes.Leakage.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) 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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.FluxTubes.Shapes.Leakage,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_FluxTubes_Shapes_Leakage",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.FluxTubes.Shapes.Leakage,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_FluxTubes_Shapes_Leakage",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001572/0.001578, allocations: 189.2 kB / 16.4 MB, free: 5.625 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.159/2.159, allocations: 205.4 MB / 222.5 MB, free: 13.86 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001185/0.001184, allocations: 102.8 kB / 270.9 MB, free: 13.38 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3089/0.3089, allocations: 43.56 MB / 362.7 MB, free: 11.32 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006375/0.0006378, allocations: 8 kB / 431.5 MB, free: 20.19 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1272/0.1279, allocations: 58.87 MB / 490.3 MB, free: 9.25 MB / 330.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.FluxTubes.Shapes.Leakage): time 0.003538/0.1315, allocations: 1.803 MB / 492.1 MB, free: 7.434 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.001671/0.1332, allocations: 0.6441 MB / 492.8 MB, free: 6.781 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001711/0.1334, allocations: 4 kB / 492.8 MB, free: 6.777 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 8.734e-05/0.1335, allocations: 27.77 kB / 492.8 MB, free: 6.75 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002644/0.1338, allocations: 71.81 kB / 492.9 MB, free: 6.68 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003144/0.1341, allocations: 59.94 kB / 492.9 MB, free: 6.621 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004301/0.1346, allocations: 220.1 kB / 493.1 MB, free: 6.402 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003643/0.135, allocations: 114.9 kB / 493.3 MB, free: 6.289 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003235/0.1353, allocations: 115.6 kB / 493.4 MB, free: 6.176 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000271/0.1356, allocations: 123.5 kB / 493.5 MB, free: 6.055 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 5.644e-05/0.1357, allocations: 16 kB / 493.5 MB, free: 6.039 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.623e-05/0.1358, allocations: 16 kB / 493.5 MB, free: 6.023 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 7.407e-05/0.1358, allocations: 51.77 kB / 493.6 MB, free: 5.973 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 9.912e-05/0.1359, allocations: 77.58 kB / 493.7 MB, free: 5.891 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004154/0.1364, allocations: 279.5 kB / 493.9 MB, free: 5.617 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.497e-06/0.1364, allocations: 0 / 493.9 MB, free: 5.617 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.735e-06/0.1364, allocations: 0 / 493.9 MB, free: 5.617 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.181e-05/0.1364, allocations: 0 / 493.9 MB, free: 5.617 MB / 330.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 79 * Number of variables: 79 Notification: Performance of Generate backend data structure: time 0.001294/0.1377, allocations: 0.538 MB / 494.5 MB, free: 5.027 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.8e-05/0.1378, allocations: 8.031 kB / 494.5 MB, free: 5.02 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001257/0.1379, allocations: 70.53 kB / 494.5 MB, free: 4.941 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.195e-05/0.138, allocations: 35.58 kB / 494.6 MB, free: 4.906 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002539/0.1383, allocations: 204.8 kB / 494.8 MB, free: 4.668 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001554/0.1385, allocations: 28.59 kB / 494.8 MB, free: 4.641 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.026e-05/0.1386, allocations: 32 kB / 494.8 MB, free: 4.609 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008353/0.1394, allocations: 274 kB / 495.1 MB, free: 4.336 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.77e-05/0.1395, allocations: 4 kB / 495.1 MB, free: 4.332 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.866e-05/0.1395, allocations: 16 kB / 495.1 MB, free: 4.316 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.557e-05/0.1396, allocations: 8 kB / 495.1 MB, free: 4.309 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007325/0.1403, allocations: 210.5 kB / 495.3 MB, free: 4.102 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002923/0.1432, allocations: 1.024 MB / 496.4 MB, free: 3.023 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001129/0.1434, allocations: 34.52 kB / 496.4 MB, free: 2.98 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.14e-05/0.1434, allocations: 0 / 496.4 MB, free: 2.98 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.241e-05/0.1435, allocations: 38.62 kB / 496.4 MB, free: 2.934 MB / 330.7 MB Notification: Performance of pre-optimization done (n=2): time 1.933e-06/0.1435, allocations: 0 / 496.4 MB, free: 2.934 MB / 330.7 MB Notification: Performance of matching and sorting (n=2): time 0.0003062/0.1438, allocations: 73.41 kB / 496.5 MB, free: 2.855 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.749e-05/0.1439, allocations: 51.41 kB / 496.6 MB, free: 2.793 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006169/0.1445, allocations: 326.9 kB / 496.9 MB, free: 2.469 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 2.535e-05/0.1445, allocations: 29.64 kB / 496.9 MB, free: 2.434 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002203/0.1448, allocations: 293.2 kB / 497.2 MB, free: 2.141 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.85e-05/0.1448, allocations: 4 kB / 497.2 MB, free: 2.137 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.393e-05/0.1448, allocations: 8 kB / 497.2 MB, free: 2.129 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.000148/0.145, allocations: 322.8 kB / 497.5 MB, free: 1.805 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002527/0.1453, allocations: 67.97 kB / 497.6 MB, free: 1.738 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002578/0.1455, allocations: 93.67 kB / 497.7 MB, free: 1.641 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002705/0.1458, allocations: 76.5 kB / 497.7 MB, free: 1.566 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.637e-06/0.1458, allocations: 0 / 497.7 MB, free: 1.566 MB / 330.7 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0006867/0.1465, allocations: 229.4 kB / 498 MB, free: 1.336 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.367e-05/0.1466, allocations: 7.438 kB / 498 MB, free: 1.332 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.915e-06/0.1466, allocations: 0 / 498 MB, free: 1.332 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.846e-05/0.1466, allocations: 4 kB / 498 MB, free: 1.328 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005983/0.1472, allocations: 59.94 kB / 498 MB, free: 1.27 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.367e-05/0.1473, allocations: 3.984 kB / 498 MB, free: 1.266 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004683/0.1477, allocations: 47.48 kB / 498.1 MB, free: 1.219 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.792e-05/0.1478, allocations: 4 kB / 498.1 MB, free: 1.215 MB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (30): * Single equations (assignments): 30 * 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.0002026/0.148, allocations: 129.8 kB / 498.2 MB, free: 1.078 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.35e-05/0.1481, allocations: 19.81 kB / 498.2 MB, free: 1.059 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.162e-05/0.1482, allocations: 24.88 kB / 498.3 MB, free: 1.035 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.536e-06/0.1482, allocations: 4 kB / 498.3 MB, free: 1.031 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.58e-06/0.1482, allocations: 7.938 kB / 498.3 MB, free: 1.023 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.787e-06/0.1482, allocations: 0 / 498.3 MB, free: 1.023 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009991/0.1492, allocations: 0.5071 MB / 498.8 MB, free: 464 kB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.011e-06/0.1493, allocations: 4 kB / 498.8 MB, free: 460 kB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.632e-05/0.1493, allocations: 3.938 kB / 498.8 MB, free: 456 kB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.007e-06/0.1493, allocations: 4 kB / 498.8 MB, free: 452 kB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.212e-05/0.1494, allocations: 3.938 kB / 498.8 MB, free: 448 kB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.4e-06/0.1494, allocations: 8.016 kB / 498.8 MB, free: 440 kB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.839e-06/0.1494, allocations: 4 kB / 498.8 MB, free: 436 kB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002179/0.1496, allocations: 107.5 kB / 498.9 MB, free: 300 kB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001308/0.1498, allocations: 100.8 kB / 499 MB, free: 180 kB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.903e-05/0.1498, allocations: 3.953 kB / 499 MB, free: 176 kB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002035/0.1501, allocations: 8.031 kB / 499 MB, free: 168 kB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.928e-05/0.1501, allocations: 0 / 499 MB, free: 168 kB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.432e-06/0.1501, allocations: 0 / 499 MB, free: 168 kB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0004331/0.1506, allocations: 225.9 kB / 499.2 MB, free: 15.95 MB / 346.7 MB Notification: Performance of sort global known variables: time 3.978e-06/0.1506, allocations: 0 / 499.2 MB, free: 15.95 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0004453/0.151, allocations: 75.66 kB / 499.3 MB, free: 15.87 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 simulation (2): * Single equations (assignments): 2 * 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.0006035/0.1516, allocations: 0.7108 MB / 0.4883 GB, free: 15.12 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.000459/0.1521, allocations: 115.9 kB / 0.4884 GB, free: 15.01 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 3.687e-06/0.1521, allocations: 0 / 0.4884 GB, free: 15.01 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 4.635e-05/0.1522, allocations: 15.94 kB / 0.4884 GB, free: 14.99 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003605/0.1526, allocations: 21.11 kB / 0.4885 GB, free: 14.97 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003007/0.1556, allocations: 1.407 MB / 0.4898 GB, free: 13.5 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004163/0.1561, allocations: 0.7482 MB / 0.4906 GB, free: 12.73 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002271/0.1563, allocations: 75.41 kB / 0.4906 GB, free: 12.66 MB / 346.7 MB Notification: Performance of SimCode: time 1.132e-06/0.1563, allocations: 4 kB / 0.4906 GB, free: 12.65 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.528/2.685, allocations: 3.769 MB / 0.4943 GB, free: 8.875 MB / 346.7 MB (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.FluxTubes.Shapes.Leakage.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.FluxTubes.Shapes.Leakage.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.FluxTubes.Shapes.Leakage.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.FluxTubes.Shapes.Leakage.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_cpp_ModelicaTest.FluxTubes.Shapes.Leakage_res.mat --tempDir=temp_ModelicaTest_3_2_3_cpp_ModelicaTest_FluxTubes_Shapes_Leakage_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-05 ModelicaTest_3_2_3_cpp_ModelicaTest_FluxTubes_Shapes_Leakage.fmu > ModelicaTest_3.2.3_cpp_ModelicaTest.FluxTubes.Shapes.Leakage.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_cpp_ModelicaTest.FluxTubes.Shapes.Leakage_res.mat does not exist to compare? outputFormat=mat