Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr MEV_MEV.Test.TestBellJarOpenLoop.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/MEV 1.1.1-master/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) 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 MEV with version 1.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/MEV 1.1.1-master/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(MEV.Test.TestBellJarOpenLoop,fileNamePrefix="MEV_MEV_Test_TestBellJarOpenLoop",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(MEV.Test.TestBellJarOpenLoop,fileNamePrefix="MEV_MEV_Test_TestBellJarOpenLoop",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.005804/0.005804, allocations: 170.8 kB / 15.11 MB, free: 5.984 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/MEV 1.1.1-master/package.mo): time 0.008463/0.008463, allocations: 1.933 MB / 17.79 MB, free: 4.168 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.666/1.666, allocations: 205.4 MB / 224.4 MB, free: 11.99 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.001082/0.001081, allocations: 90.14 kB / 273.3 MB, free: 11.02 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004608/0.0004611, allocations: 8.219 kB / 331.9 MB, free: 10.8 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1236/0.1241, allocations: 48.09 MB / 380 MB, free: 10.63 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3441/0.4682, allocations: 79.16 MB / 459.2 MB, free: 8.324 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002575/0.4685, allocations: 75.97 kB / 459.3 MB, free: 8.25 MB / 330.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/MEV 1.1.1-master/package.mo:395:7-396:74:writable] Warning: connect(inlet, inlet) connects the same connector instance! The connect equation will be ignored. Notification: Performance of FrontEnd - DAE generated: time 0.01712/0.4857, allocations: 5.908 MB / 465.2 MB, free: 2.332 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.494e-06/0.4857, allocations: 0 / 465.2 MB, free: 2.332 MB / 330.7 MB Notification: Performance of Transformations before backend: time 3.014e-05/0.4858, allocations: 8 kB / 465.2 MB, free: 2.324 MB / 330.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 65 * Number of variables: 65 Notification: Performance of Generate backend data structure: time 0.001209/0.487, allocations: 0.5776 MB / 465.8 MB, free: 1.695 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.076e-05/0.487, allocations: 8.031 kB / 465.8 MB, free: 1.688 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001388/0.4872, allocations: 58.55 kB / 465.8 MB, free: 1.621 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001151/0.4873, allocations: 35.62 kB / 465.9 MB, free: 1.586 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005037/0.4878, allocations: 277.5 kB / 466.1 MB, free: 1.277 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.883e-05/0.4879, allocations: 24.56 kB / 466.2 MB, free: 1.254 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.102e-05/0.488, allocations: 35.89 kB / 466.2 MB, free: 1.219 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005338/0.4885, allocations: 232.9 kB / 466.4 MB, free: 0.9844 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.02e-05/0.4885, allocations: 4 kB / 466.4 MB, free: 0.9805 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.736e-05/0.4886, allocations: 11.94 kB / 466.4 MB, free: 0.9688 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.744e-05/0.4886, allocations: 8 kB / 466.4 MB, free: 0.9609 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004003/0.489, allocations: 182.2 kB / 466.6 MB, free: 0.7852 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00164/0.4907, allocations: 0.8269 MB / 467.4 MB, free: 15.91 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003353/0.491, allocations: 179.1 kB / 467.6 MB, free: 15.72 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.759e-05/0.491, allocations: 4.188 kB / 467.6 MB, free: 15.72 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.952e-05/0.4911, allocations: 42.69 kB / 467.7 MB, free: 15.67 MB / 346.7 MB Notification: Performance of pre-optimization done (n=21): time 2.345e-06/0.4911, allocations: 0 / 467.7 MB, free: 15.67 MB / 346.7 MB Notification: Performance of matching and sorting (n=26): time 0.002067/0.4932, allocations: 0.9835 MB / 468.6 MB, free: 14.59 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.135e-05/0.4932, allocations: 55.41 kB / 468.7 MB, free: 14.53 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003009/0.4935, allocations: 246 kB / 468.9 MB, free: 14.28 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 3.138e-05/0.4936, allocations: 33.7 kB / 469 MB, free: 14.24 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001415/0.4937, allocations: 180.3 kB / 469.1 MB, free: 14.06 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.742e-05/0.4938, allocations: 94.8 kB / 469.2 MB, free: 13.97 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.756e-05/0.4939, allocations: 11.94 kB / 469.3 MB, free: 13.96 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.00016/0.494, allocations: 338.8 kB / 469.6 MB, free: 13.62 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001567/0.4942, allocations: 71.97 kB / 469.7 MB, free: 13.55 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001915/0.4944, allocations: 112.1 kB / 469.8 MB, free: 13.42 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001855/0.4946, allocations: 95.97 kB / 469.9 MB, free: 13.33 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.776e-06/0.4946, allocations: 0 / 469.9 MB, free: 13.33 MB / 346.7 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.000479/0.4951, allocations: 269.2 kB / 470.1 MB, free: 13.06 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002712/0.4954, allocations: 449.1 kB / 470.6 MB, free: 12.59 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.636e-06/0.4954, allocations: 4 kB / 470.6 MB, free: 12.58 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.315e-05/0.4954, allocations: 4 kB / 470.6 MB, free: 12.58 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003015/0.4957, allocations: 59.91 kB / 470.6 MB, free: 12.52 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.137e-05/0.4957, allocations: 0 / 470.6 MB, free: 12.52 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001918/0.4959, allocations: 15.98 kB / 470.6 MB, free: 12.5 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.312e-05/0.496, allocations: 12 kB / 470.7 MB, free: 12.49 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.177e-06/0.496, allocations: 0 / 470.7 MB, free: 12.49 MB / 346.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0003997/0.4964, allocations: 216.1 kB / 470.9 MB, free: 12.28 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.927e-06/0.4964, allocations: 0 / 470.9 MB, free: 12.28 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.929e-06/0.4964, allocations: 7.953 kB / 470.9 MB, free: 12.27 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002326/0.4967, allocations: 59.91 kB / 470.9 MB, free: 12.21 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.372e-06/0.4967, allocations: 4 kB / 470.9 MB, free: 12.21 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001499/0.4968, allocations: 11.98 kB / 470.9 MB, free: 12.2 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.879e-05/0.4969, allocations: 12 kB / 471 MB, free: 12.19 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * 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 (35): * Single equations (assignments): 35 * 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.0002125/0.4971, allocations: 230.9 kB / 471.2 MB, free: 11.95 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.246e-05/0.4972, allocations: 27.62 kB / 471.2 MB, free: 11.93 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00046/0.4976, allocations: 246.8 kB / 471.5 MB, free: 11.68 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.396e-06/0.4976, allocations: 7.953 kB / 471.5 MB, free: 11.68 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.703e-06/0.4977, allocations: 4 kB / 471.5 MB, free: 11.67 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.322e-06/0.4977, allocations: 3.984 kB / 471.5 MB, free: 11.67 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00117/0.4988, allocations: 0.741 MB / 472.2 MB, free: 10.86 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.737e-06/0.4989, allocations: 0 / 472.2 MB, free: 10.86 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003269/0.4992, allocations: 76.05 kB / 472.3 MB, free: 10.78 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.112e-06/0.4992, allocations: 0 / 472.3 MB, free: 10.78 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.716e-05/0.4993, allocations: 11.94 kB / 472.3 MB, free: 10.77 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.909e-06/0.4993, allocations: 4 kB / 472.3 MB, free: 10.77 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.944e-06/0.4993, allocations: 0 / 472.3 MB, free: 10.77 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007697/0.5, allocations: 0.5044 MB / 472.8 MB, free: 10.2 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001439/0.5002, allocations: 128.7 kB / 472.9 MB, free: 10.05 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.694e-05/0.5003, allocations: 11.98 kB / 472.9 MB, free: 10.04 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001831/0.5004, allocations: 12 kB / 472.9 MB, free: 10.03 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.796e-05/0.5005, allocations: 19.97 kB / 473 MB, free: 10.01 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.744e-05/0.5006, allocations: 8.094 kB / 473 MB, free: 10 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0002105/0.5008, allocations: 198 kB / 473.2 MB, free: 9.809 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.5008, allocations: 3.938 kB / 473.2 MB, free: 9.805 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0005018/0.5013, allocations: 116 kB / 473.3 MB, free: 9.691 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 3 (bellJar.cylinder.M,bellJar.damper.s_rel,bellJar.damper.v_rel) * 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 (27): * Single equations (assignments): 27 * 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.001209/0.5025, allocations: 1.416 MB / 474.7 MB, free: 8.211 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0005847/0.5031, allocations: 308.4 kB / 475 MB, free: 7.91 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 4.489e-06/0.5031, allocations: 0 / 475 MB, free: 7.91 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001933/0.5033, allocations: 104.7 kB / 475.1 MB, free: 7.809 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003874/0.5037, allocations: 40.88 kB / 475.1 MB, free: 7.766 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003535/0.5073, allocations: 2.563 MB / 477.7 MB, free: 5.117 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00047/0.5078, allocations: 0.7797 MB / 478.5 MB, free: 4.312 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0002054/0.508, allocations: 38.27 kB / 478.5 MB, free: 4.277 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001615/0.5081, allocations: 95.41 kB / 478.6 MB, free: 4.184 MB / 346.7 MB Notification: Performance of SimCode: time 7.61e-07/0.5082, allocations: 0 / 478.6 MB, free: 4.184 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01973/0.5279, allocations: 5.451 MB / 484.1 MB, free: 14.74 MB / 362.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002504/0.5282, allocations: 143 kB / 484.2 MB, free: 14.5 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.209/2.738, allocations: 0 / 484.2 MB, free: 14.5 MB / 362.7 MB (rm -f MEV_MEV.Test.TestBellJarOpenLoop.pipe ; mkfifo MEV_MEV.Test.TestBellJarOpenLoop.pipe ; head -c 1048576 < MEV_MEV.Test.TestBellJarOpenLoop.pipe >> ../files/MEV_MEV.Test.TestBellJarOpenLoop.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_MEV_MEV_Test_TestBellJarOpenLoop_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 MEV_MEV_Test_TestBellJarOpenLoop.fmu > MEV_MEV.Test.TestBellJarOpenLoop.pipe 2>&1)