Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Vessels.TestSimpleTank.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Vessels.TestSimpleTank,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Fluid_TestComponents_Vessels_TestSimpleTank",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Vessels.TestSimpleTank,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Fluid_TestComponents_Vessels_TestSimpleTank",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001716/0.001717, allocations: 198.8 kB / 8.768 MB, free: 320 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.601/1.601, allocations: 225.6 MB / 234.8 MB, free: 3.203 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001215/0.001215, allocations: 90.34 kB / 286.7 MB, free: 5.293 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2722/0.2722, allocations: 45.15 MB / 383.7 MB, free: 240 kB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 2.163e-05/2.166e-05, allocations: 0 / 453.3 MB, free: 75.73 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1747/0.1747, allocations: 63.25 MB / 0.5045 GB, free: 12.53 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.236/1.41, allocations: 336.8 MB / 0.8334 GB, free: 136.5 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003633/1.411, allocations: 87.95 kB / 0.8335 GB, free: 136.4 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 0.7999/2.211, allocations: 144.7 MB / 0.9747 GB, free: 127.6 MB / 0.5261 GB Notification: Performance of FrontEnd: time 2.375e-06/2.211, allocations: 3.75 kB / 0.9747 GB, free: 127.6 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 0.000104/2.211, allocations: 25.95 kB / 0.9748 GB, free: 127.6 MB / 0.5261 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 153 * Number of variables: 153 Notification: Performance of Generate backend data structure: time 0.00366/2.215, allocations: 1.187 MB / 0.9759 GB, free: 127 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 7.624e-05/2.215, allocations: 13.73 kB / 0.9759 GB, free: 127 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004777/2.215, allocations: 110.1 kB / 0.976 GB, free: 127 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001741/2.217, allocations: 0.6765 MB / 0.9767 GB, free: 126.8 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001277/2.217, allocations: 91 kB / 0.9768 GB, free: 126.7 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001257/2.217, allocations: 45.09 kB / 0.9768 GB, free: 126.7 MB / 0.5261 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001621/2.219, allocations: 0.8198 MB / 0.9776 GB, free: 126.7 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001629/2.221, allocations: 0.9334 MB / 0.9786 GB, free: 126.5 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.263e-05/2.221, allocations: 0.5625 kB / 0.9786 GB, free: 126.5 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.657e-05/2.221, allocations: 3.812 kB / 0.9786 GB, free: 126.5 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.352e-05/2.221, allocations: 54.25 kB / 0.9786 GB, free: 126.5 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006522/2.227, allocations: 3.858 MB / 0.9824 GB, free: 124.9 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001045/2.228, allocations: 0.616 MB / 0.983 GB, free: 124.9 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005934/2.229, allocations: 394.8 kB / 0.9834 GB, free: 124.9 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.003317/2.232, allocations: 2.372 MB / 0.9857 GB, free: 123.4 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007973/2.233, allocations: 485.2 kB / 0.9861 GB, free: 123.3 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=48): time 3.917e-06/2.233, allocations: 0 / 0.9861 GB, free: 123.3 MB / 0.5261 GB Notification: Performance of matching and sorting (n=53): time 0.008163/2.241, allocations: 2.527 MB / 0.9886 GB, free: 122.9 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.983e-05/2.241, allocations: 239.4 kB / 0.9888 GB, free: 122.6 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007833/2.242, allocations: 0.5546 MB / 0.9894 GB, free: 122.5 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 6.801e-05/2.242, allocations: 29.58 kB / 0.9894 GB, free: 122.4 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003523/2.243, allocations: 428.5 kB / 0.9898 GB, free: 122.2 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001631/2.243, allocations: 175.8 kB / 0.99 GB, free: 122.1 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.477e-05/2.243, allocations: 0 / 0.99 GB, free: 122.1 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001551/2.243, allocations: 379.3 kB / 0.9903 GB, free: 121.8 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000464/2.244, allocations: 365 kB / 0.9907 GB, free: 121.8 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006172/2.244, allocations: 0.5779 MB / 0.9912 GB, free: 121.5 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002438/2.247, allocations: 0.7626 MB / 0.992 GB, free: 121.5 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.977e-06/2.247, allocations: 3.906 kB / 0.992 GB, free: 121.5 MB / 0.5261 GB Notification: Performance of matching and sorting (n=96) (initialization): time 0.003813/2.25, allocations: 1.534 MB / 0.9935 GB, free: 121.4 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 0.0008914/2.251, allocations: 2.469 MB / 0.9959 GB, free: 118.9 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.962e-05/2.251, allocations: 11.33 kB / 0.9959 GB, free: 118.9 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007722/2.252, allocations: 315.7 kB / 0.9962 GB, free: 118.8 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005938/2.253, allocations: 151.9 kB / 0.9964 GB, free: 118.8 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002063/2.255, allocations: 1.625 MB / 0.998 GB, free: 117.8 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009872/2.256, allocations: 41.41 kB / 0.998 GB, free: 117.8 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001074/2.256, allocations: 42.5 kB / 0.998 GB, free: 117.8 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 2.079e-05/2.256, allocations: 4.562 kB / 0.998 GB, free: 117.8 MB / 0.5261 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003562/2.26, allocations: 1.41 MB / 0.9994 GB, free: 117.8 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.258e-06/2.26, allocations: 6.656 kB / 0.9994 GB, free: 117.8 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006694/2.26, allocations: 323.3 kB / 0.9997 GB, free: 117.7 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005429/2.261, allocations: 147.5 kB / 0.9999 GB, free: 117.7 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001773/2.263, allocations: 1.579 MB / 1.001 GB, free: 116.7 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009074/2.264, allocations: 47.19 kB / 1.001 GB, free: 116.7 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.129e-05/2.264, allocations: 40.39 kB / 1.001 GB, free: 116.7 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 28 * Number of states: 0 () * Number of discrete variables: 11 ($whenCondition1,tank.regularFlow[1],tank.regularFlow[2],tank.inFlow[1],tank.inFlow[2],timeTable.a,timeTable.b,timeTable.last,$PRE.timeTable.nextEvent,timeTable.nextEvent,timeTable.nextEventScaled) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (84): * Single equations (assignments): 81 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {2 1,2 4} Notification: Performance of prepare postOptimizeDAE: time 0.0003603/2.264, allocations: 168.6 kB / 1.002 GB, free: 116.5 MB / 0.5261 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.00284/2.267, allocations: 1.122 MB / 1.003 GB, free: 116.5 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001185/2.267, allocations: 77.94 kB / 1.003 GB, free: 116.4 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002961/2.27, allocations: 1.224 MB / 1.004 GB, free: 116.3 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.428e-06/2.27, allocations: 3.938 kB / 1.004 GB, free: 116.3 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.087e-06/2.27, allocations: 6.953 kB / 1.004 GB, free: 116.3 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.586e-06/2.27, allocations: 0 / 1.004 GB, free: 116.3 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003958/2.274, allocations: 2.028 MB / 1.006 GB, free: 116 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.43e-06/2.274, allocations: 0 / 1.006 GB, free: 116 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004116/2.274, allocations: 83.45 kB / 1.006 GB, free: 116 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006658/2.275, allocations: 311 kB / 1.006 GB, free: 116 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.284e-05/2.275, allocations: 12.94 kB / 1.006 GB, free: 116 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001866/2.277, allocations: 1.607 MB / 1.008 GB, free: 115 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.56e-06/2.277, allocations: 0 / 1.008 GB, free: 115 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003205/2.28, allocations: 1.705 MB / 1.01 GB, free: 114.7 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005192/2.281, allocations: 255.7 kB / 1.01 GB, free: 114.6 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001382/2.281, allocations: 3.562 kB / 1.01 GB, free: 114.6 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000587/2.282, allocations: 36.47 kB / 1.01 GB, free: 114.6 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001511/2.282, allocations: 53.09 kB / 1.01 GB, free: 114.6 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.276e-05/2.282, allocations: 36.16 kB / 1.01 GB, free: 114.6 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.0005796/2.282, allocations: 429.9 kB / 1.01 GB, free: 114.5 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.4e-07/2.282, allocations: 0 / 1.01 GB, free: 114.5 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.002655/2.285, allocations: 0.6541 MB / 1.011 GB, free: 114.4 MB / 0.5261 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (tank.medium.T,tank.level) * Number of discrete variables: 10 ($whenCondition1,tank.regularFlow[1],tank.regularFlow[2],tank.inFlow[1],tank.inFlow[2],timeTable.a,timeTable.b,timeTable.last,timeTable.nextEvent,timeTable.nextEventScaled) * Number of discrete states: 6 (timeTable.nextEvent,timeTable.last,timeTable.nextEventScaled,timeTable.b,timeTable.a,$whenCondition1) * Top-level inputs: 0 Notification: Strong component statistics for simulation (44): * Single equations (assignments): 41 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {2 1,2 6} Notification: Performance of Backend phase and start with SimCode phase: time 0.005461/2.291, allocations: 2.699 MB / 1.014 GB, free: 113.6 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.003028/2.294, allocations: 1.473 MB / 1.015 GB, free: 113.4 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 7.995e-06/2.294, allocations: 7.281 kB / 1.015 GB, free: 113.4 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0008543/2.294, allocations: 463.7 kB / 1.016 GB, free: 113.3 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001654/2.296, allocations: 266.6 kB / 1.016 GB, free: 113.3 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004305/2.3, allocations: 1.59 MB / 1.017 GB, free: 112.9 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005271/2.301, allocations: 1.037 MB / 1.018 GB, free: 112.2 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.001198/2.302, allocations: 323.5 kB / 1.019 GB, free: 112.2 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003684/2.303, allocations: 283.9 kB / 1.019 GB, free: 112.2 MB / 0.5261 GB Notification: Performance of SimCode: time 1.242e-06/2.303, allocations: 0 / 1.019 GB, free: 112.2 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05931/2.362, allocations: 27.01 MB / 1.045 GB, free: 110.9 MB / 0.5261 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002357/2.362, allocations: 180.5 kB / 1.046 GB, free: 110.7 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.369/5.731, allocations: 3.938 kB / 1.046 GB, free: 110.7 MB / 0.5261 GB (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Vessels.TestSimpleTank.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Vessels.TestSimpleTank.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Vessels.TestSimpleTank.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Vessels.TestSimpleTank.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Vessels.TestSimpleTank_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Fluid_TestComponents_Vessels_TestSimpleTank_fmu --startTime=0 --stopTime=100 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Fluid_TestComponents_Vessels_TestSimpleTank.fmu > ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Vessels.TestSimpleTank.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Vessels.TestSimpleTank_res.mat does not exist to compare? outputFormat=mat