Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr MEV_MEV.Test.TestBellJarLinearControl.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/MEV 1.1.1/package.mo", uses=false) Using package MEV with version 1.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/MEV 1.1.1/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(MEV.Test.TestBellJarLinearControl,fileNamePrefix="MEV_MEV_Test_TestBellJarLinearControl",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(MEV.Test.TestBellJarLinearControl,fileNamePrefix="MEV_MEV_Test_TestBellJarLinearControl",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.002059/0.002059, allocations: 108 kB / 15.6 MB, free: 132 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.002564/0.002564, allocations: 192 kB / 16.53 MB, free: 6.391 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.333/2.333, allocations: 205.1 MB / 222.4 MB, free: 4.531 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/MEV 1.1.1/package.mo): time 0.01719/0.01719, allocations: 1.932 MB / 271.7 MB, free: 3.332 MB / 222.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.002598/0.002599, allocations: 67.91 kB / 329.9 MB, free: 32.71 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1721/0.1748, allocations: 47.14 MB / 377.1 MB, free: 1.531 MB / 270.1 MB Notification: Performance of NFInst.instantiate(MEV.Test.TestBellJarLinearControl): time 0.008122/0.183, allocations: 3.672 MB / 380.7 MB, free: 13.83 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0034/0.1865, allocations: 0.9047 MB / 381.7 MB, free: 12.92 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004509/0.187, allocations: 8 kB / 381.7 MB, free: 12.91 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003374/0.1875, allocations: 67.3 kB / 381.7 MB, free: 12.85 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004356/0.1879, allocations: 146.7 kB / 381.9 MB, free: 12.7 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005661/0.1885, allocations: 127.8 kB / 382 MB, free: 12.58 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009735/0.1895, allocations: 0.5523 MB / 382.5 MB, free: 12.02 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004075/0.1899, allocations: 169.9 kB / 382.7 MB, free: 11.85 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000306/0.1902, allocations: 199.2 kB / 382.9 MB, free: 11.66 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003366/0.1906, allocations: 219 kB / 383.1 MB, free: 11.44 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002843/0.1909, allocations: 48 kB / 383.2 MB, free: 11.39 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002773/0.1912, allocations: 55.98 kB / 383.2 MB, free: 11.34 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001433/0.1914, allocations: 95.69 kB / 383.3 MB, free: 11.25 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004018/0.1918, allocations: 242.8 kB / 383.6 MB, free: 11.01 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009336/0.1927, allocations: 0.4906 MB / 384 MB, free: 10.52 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.225e-05/0.1928, allocations: 0 / 384 MB, free: 10.52 MB / 286.1 MB Notification: Performance of FrontEnd: time 4.809e-06/0.1929, allocations: 3.938 kB / 384 MB, free: 10.51 MB / 286.1 MB Notification: Performance of Transformations before backend: time 5.838e-05/0.1929, allocations: 0 / 384 MB, free: 10.51 MB / 286.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 89 * Number of variables: 89 Notification: Performance of Generate backend data structure: time 0.002739/0.1957, allocations: 0.7785 MB / 384.8 MB, free: 9.68 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.391e-05/0.1958, allocations: 11.89 kB / 384.8 MB, free: 9.668 MB / 286.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001186/0.1959, allocations: 70.72 kB / 384.9 MB, free: 9.59 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001379/0.196, allocations: 48.38 kB / 385 MB, free: 9.543 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007521/0.1968, allocations: 335.1 kB / 385.3 MB, free: 9.176 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.381e-05/0.1969, allocations: 29.38 kB / 385.3 MB, free: 9.148 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.953e-05/0.197, allocations: 43.94 kB / 385.4 MB, free: 9.105 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007926/0.1978, allocations: 330.5 kB / 385.7 MB, free: 8.777 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.638e-05/0.1979, allocations: 0 / 385.7 MB, free: 8.777 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.595e-05/0.1979, allocations: 16 kB / 385.7 MB, free: 8.762 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.934e-05/0.1979, allocations: 8 kB / 385.7 MB, free: 8.754 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009148/0.1989, allocations: 263.8 kB / 386 MB, free: 8.492 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002618/0.2015, allocations: 1.124 MB / 387.1 MB, free: 7.309 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007604/0.2023, allocations: 271.2 kB / 387.3 MB, free: 7.035 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004624/0.2028, allocations: 121.3 kB / 387.5 MB, free: 6.914 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.171e-05/0.2029, allocations: 8.234 kB / 387.5 MB, free: 6.906 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006057/0.2035, allocations: 171.6 kB / 387.6 MB, free: 6.727 MB / 286.1 MB Notification: Performance of pre-optimization done (n=29): time 1.823e-06/0.2035, allocations: 0 / 387.6 MB, free: 6.727 MB / 286.1 MB Notification: Performance of matching and sorting (n=34): time 0.003457/0.207, allocations: 1.223 MB / 388.9 MB, free: 5.414 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.949e-05/0.2071, allocations: 55.41 kB / 388.9 MB, free: 5.348 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005226/0.2076, allocations: 341.6 kB / 389.3 MB, free: 5.008 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 5.172e-05/0.2077, allocations: 33.7 kB / 389.3 MB, free: 4.969 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002597/0.2079, allocations: 212.5 kB / 389.5 MB, free: 4.758 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003029/0.2083, allocations: 122.3 kB / 389.6 MB, free: 4.637 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002069/0.2085, allocations: 73.97 kB / 389.7 MB, free: 4.555 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0002283/0.2088, allocations: 342.8 kB / 390 MB, free: 4.211 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003123/0.2091, allocations: 118.3 kB / 390.1 MB, free: 4.094 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003428/0.2095, allocations: 162.5 kB / 390.3 MB, free: 3.922 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007645/0.2102, allocations: 289 kB / 390.6 MB, free: 3.621 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.036e-06/0.2103, allocations: 4 kB / 390.6 MB, free: 3.617 MB / 286.1 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0008614/0.2112, allocations: 398.7 kB / 391 MB, free: 3.215 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.576e-05/0.2112, allocations: 29.7 kB / 391 MB, free: 3.18 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.21e-05/0.2113, allocations: 0 / 391 MB, free: 3.18 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.304e-05/0.2113, allocations: 7.938 kB / 391 MB, free: 3.172 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004751/0.2118, allocations: 83.89 kB / 391.1 MB, free: 3.09 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.055e-05/0.2118, allocations: 7.938 kB / 391.1 MB, free: 3.082 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002416/0.2121, allocations: 20.08 kB / 391.1 MB, free: 3.062 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.854e-05/0.2121, allocations: 12 kB / 391.1 MB, free: 3.051 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0004226/0.2126, allocations: 228.9 kB / 391.3 MB, free: 2.824 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003045/0.2129, allocations: 150.7 kB / 391.5 MB, free: 2.664 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0005788/0.2135, allocations: 289.3 kB / 391.8 MB, free: 2.363 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.043e-06/0.2135, allocations: 0 / 391.8 MB, free: 2.363 MB / 286.1 MB Notification: Performance of matching and sorting (n=47) (initialization_lambda0): time 0.0007756/0.2143, allocations: 390.7 kB / 392.2 MB, free: 1.969 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.226e-05/0.2143, allocations: 34.33 kB / 392.2 MB, free: 1.93 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.595e-06/0.2143, allocations: 4.094 kB / 392.2 MB, free: 1.926 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.486e-06/0.2143, allocations: 0 / 392.2 MB, free: 1.926 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003435/0.2147, allocations: 91.83 kB / 392.3 MB, free: 1.836 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.521e-06/0.2147, allocations: 0 / 392.3 MB, free: 1.836 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002183/0.2149, allocations: 19.92 kB / 392.3 MB, free: 1.816 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.639e-05/0.215, allocations: 16 kB / 392.3 MB, free: 1.801 MB / 286.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 5 (opening.count,$PRE.opening.count,opening.T_start,$PRE.opening.T_start,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (46): * Single equations (assignments): 45 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002194/0.2152, allocations: 201.1 kB / 392.5 MB, free: 1.598 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.184e-05/0.2153, allocations: 39.53 kB / 392.6 MB, free: 1.559 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007803/0.216, allocations: 321.3 kB / 392.9 MB, free: 1.238 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.853e-06/0.2161, allocations: 4 kB / 392.9 MB, free: 1.234 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.094e-05/0.2161, allocations: 7.938 kB / 392.9 MB, free: 1.227 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.133e-05/0.2161, allocations: 7.984 kB / 392.9 MB, free: 1.219 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00145/0.2176, allocations: 0.8723 MB / 393.8 MB, free: 284 kB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.759e-06/0.2176, allocations: 4 kB / 393.8 MB, free: 280 kB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003881/0.218, allocations: 79.88 kB / 393.8 MB, free: 200 kB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.183e-06/0.218, allocations: 4 kB / 393.8 MB, free: 196 kB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.1e-05/0.218, allocations: 8 kB / 393.9 MB, free: 188 kB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.987e-06/0.218, allocations: 0 / 393.9 MB, free: 188 kB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.417e-06/0.2181, allocations: 7.938 kB / 393.9 MB, free: 180 kB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001173/0.2192, allocations: 0.5616 MB / 394.4 MB, free: 15.58 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002019/0.2195, allocations: 144.6 kB / 394.6 MB, free: 15.42 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.451e-05/0.2195, allocations: 12 kB / 394.6 MB, free: 15.41 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002888/0.2198, allocations: 23.97 kB / 394.6 MB, free: 15.39 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001132/0.2199, allocations: 23.97 kB / 394.6 MB, free: 15.36 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.102e-05/0.22, allocations: 8 kB / 394.6 MB, free: 15.36 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0003112/0.2203, allocations: 243.2 kB / 394.9 MB, free: 15.12 MB / 302.1 MB Notification: Performance of sort global known variables: time 2.325e-06/0.2203, allocations: 4 kB / 394.9 MB, free: 15.12 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0005945/0.2209, allocations: 151.9 kB / 395 MB, free: 14.97 MB / 302.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 4 (controller.firstOrder.y,bellJar.cylinder.M,bellJar.damper.s_rel,bellJar.damper.v_rel) * Number of discrete variables: 3 ($whenCondition1,opening.T_start,opening.count) * Number of discrete states: 1 (opening.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (35): * Single equations (assignments): 33 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001686/0.2226, allocations: 1.114 MB / 396.1 MB, free: 13.81 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.00162/0.2243, allocations: 0.5619 MB / 396.7 MB, free: 13.23 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 8.866e-06/0.2243, allocations: 0 / 396.7 MB, free: 13.23 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003677/0.2247, allocations: 152.8 kB / 396.8 MB, free: 13.08 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000607/0.2253, allocations: 67.05 kB / 396.9 MB, free: 13.02 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007561/0.2329, allocations: 3.789 MB / 400.7 MB, free: 9.105 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007055/0.2336, allocations: 0.8118 MB / 401.5 MB, free: 8.27 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0003784/0.234, allocations: 46.94 kB / 401.6 MB, free: 8.223 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002431/0.2343, allocations: 131.4 kB / 401.7 MB, free: 8.094 MB / 302.1 MB Notification: Performance of SimCode: time 1.994e-06/0.2343, allocations: 0 / 401.7 MB, free: 8.094 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05433/0.2886, allocations: 7.774 MB / 409.5 MB, free: 256 kB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 20.24/20.53, allocations: 23.69 kB / 409.5 MB, free: 232 kB / 302.1 MB (rm -f MEV_MEV.Test.TestBellJarLinearControl.pipe ; mkfifo MEV_MEV.Test.TestBellJarLinearControl.pipe ; head -c 1048576 < MEV_MEV.Test.TestBellJarLinearControl.pipe >> ../files/MEV_MEV.Test.TestBellJarLinearControl.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_MEV_MEV_Test_TestBellJarLinearControl_fmu --startTime=0 --stopTime=100 --timeout=50 --tolerance=1e-06 MEV_MEV_Test_TestBellJarLinearControl.fmu > MEV_MEV.Test.TestBellJarLinearControl.pipe 2>&1)