Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.FluxTubes.Sources.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.Sources,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_FluxTubes_Sources",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.FluxTubes.Sources,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_FluxTubes_Sources",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.00127/0.001271, allocations: 96.28 kB / 15.69 MB, free: 480 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.001622/0.001622, allocations: 178.7 kB / 16.57 MB, free: 6.387 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.907/1.907, allocations: 205.4 MB / 222.7 MB, free: 5.676 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.411/0.411, allocations: 43.54 MB / 314.5 MB, free: 8.996 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.00054/0.00054, allocations: 16 kB / 384 MB, free: 8.172 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1536/0.1542, allocations: 58.86 MB / 442.8 MB, free: 13.21 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.FluxTubes.Sources): time 0.002867/0.1571, allocations: 2.094 MB / 444.9 MB, free: 11.11 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001182/0.1583, allocations: 0.765 MB / 445.7 MB, free: 10.33 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000119/0.1584, allocations: 4 kB / 445.7 MB, free: 10.33 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001645/0.1586, allocations: 47.64 kB / 445.8 MB, free: 10.28 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001946/0.1588, allocations: 99.72 kB / 445.8 MB, free: 10.18 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002263/0.159, allocations: 79.86 kB / 445.9 MB, free: 10.11 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003495/0.1594, allocations: 263.4 kB / 446.2 MB, free: 9.848 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000216/0.1596, allocations: 111.3 kB / 446.3 MB, free: 9.734 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002116/0.1598, allocations: 131.5 kB / 446.4 MB, free: 9.605 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001653/0.16, allocations: 151.3 kB / 446.6 MB, free: 9.457 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 3.693e-05/0.1601, allocations: 16 kB / 446.6 MB, free: 9.441 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.13e-05/0.1601, allocations: 16 kB / 446.6 MB, free: 9.426 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 6.508e-05/0.1602, allocations: 55.77 kB / 446.7 MB, free: 9.371 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 7.383e-05/0.1603, allocations: 85.52 kB / 446.7 MB, free: 9.281 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002973/0.1606, allocations: 307.1 kB / 447 MB, free: 8.98 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.028e-06/0.1606, allocations: 0 / 447 MB, free: 8.98 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.884e-06/0.1606, allocations: 3.938 kB / 447 MB, free: 8.977 MB / 382.1 MB Notification: Performance of Transformations before backend: time 9.207e-06/0.1606, allocations: 3.938 kB / 447 MB, free: 8.973 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: 84 * Number of variables: 84 Notification: Performance of Generate backend data structure: time 0.001021/0.1616, allocations: 0.62 MB / 447.7 MB, free: 8.301 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.858e-05/0.1617, allocations: 8.031 kB / 447.7 MB, free: 8.293 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.593e-05/0.1618, allocations: 70.53 kB / 447.7 MB, free: 8.215 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.966e-05/0.1619, allocations: 47.39 kB / 447.8 MB, free: 8.168 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003287/0.1622, allocations: 267.2 kB / 448 MB, free: 7.863 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.68e-05/0.1622, allocations: 25 kB / 448.1 MB, free: 7.84 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.607e-05/0.1623, allocations: 32 kB / 448.1 MB, free: 7.809 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006846/0.163, allocations: 366.7 kB / 448.5 MB, free: 7.43 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.498e-05/0.163, allocations: 3.938 kB / 448.5 MB, free: 7.426 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.28e-05/0.163, allocations: 15.95 kB / 448.5 MB, free: 7.41 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.184e-05/0.163, allocations: 8 kB / 448.5 MB, free: 7.402 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006562/0.1637, allocations: 284.9 kB / 448.8 MB, free: 7.125 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002009/0.1657, allocations: 1.359 MB / 450.1 MB, free: 5.676 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005192/0.1663, allocations: 210.5 kB / 450.3 MB, free: 5.434 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.31e-05/0.1663, allocations: 4 kB / 450.3 MB, free: 5.43 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.822e-05/0.1663, allocations: 38.72 kB / 450.4 MB, free: 5.383 MB / 382.1 MB Notification: Performance of pre-optimization done (n=15): time 1.563e-06/0.1664, allocations: 4 kB / 450.4 MB, free: 5.379 MB / 382.1 MB Notification: Performance of matching and sorting (n=15): time 0.00082/0.1672, allocations: 277.2 kB / 450.6 MB, free: 5.102 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001177/0.1673, allocations: 132.5 kB / 450.8 MB, free: 4.941 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003847/0.1677, allocations: 328.4 kB / 451.1 MB, free: 4.617 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.2e-05/0.1677, allocations: 29.64 kB / 451.1 MB, free: 4.582 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001907/0.1679, allocations: 243.6 kB / 451.4 MB, free: 4.34 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.563e-05/0.168, allocations: 51.3 kB / 451.4 MB, free: 4.289 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.208e-05/0.168, allocations: 4 kB / 451.4 MB, free: 4.285 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001635/0.1682, allocations: 350.8 kB / 451.8 MB, free: 3.934 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002367/0.1684, allocations: 88.5 kB / 451.8 MB, free: 3.848 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002897/0.1687, allocations: 176.2 kB / 452 MB, free: 3.637 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002724/0.169, allocations: 107.9 kB / 452.1 MB, free: 3.531 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.226e-06/0.169, allocations: 4 kB / 452.1 MB, free: 3.527 MB / 382.1 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0006352/0.1697, allocations: 325.5 kB / 452.4 MB, free: 3.203 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.03e-05/0.1697, allocations: 12.25 kB / 452.5 MB, free: 3.191 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.311e-06/0.1697, allocations: 0 / 452.5 MB, free: 3.191 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.858e-05/0.1697, allocations: 8 kB / 452.5 MB, free: 3.184 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004162/0.1702, allocations: 103.9 kB / 452.6 MB, free: 3.082 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.245e-05/0.1702, allocations: 11.94 kB / 452.6 MB, free: 3.07 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002772/0.1705, allocations: 51.58 kB / 452.6 MB, free: 3.02 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.656e-05/0.1705, allocations: 16 kB / 452.6 MB, free: 3.004 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * 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 (34): * Single equations (assignments): 34 * 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.0001807/0.1707, allocations: 153.7 kB / 452.8 MB, free: 2.844 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.991e-05/0.1708, allocations: 35.61 kB / 452.8 MB, free: 2.809 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.16e-05/0.1709, allocations: 30.41 kB / 452.9 MB, free: 2.777 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.292e-06/0.1709, allocations: 8 kB / 452.9 MB, free: 2.77 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.726e-06/0.1709, allocations: 3.938 kB / 452.9 MB, free: 2.766 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.21e-06/0.1709, allocations: 0 / 452.9 MB, free: 2.766 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009011/0.1718, allocations: 0.5876 MB / 453.5 MB, free: 2.105 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.304e-06/0.1718, allocations: 3.938 kB / 453.5 MB, free: 2.102 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002845/0.1721, allocations: 76.03 kB / 453.5 MB, free: 2.027 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.667e-06/0.1721, allocations: 0 / 453.5 MB, free: 2.027 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.584e-05/0.1722, allocations: 4 kB / 453.5 MB, free: 2.023 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.991e-06/0.1722, allocations: 7.953 kB / 453.6 MB, free: 2.016 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.924e-06/0.1722, allocations: 4 kB / 453.6 MB, free: 2.012 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007345/0.1729, allocations: 492.8 kB / 454 MB, free: 1.461 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001004/0.173, allocations: 104.8 kB / 454.1 MB, free: 1.34 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.083e-05/0.1731, allocations: 8 kB / 454.1 MB, free: 1.332 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002265/0.1733, allocations: 23.98 kB / 454.2 MB, free: 1.309 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.69e-05/0.1734, allocations: 16.22 kB / 454.2 MB, free: 1.293 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.066e-05/0.1734, allocations: 4 kB / 454.2 MB, free: 1.289 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0002498/0.1737, allocations: 227 kB / 454.4 MB, free: 1.066 MB / 382.1 MB Notification: Performance of sort global known variables: time 2.8e-07/0.1737, allocations: 0 / 454.4 MB, free: 1.066 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0004286/0.1741, allocations: 75.75 kB / 454.5 MB, free: 0.9922 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * 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 (15): * Single equations (assignments): 15 * 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.2743/0.4484, allocations: 1.421 MB / 455.9 MB, free: 45.64 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0006106/0.4491, allocations: 216.1 kB / 456.1 MB, free: 45.64 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.737e-06/0.4491, allocations: 0 / 456.1 MB, free: 45.64 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002208/0.4493, allocations: 90.97 kB / 456.2 MB, free: 45.64 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004111/0.4497, allocations: 20.16 kB / 456.2 MB, free: 45.64 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002684/0.4524, allocations: 3.54 MB / 459.8 MB, free: 43.1 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002179/0.4527, allocations: 0.7901 MB / 460.6 MB, free: 42.41 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001118/0.4528, allocations: 27.66 kB / 460.6 MB, free: 42.4 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001291/0.4529, allocations: 98.14 kB / 460.7 MB, free: 42.39 MB / 382.1 MB Notification: Performance of SimCode: time 6.91e-07/0.4529, allocations: 0 / 460.7 MB, free: 42.39 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01421/0.4671, allocations: 4.314 MB / 465 MB, free: 42.05 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002027/0.4674, allocations: 156.3 kB / 465.1 MB, free: 41.81 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.877/2.344, allocations: 2.906 kB / 465.1 MB, free: 41.81 MB / 382.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.FluxTubes.Sources.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.FluxTubes.Sources.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.FluxTubes.Sources.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.FluxTubes.Sources.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.FluxTubes.Sources_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_FluxTubes_Sources_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-05 ModelicaTest_3_2_3_ModelicaTest_FluxTubes_Sources.fmu > ModelicaTest_3.2.3_ModelicaTest.FluxTubes.Sources.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.FluxTubes.Sources_res.mat does not exist to compare? outputFormat=mat