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.001041/0.001041, allocations: 96.2 kB / 15.68 MB, free: 488 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.00114/0.00114, allocations: 175.5 kB / 16.56 MB, free: 6.375 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.956/1.956, allocations: 205.4 MB / 222.7 MB, free: 5.613 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.4826/0.4826, allocations: 43.55 MB / 314.5 MB, free: 8.797 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.0005437/0.0005443, allocations: 16 kB / 384 MB, free: 7.922 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.156/0.1565, allocations: 58.85 MB / 442.8 MB, free: 12.96 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.FluxTubes.Shapes.Leakage): time 0.002352/0.1589, allocations: 1.807 MB / 444.7 MB, free: 11.15 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001002/0.16, allocations: 0.6324 MB / 445.3 MB, free: 10.51 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.748e-05/0.1601, allocations: 8 kB / 445.3 MB, free: 10.5 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 6.369e-05/0.1601, allocations: 27.77 kB / 445.3 MB, free: 10.47 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001785/0.1603, allocations: 75.75 kB / 445.4 MB, free: 10.4 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002076/0.1605, allocations: 59.94 kB / 445.5 MB, free: 10.34 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002747/0.1608, allocations: 224 kB / 445.7 MB, free: 10.12 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002704/0.1611, allocations: 118.8 kB / 445.8 MB, free: 10 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001866/0.1613, allocations: 119.6 kB / 445.9 MB, free: 9.887 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001959/0.1615, allocations: 127.5 kB / 446 MB, free: 9.762 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 3.287e-05/0.1616, allocations: 16 kB / 446 MB, free: 9.746 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.682e-05/0.1616, allocations: 16 kB / 446.1 MB, free: 9.73 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.128e-05/0.1617, allocations: 51.81 kB / 446.1 MB, free: 9.68 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 7.602e-05/0.1617, allocations: 81.52 kB / 446.2 MB, free: 9.594 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002771/0.162, allocations: 271.4 kB / 446.5 MB, free: 9.328 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.876e-06/0.162, allocations: 4 kB / 446.5 MB, free: 9.324 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.793e-06/0.162, allocations: 0 / 446.5 MB, free: 9.324 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.021e-06/0.1621, allocations: 0 / 446.5 MB, free: 9.324 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.0009163/0.163, allocations: 0.5303 MB / 447 MB, free: 8.746 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.459e-05/0.163, allocations: 15.97 kB / 447 MB, free: 8.73 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001079/0.1631, allocations: 66.53 kB / 447.1 MB, free: 8.656 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.156e-05/0.1632, allocations: 35.58 kB / 447.1 MB, free: 8.621 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002072/0.1634, allocations: 202.7 kB / 447.3 MB, free: 8.383 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.964e-05/0.1635, allocations: 24.66 kB / 447.3 MB, free: 8.359 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.04e-05/0.1636, allocations: 32 kB / 447.4 MB, free: 8.328 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004782/0.1641, allocations: 274.1 kB / 447.6 MB, free: 8.051 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.181e-05/0.1641, allocations: 0 / 447.6 MB, free: 8.051 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.753e-05/0.1641, allocations: 16 kB / 447.6 MB, free: 8.035 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.343e-05/0.1641, allocations: 15.89 kB / 447.7 MB, free: 8.02 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003959/0.1645, allocations: 218.5 kB / 447.9 MB, free: 7.809 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001661/0.1662, allocations: 1.021 MB / 448.9 MB, free: 6.73 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 6.793e-05/0.1663, allocations: 34.58 kB / 448.9 MB, free: 6.688 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.354e-06/0.1663, allocations: 0 / 448.9 MB, free: 6.688 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.044e-05/0.1663, allocations: 30.56 kB / 449 MB, free: 6.648 MB / 382.1 MB Notification: Performance of pre-optimization done (n=2): time 2.645e-06/0.1663, allocations: 0 / 449 MB, free: 6.648 MB / 382.1 MB Notification: Performance of matching and sorting (n=2): time 0.0001956/0.1665, allocations: 73.5 kB / 449 MB, free: 6.57 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.603e-05/0.1666, allocations: 55.36 kB / 449.1 MB, free: 6.504 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000391/0.167, allocations: 319 kB / 449.4 MB, free: 6.18 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 3.056e-05/0.167, allocations: 29.7 kB / 449.4 MB, free: 6.145 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001641/0.1672, allocations: 238.8 kB / 449.7 MB, free: 5.906 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.342e-05/0.1672, allocations: 11.84 kB / 449.7 MB, free: 5.895 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.164e-05/0.1672, allocations: 4 kB / 449.7 MB, free: 5.891 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001451/0.1674, allocations: 330.8 kB / 450 MB, free: 5.559 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001274/0.1675, allocations: 67.91 kB / 450.1 MB, free: 5.492 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001554/0.1677, allocations: 90.44 kB / 450.2 MB, free: 5.398 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001593/0.1679, allocations: 87.92 kB / 450.2 MB, free: 5.312 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.284e-06/0.1679, allocations: 0 / 450.2 MB, free: 5.312 MB / 382.1 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0003846/0.1683, allocations: 229.4 kB / 450.5 MB, free: 5.082 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.936e-05/0.1683, allocations: 4 kB / 450.5 MB, free: 5.078 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.726e-06/0.1683, allocations: 3.984 kB / 450.5 MB, free: 5.074 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.879e-05/0.1683, allocations: 4 kB / 450.5 MB, free: 5.07 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002831/0.1686, allocations: 51.91 kB / 450.5 MB, free: 5.02 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.716e-06/0.1686, allocations: 7.984 kB / 450.5 MB, free: 5.012 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002532/0.1689, allocations: 43.58 kB / 450.6 MB, free: 4.969 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.346e-05/0.1689, allocations: 4 kB / 450.6 MB, free: 4.965 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.0001446/0.1691, allocations: 137.8 kB / 450.7 MB, free: 4.82 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.081e-05/0.1691, allocations: 23.72 kB / 450.7 MB, free: 4.797 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.636e-05/0.1692, allocations: 20.89 kB / 450.8 MB, free: 4.777 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.919e-06/0.1692, allocations: 4 kB / 450.8 MB, free: 4.773 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.799e-06/0.1692, allocations: 0 / 450.8 MB, free: 4.773 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.993e-05/0.1692, allocations: 7.953 kB / 450.8 MB, free: 4.766 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006719/0.1699, allocations: 0.4993 MB / 451.3 MB, free: 4.203 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.483e-06/0.1699, allocations: 4 kB / 451.3 MB, free: 4.199 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.138e-05/0.1699, allocations: 7.984 kB / 451.3 MB, free: 4.191 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.919e-06/0.17, allocations: 4 kB / 451.3 MB, free: 4.188 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.957e-06/0.17, allocations: 3.953 kB / 451.3 MB, free: 4.184 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.613e-06/0.17, allocations: 0 / 451.3 MB, free: 4.184 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/0.17, allocations: 0 / 451.3 MB, free: 4.184 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001513/0.1701, allocations: 111.5 kB / 451.4 MB, free: 4.047 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.713e-05/0.1702, allocations: 104.8 kB / 451.5 MB, free: 3.926 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.451e-05/0.1703, allocations: 7.922 kB / 451.5 MB, free: 3.918 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001075/0.1704, allocations: 4 kB / 451.5 MB, free: 3.914 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.275e-05/0.1704, allocations: 4.031 kB / 451.5 MB, free: 3.91 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.369e-06/0.1704, allocations: 4 kB / 451.5 MB, free: 3.906 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0002694/0.1707, allocations: 225.9 kB / 451.7 MB, free: 3.684 MB / 382.1 MB Notification: Performance of sort global known variables: time 2e-07/0.1707, allocations: 0 / 451.7 MB, free: 3.684 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002988/0.171, allocations: 63.84 kB / 451.8 MB, free: 3.621 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.0005371/0.1716, allocations: 0.7224 MB / 452.5 MB, free: 2.863 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002549/0.1718, allocations: 112.7 kB / 452.6 MB, free: 2.754 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.428e-06/0.1718, allocations: 4 kB / 452.6 MB, free: 2.75 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 2.058e-05/0.1719, allocations: 8 kB / 452.6 MB, free: 2.742 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002308/0.1721, allocations: 25.03 kB / 452.7 MB, free: 2.715 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001846/0.174, allocations: 1.374 MB / 454 MB, free: 1.289 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003811/0.1744, allocations: 0.7482 MB / 454.8 MB, free: 0.5156 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001182/0.1745, allocations: 29.92 kB / 454.8 MB, free: 500 kB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001109/0.1746, allocations: 71.41 kB / 454.9 MB, free: 428 kB / 382.1 MB Notification: Performance of SimCode: time 4.81e-07/0.1746, allocations: 0 / 454.9 MB, free: 428 kB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2729/0.4475, allocations: 3.699 MB / 458.6 MB, free: 45.49 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001293/0.4477, allocations: 171.4 kB / 458.8 MB, free: 45.25 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.759/2.207, allocations: 0 / 458.8 MB, free: 45.25 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