Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.FluxTubes.Shapes.Leakage.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) 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 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(ModelicaTest.FluxTubes.Shapes.Leakage,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_FluxTubes_Shapes_Leakage",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.FluxTubes.Shapes.Leakage,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_FluxTubes_Shapes_Leakage",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.000845/0.000845, allocations: 88.19 kB / 15.7 MB, free: 460 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001032/0.001032, allocations: 172.7 kB / 16.58 MB, free: 6.84 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.629/1.629, allocations: 205.4 MB / 222.8 MB, free: 5.648 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3904/0.3904, allocations: 43.55 MB / 314.6 MB, free: 9.031 MB / 254.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.0006939/0.000694, allocations: 12 kB / 384 MB, free: 8.156 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1244/0.1251, allocations: 58.87 MB / 442.9 MB, free: 13.19 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.FluxTubes.Shapes.Leakage): time 0.002459/0.1276, allocations: 1.907 MB / 444.8 MB, free: 11.27 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001165/0.1288, allocations: 0.6206 MB / 445.4 MB, free: 10.64 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002451/0.1291, allocations: 4 kB / 445.4 MB, free: 10.64 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001218/0.1292, allocations: 27.77 kB / 445.4 MB, free: 10.61 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003773/0.1296, allocations: 63.52 kB / 445.5 MB, free: 10.55 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003858/0.13, allocations: 59.94 kB / 445.6 MB, free: 10.49 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006624/0.1307, allocations: 319.2 kB / 445.9 MB, free: 10.18 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000359/0.131, allocations: 126.8 kB / 446 MB, free: 10.05 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003634/0.1314, allocations: 107.6 kB / 446.1 MB, free: 9.945 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003346/0.1318, allocations: 127.5 kB / 446.2 MB, free: 9.82 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 6.982e-05/0.1318, allocations: 16 kB / 446.2 MB, free: 9.805 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.576e-05/0.1319, allocations: 23.94 kB / 446.3 MB, free: 9.781 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 6.215e-05/0.132, allocations: 51.81 kB / 446.3 MB, free: 9.73 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001374/0.1322, allocations: 73.52 kB / 446.4 MB, free: 9.652 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003393/0.1325, allocations: 283.4 kB / 446.7 MB, free: 9.375 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.883e-06/0.1325, allocations: 3.938 kB / 446.7 MB, free: 9.371 MB / 382.1 MB Notification: Performance of FrontEnd: time 3.036e-06/0.1325, allocations: 0 / 446.7 MB, free: 9.371 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.814e-05/0.1326, allocations: 0 / 446.7 MB, free: 9.371 MB / 382.1 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.001119/0.1337, allocations: 0.5342 MB / 447.2 MB, free: 8.789 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.448e-05/0.1337, allocations: 12.03 kB / 447.2 MB, free: 8.777 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001654/0.1339, allocations: 66.53 kB / 447.3 MB, free: 8.703 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.924e-05/0.134, allocations: 39.58 kB / 447.3 MB, free: 8.664 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002251/0.1343, allocations: 190.8 kB / 447.5 MB, free: 8.438 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.166e-05/0.1344, allocations: 32.64 kB / 447.5 MB, free: 8.406 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.259e-05/0.1344, allocations: 28 kB / 447.6 MB, free: 8.379 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005015/0.1349, allocations: 270.1 kB / 447.8 MB, free: 8.105 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.146e-05/0.135, allocations: 0 / 447.8 MB, free: 8.105 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.99e-05/0.135, allocations: 16 kB / 447.8 MB, free: 8.09 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.106e-05/0.135, allocations: 11.95 kB / 447.9 MB, free: 8.078 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004086/0.1354, allocations: 222.5 kB / 448.1 MB, free: 7.863 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001847/0.1373, allocations: 1.025 MB / 449.1 MB, free: 6.777 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.141e-05/0.1374, allocations: 30.56 kB / 449.1 MB, free: 6.738 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.365e-05/0.1375, allocations: 24.92 kB / 449.2 MB, free: 6.711 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.362e-05/0.1375, allocations: 11.94 kB / 449.2 MB, free: 6.699 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.252e-05/0.1375, allocations: 30.56 kB / 449.2 MB, free: 6.66 MB / 382.1 MB Notification: Performance of pre-optimization done (n=2): time 1.162e-06/0.1375, allocations: 3.938 kB / 449.2 MB, free: 6.656 MB / 382.1 MB Notification: Performance of matching and sorting (n=2): time 0.000249/0.1378, allocations: 81.44 kB / 449.3 MB, free: 6.57 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.309e-05/0.1378, allocations: 51.41 kB / 449.3 MB, free: 6.508 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004297/0.1383, allocations: 314.9 kB / 449.6 MB, free: 6.188 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.582e-05/0.1383, allocations: 29.83 kB / 449.7 MB, free: 6.152 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001626/0.1385, allocations: 234.8 kB / 449.9 MB, free: 5.918 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.538e-05/0.1385, allocations: 11.84 kB / 449.9 MB, free: 5.906 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.188e-05/0.1385, allocations: 4 kB / 449.9 MB, free: 5.902 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001182/0.1386, allocations: 334.8 kB / 450.2 MB, free: 5.566 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001291/0.1388, allocations: 63.97 kB / 450.3 MB, free: 5.504 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001486/0.1389, allocations: 94.38 kB / 450.4 MB, free: 5.406 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001514/0.1391, allocations: 79.98 kB / 450.5 MB, free: 5.328 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.803e-06/0.1391, allocations: 0 / 450.5 MB, free: 5.328 MB / 382.1 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0003807/0.1395, allocations: 225.4 kB / 450.7 MB, free: 5.102 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.748e-05/0.1395, allocations: 8 kB / 450.7 MB, free: 5.094 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.44e-06/0.1395, allocations: 3.938 kB / 450.7 MB, free: 5.09 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.471e-05/0.1396, allocations: 0 / 450.7 MB, free: 5.09 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002688/0.1398, allocations: 59.91 kB / 450.8 MB, free: 5.031 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.275e-06/0.1398, allocations: 0 / 450.8 MB, free: 5.031 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002246/0.1401, allocations: 51.61 kB / 450.8 MB, free: 4.98 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.75e-05/0.1401, allocations: 8 kB / 450.8 MB, free: 4.973 MB / 382.1 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.0001193/0.1402, allocations: 133.8 kB / 450.9 MB, free: 4.832 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.869e-05/0.1403, allocations: 27.66 kB / 451 MB, free: 4.805 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.042e-05/0.1403, allocations: 20.89 kB / 451 MB, free: 4.785 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.314e-06/0.1404, allocations: 0 / 451 MB, free: 4.785 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.114e-06/0.1404, allocations: 7.953 kB / 451 MB, free: 4.777 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.665e-06/0.1404, allocations: 0 / 451 MB, free: 4.777 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005884/0.141, allocations: 0.5033 MB / 451.5 MB, free: 4.211 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.713e-06/0.141, allocations: 0 / 451.5 MB, free: 4.211 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.615e-05/0.141, allocations: 4 kB / 451.5 MB, free: 4.207 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.932e-06/0.141, allocations: 7.938 kB / 451.5 MB, free: 4.199 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.283e-06/0.141, allocations: 4 kB / 451.5 MB, free: 4.195 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.583e-06/0.141, allocations: 0 / 451.5 MB, free: 4.195 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.589e-06/0.1411, allocations: 3.938 kB / 451.5 MB, free: 4.191 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001299/0.1412, allocations: 101.8 kB / 451.6 MB, free: 4.07 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.406e-05/0.1413, allocations: 100.8 kB / 451.7 MB, free: 3.953 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.519e-05/0.1413, allocations: 7.938 kB / 451.7 MB, free: 3.945 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.335e-05/0.1414, allocations: 4 kB / 451.7 MB, free: 3.941 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.24e-05/0.1414, allocations: 0 / 451.7 MB, free: 3.941 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.865e-06/0.1414, allocations: 0 / 451.7 MB, free: 3.941 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0002707/0.1417, allocations: 234 kB / 452 MB, free: 3.711 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.51e-07/0.1417, allocations: 0 / 452 MB, free: 3.711 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002679/0.142, allocations: 63.84 kB / 452 MB, free: 3.648 MB / 382.1 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.000416/0.1424, allocations: 0.6287 MB / 452.7 MB, free: 2.988 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002629/0.1427, allocations: 116.7 kB / 452.8 MB, free: 2.875 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.024e-06/0.1427, allocations: 0 / 452.8 MB, free: 2.875 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 2.629e-05/0.1427, allocations: 12 kB / 452.8 MB, free: 2.863 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002779/0.143, allocations: 28.77 kB / 452.8 MB, free: 2.832 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001749/0.1448, allocations: 1.185 MB / 454 MB, free: 1.594 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003072/0.1451, allocations: 0.7443 MB / 454.7 MB, free: 0.8242 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001263/0.1452, allocations: 29.92 kB / 454.8 MB, free: 0.7969 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.754e-05/0.1453, allocations: 67.42 kB / 454.8 MB, free: 0.7305 MB / 382.1 MB Notification: Performance of SimCode: time 5.61e-07/0.1454, allocations: 0 / 454.8 MB, free: 0.7305 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1891/0.3344, allocations: 3.722 MB / 458.6 MB, free: 45.29 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001302/0.3346, allocations: 173.1 kB / 458.7 MB, free: 45.05 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.707/2.041, allocations: 0 / 458.7 MB, free: 45.05 MB / 382.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.FluxTubes.Shapes.Leakage.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.FluxTubes.Shapes.Leakage.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.FluxTubes.Shapes.Leakage.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.FluxTubes.Shapes.Leakage.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.FluxTubes.Shapes.Leakage_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_FluxTubes_Shapes_Leakage_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-05 ModelicaTest_3_2_3_ModelicaTest_FluxTubes_Shapes_Leakage.fmu > ModelicaTest_3.2.3_ModelicaTest.FluxTubes.Shapes.Leakage.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.FluxTubes.Shapes.Leakage_res.mat does not exist to compare? outputFormat=mat