Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Pipes.StaticPipe.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.Fluid.TestComponents.Pipes.StaticPipe,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Fluid_TestComponents_Pipes_StaticPipe",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Pipes.StaticPipe,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Fluid_TestComponents_Pipes_StaticPipe",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.001732/0.001733, allocations: 183.1 kB / 13.19 MB, free: 2.129 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.874/1.874, allocations: 205.2 MB / 218.9 MB, free: 9.215 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.0008823/0.0008825, allocations: 98.53 kB / 267.1 MB, free: 9.277 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.4476/0.4476, allocations: 43.46 MB / 358.6 MB, free: 52.35 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 3.488e-05/3.49e-05, allocations: 0 / 425.4 MB, free: 8.797 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1627/0.1628, allocations: 58.86 MB / 484.3 MB, free: 13.84 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.082/1.245, allocations: 316.7 MB / 0.7821 GB, free: 58.7 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002842/1.245, allocations: 86.64 kB / 0.7822 GB, free: 58.66 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.5501/1.795, allocations: 97.54 MB / 0.8775 GB, free: 124.2 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.342e-06/1.795, allocations: 2.875 kB / 0.8775 GB, free: 124.2 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 6.922e-05/1.796, allocations: 13.25 kB / 0.8775 GB, free: 124.2 MB / 0.4948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 80 * Number of variables: 80 Notification: Performance of Generate backend data structure: time 0.002361/1.798, allocations: 0.8353 MB / 0.8783 GB, free: 123.6 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 5.174e-05/1.798, allocations: 9.781 kB / 0.8783 GB, free: 123.6 MB / 0.4948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002032/1.798, allocations: 74.33 kB / 0.8784 GB, free: 123.6 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004445/1.799, allocations: 58.31 kB / 0.8784 GB, free: 123.6 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00129/1.8, allocations: 458.1 kB / 0.8789 GB, free: 123.3 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.986e-05/1.8, allocations: 20.91 kB / 0.8789 GB, free: 123.3 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.743e-05/1.8, allocations: 34.59 kB / 0.8789 GB, free: 123.3 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009787/1.801, allocations: 0.5159 MB / 0.8794 GB, free: 123.2 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.622e-05/1.801, allocations: 0 / 0.8794 GB, free: 123.2 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.858e-05/1.801, allocations: 13.8 kB / 0.8794 GB, free: 123.2 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.572e-05/1.801, allocations: 32.19 kB / 0.8795 GB, free: 123.2 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000778/1.802, allocations: 446.8 kB / 0.8799 GB, free: 123.2 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003522/1.806, allocations: 2.268 MB / 0.8821 GB, free: 121.9 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000421/1.806, allocations: 221.4 kB / 0.8823 GB, free: 121.9 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002045/1.806, allocations: 127.8 kB / 0.8825 GB, free: 121.9 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001332/1.808, allocations: 1.055 MB / 0.8835 GB, free: 121.1 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002952/1.808, allocations: 211.5 kB / 0.8837 GB, free: 121 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=18): time 2.836e-06/1.808, allocations: 0 / 0.8837 GB, free: 121 MB / 0.4948 GB Notification: Performance of matching and sorting (n=18): time 0.0007217/1.809, allocations: 312.2 kB / 0.884 GB, free: 120.9 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.977e-05/1.809, allocations: 234.5 kB / 0.8842 GB, free: 120.6 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000628/1.809, allocations: 464.3 kB / 0.8847 GB, free: 120.5 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 3.865e-05/1.809, allocations: 36.36 kB / 0.8847 GB, free: 120.5 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001753/1.81, allocations: 279.5 kB / 0.885 GB, free: 120.3 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 6.124e-05/1.81, allocations: 61.84 kB / 0.885 GB, free: 120.3 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.065e-05/1.81, allocations: 10.22 kB / 0.885 GB, free: 120.3 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001058/1.81, allocations: 358.3 kB / 0.8854 GB, free: 120 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002084/1.81, allocations: 127 kB / 0.8855 GB, free: 120 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002986/1.81, allocations: 291.1 kB / 0.8858 GB, free: 119.8 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002968/1.811, allocations: 197.6 kB / 0.8859 GB, free: 119.7 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.771e-06/1.811, allocations: 3.125 kB / 0.886 GB, free: 119.7 MB / 0.4948 GB Notification: Performance of matching and sorting (n=48) (initialization): time 0.000821/1.811, allocations: 0.4993 MB / 0.8864 GB, free: 119.6 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004991/1.812, allocations: 1.693 MB / 0.8881 GB, free: 117.9 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.494e-05/1.812, allocations: 7.156 kB / 0.8881 GB, free: 117.9 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.814e-05/1.812, allocations: 6.594 kB / 0.8881 GB, free: 117.9 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003467/1.812, allocations: 77.55 kB / 0.8882 GB, free: 117.9 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.411e-05/1.812, allocations: 6.656 kB / 0.8882 GB, free: 117.9 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005035/1.813, allocations: 64.84 kB / 0.8882 GB, free: 117.9 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.856e-05/1.813, allocations: 26.31 kB / 0.8883 GB, free: 117.9 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.234e-05/1.813, allocations: 3.188 kB / 0.8883 GB, free: 117.9 MB / 0.4948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0006975/1.814, allocations: 455.8 kB / 0.8887 GB, free: 117.8 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.816e-06/1.814, allocations: 3.156 kB / 0.8887 GB, free: 117.8 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.618e-06/1.814, allocations: 14.14 kB / 0.8887 GB, free: 117.8 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002557/1.814, allocations: 78.64 kB / 0.8888 GB, free: 117.8 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.759e-06/1.814, allocations: 9.594 kB / 0.8888 GB, free: 117.8 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000409/1.814, allocations: 51.88 kB / 0.8889 GB, free: 117.8 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.295e-05/1.815, allocations: 20.22 kB / 0.8889 GB, free: 117.8 MB / 0.4948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 19 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition1,p_table.a,p_table.b,p_table.last,$PRE.p_table.nextEvent,p_table.nextEvent,p_table.nextEventScaled) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (43): * Single equations (assignments): 42 * Array equations: 0 * Algorithm blocks: 1 * 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.0001627/1.815, allocations: 163 kB / 0.889 GB, free: 117.7 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.452e-05/1.815, allocations: 53.44 kB / 0.8891 GB, free: 117.6 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005963/1.815, allocations: 365.8 kB / 0.8894 GB, free: 117.6 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.951e-06/1.815, allocations: 0 / 0.8894 GB, free: 117.6 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.97e-06/1.815, allocations: 0 / 0.8894 GB, free: 117.6 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.999e-06/1.815, allocations: 3.156 kB / 0.8894 GB, free: 117.6 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004796/1.816, allocations: 408.6 kB / 0.8898 GB, free: 117.4 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.627e-06/1.816, allocations: 3.875 kB / 0.8898 GB, free: 117.4 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001162/1.816, allocations: 26.45 kB / 0.8899 GB, free: 117.4 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.129e-06/1.816, allocations: 3.125 kB / 0.8899 GB, free: 117.4 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.456e-05/1.816, allocations: 7.156 kB / 0.8899 GB, free: 117.4 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.817e-06/1.816, allocations: 3.953 kB / 0.8899 GB, free: 117.3 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.186e-06/1.816, allocations: 3.75 kB / 0.8899 GB, free: 117.3 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005218/1.817, allocations: 360.2 kB / 0.8902 GB, free: 117.2 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001606/1.817, allocations: 141.4 kB / 0.8904 GB, free: 117.1 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.84e-05/1.817, allocations: 10.34 kB / 0.8904 GB, free: 117.1 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002783/1.817, allocations: 26.77 kB / 0.8904 GB, free: 117.1 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.493e-05/1.817, allocations: 13.08 kB / 0.8904 GB, free: 117.1 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.8e-05/1.817, allocations: 9.875 kB / 0.8904 GB, free: 117.1 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.0004766/1.818, allocations: 360.6 kB / 0.8908 GB, free: 117 MB / 0.4948 GB Notification: Performance of sort global known variables: time 4.61e-07/1.818, allocations: 1.125 kB / 0.8908 GB, free: 117 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.00188/1.82, allocations: 471.1 kB / 0.8912 GB, free: 116.9 MB / 0.4948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,p_table.a,p_table.b,p_table.last,p_table.nextEvent,p_table.nextEventScaled) * Number of discrete states: 6 (p_table.nextEvent,p_table.last,p_table.nextEventScaled,p_table.b,p_table.a,$whenCondition1) * Top-level inputs: 0 Notification: Strong component statistics for simulation (16): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 1 * 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.00283/1.823, allocations: 1.3 MB / 0.8925 GB, free: 116.2 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.001014/1.824, allocations: 0.6534 MB / 0.8931 GB, free: 116 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 4.067e-06/1.824, allocations: 3.375 kB / 0.8931 GB, free: 116 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.0001778/1.824, allocations: 175.8 kB / 0.8933 GB, free: 115.9 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001031/1.825, allocations: 193.2 kB / 0.8935 GB, free: 115.9 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00197/1.827, allocations: 0.7721 MB / 0.8942 GB, free: 115.6 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003878/1.827, allocations: 0.849 MB / 0.8951 GB, free: 114.9 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.000764/1.828, allocations: 183.6 kB / 0.8952 GB, free: 114.9 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002516/1.828, allocations: 155.4 kB / 0.8954 GB, free: 114.9 MB / 0.4948 GB Notification: Performance of SimCode: time 8.32e-07/1.828, allocations: 0 / 0.8954 GB, free: 114.9 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04807/1.876, allocations: 17.55 MB / 0.9125 GB, free: 113.8 MB / 0.4948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001618/1.877, allocations: 201.5 kB / 0.9127 GB, free: 113.6 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.413/4.29, allocations: 0 / 0.9127 GB, free: 113.6 MB / 0.4948 GB (rm -f ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Pipes.StaticPipe.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Pipes.StaticPipe.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Pipes.StaticPipe.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Pipes.StaticPipe.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Pipes.StaticPipe_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Fluid_TestComponents_Pipes_StaticPipe_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Fluid_TestComponents_Pipes_StaticPipe.fmu > ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Pipes.StaticPipe.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Pipes.StaticPipe_res.mat does not exist to compare? outputFormat=mat