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/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-master/package.mo", uses=false) Using package MEV with version 1.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/MEV 1.1.1-master/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.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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007235/0.0007234, allocations: 91.77 kB / 15.06 MB, free: 1.098 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0007373/0.0007373, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.153/1.153, allocations: 205.4 MB / 222.1 MB, free: 5.496 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/MEV 1.1.1-master/package.mo): time 0.006658/0.006658, allocations: 1.932 MB / 272.3 MB, free: 3.258 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.0004409/0.0004409, allocations: 16 kB / 331 MB, free: 33.21 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0666/0.06705, allocations: 48.09 MB / 379.1 MB, free: 1.066 MB / 270.1 MB Notification: Performance of NFInst.instantiate(MEV.Test.TestBellJarOpenLoop): time 0.002796/0.06989, allocations: 3.059 MB / 382.1 MB, free: 13.98 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009971/0.0709, allocations: 0.8037 MB / 382.9 MB, free: 13.18 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001275/0.07104, allocations: 8 kB / 383 MB, free: 13.17 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001174/0.07117, allocations: 43.61 kB / 383 MB, free: 13.12 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000213/0.07139, allocations: 142.8 kB / 383.1 MB, free: 12.98 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001922/0.07159, allocations: 67.92 kB / 383.2 MB, free: 12.92 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003144/0.07191, allocations: 386.1 kB / 383.6 MB, free: 12.54 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001718/0.07209, allocations: 97.72 kB / 383.7 MB, free: 12.45 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001178/0.07221, allocations: 123.5 kB / 383.8 MB, free: 12.33 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001621/0.07238, allocations: 131.3 kB / 383.9 MB, free: 12.2 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 2.847e-05/0.07242, allocations: 20 kB / 383.9 MB, free: 12.18 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.013e-05/0.0725, allocations: 27.98 kB / 384 MB, free: 12.15 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 4.295e-05/0.07255, allocations: 47.77 kB / 384 MB, free: 12.11 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 5.899e-05/0.07261, allocations: 97.45 kB / 384.1 MB, free: 12 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002312/0.07285, allocations: 283.3 kB / 384.4 MB, free: 11.73 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.958e-06/0.07286, allocations: 0 / 384.4 MB, free: 11.73 MB / 286.1 MB Notification: Performance of FrontEnd: time 9.82e-07/0.07287, allocations: 0 / 384.4 MB, free: 11.73 MB / 286.1 MB Notification: Performance of Transformations before backend: time 4.518e-06/0.07288, allocations: 0 / 384.4 MB, free: 11.73 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: 65 * Number of variables: 65 Notification: Performance of Generate backend data structure: time 0.0007321/0.07361, allocations: 0.5843 MB / 385 MB, free: 11.09 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.092e-05/0.07365, allocations: 8.031 kB / 385 MB, free: 11.09 MB / 286.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.708e-05/0.07371, allocations: 62.53 kB / 385 MB, free: 11.02 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.024e-05/0.07377, allocations: 39.53 kB / 385.1 MB, free: 10.98 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002653/0.07404, allocations: 277.5 kB / 385.4 MB, free: 10.66 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.826e-05/0.07407, allocations: 24.5 kB / 385.4 MB, free: 10.64 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.344e-05/0.07412, allocations: 35.98 kB / 385.4 MB, free: 10.6 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004017/0.07453, allocations: 228.9 kB / 385.6 MB, free: 10.37 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.258e-05/0.07455, allocations: 0 / 385.6 MB, free: 10.37 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.119e-05/0.07458, allocations: 12 kB / 385.6 MB, free: 10.36 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.125e-06/0.07459, allocations: 8 kB / 385.7 MB, free: 10.35 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003095/0.07491, allocations: 182.2 kB / 385.8 MB, free: 10.18 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001231/0.07614, allocations: 0.9108 MB / 386.7 MB, free: 9.207 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003399/0.0765, allocations: 190.5 kB / 386.9 MB, free: 9.012 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001266/0.07663, allocations: 76.83 kB / 387 MB, free: 8.934 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.067e-05/0.07666, allocations: 8 kB / 387 MB, free: 8.926 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.171e-05/0.07669, allocations: 34.56 kB / 387 MB, free: 8.883 MB / 286.1 MB Notification: Performance of pre-optimization done (n=20): time 3.136e-06/0.07671, allocations: 4 kB / 387.1 MB, free: 8.879 MB / 286.1 MB Notification: Performance of matching and sorting (n=25): time 0.001457/0.07817, allocations: 0.9848 MB / 388 MB, free: 7.805 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.994e-05/0.07821, allocations: 55.41 kB / 388.1 MB, free: 7.738 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002414/0.07846, allocations: 279.4 kB / 388.4 MB, free: 7.453 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 1.966e-05/0.07849, allocations: 37.7 kB / 388.4 MB, free: 7.41 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.963e-05/0.07859, allocations: 184.5 kB / 388.6 MB, free: 7.227 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.156e-05/0.07865, allocations: 86.66 kB / 388.7 MB, free: 7.141 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.31e-05/0.07867, allocations: 8 kB / 388.7 MB, free: 7.133 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 9.271e-05/0.07876, allocations: 334.8 kB / 389 MB, free: 6.797 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001301/0.0789, allocations: 71.97 kB / 389.1 MB, free: 6.727 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001452/0.07905, allocations: 120.1 kB / 389.2 MB, free: 6.594 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001489/0.07921, allocations: 99.89 kB / 389.3 MB, free: 6.496 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.162e-06/0.07922, allocations: 0 / 389.3 MB, free: 6.496 MB / 286.1 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0003642/0.07959, allocations: 269.2 kB / 389.5 MB, free: 6.227 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.706e-05/0.07965, allocations: 124.3 kB / 389.7 MB, free: 6.086 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.529e-06/0.07966, allocations: 128 / 389.7 MB, free: 6.086 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.185e-05/0.07968, allocations: 8 kB / 389.7 MB, free: 6.078 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002227/0.07991, allocations: 59.91 kB / 389.7 MB, free: 6.02 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.253e-06/0.07993, allocations: 4 kB / 389.7 MB, free: 6.016 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001202/0.08005, allocations: 15.92 kB / 389.8 MB, free: 6 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.708e-05/0.08008, allocations: 12 kB / 389.8 MB, free: 5.988 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.981e-06/0.08009, allocations: 6.812 kB / 389.8 MB, free: 5.984 MB / 286.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0003164/0.08041, allocations: 215.9 kB / 390 MB, free: 5.773 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.863e-06/0.08042, allocations: 0 / 390 MB, free: 5.773 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.96e-06/0.08043, allocations: 8 kB / 390 MB, free: 5.766 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001986/0.08064, allocations: 59.91 kB / 390.1 MB, free: 5.707 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.394e-06/0.08065, allocations: 11.94 kB / 390.1 MB, free: 5.695 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001014/0.08076, allocations: 11.98 kB / 390.1 MB, free: 5.684 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.303e-05/0.08078, allocations: 12 kB / 390.1 MB, free: 5.672 MB / 286.1 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.0001379/0.08092, allocations: 225.7 kB / 390.3 MB, free: 5.441 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.553e-05/0.08097, allocations: 27.72 kB / 390.3 MB, free: 5.414 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000355/0.08133, allocations: 227.9 kB / 390.6 MB, free: 5.188 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.657e-06/0.08134, allocations: 4 kB / 390.6 MB, free: 5.184 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.729e-06/0.08135, allocations: 3.953 kB / 390.6 MB, free: 5.18 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.769e-06/0.08136, allocations: 3.984 kB / 390.6 MB, free: 5.176 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007946/0.08216, allocations: 0.7342 MB / 391.3 MB, free: 4.375 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.068e-06/0.08218, allocations: 4 kB / 391.3 MB, free: 4.371 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002649/0.08245, allocations: 63.84 kB / 391.4 MB, free: 4.309 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.589e-06/0.08246, allocations: 4.125 kB / 391.4 MB, free: 4.305 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.49e-05/0.08248, allocations: 8 kB / 391.4 MB, free: 4.297 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.114e-06/0.08249, allocations: 4 kB / 391.4 MB, free: 4.293 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.404e-06/0.0825, allocations: 3.984 kB / 391.4 MB, free: 4.289 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005026/0.083, allocations: 434.4 kB / 391.8 MB, free: 3.836 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001154/0.08313, allocations: 136.7 kB / 391.9 MB, free: 3.684 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.476e-05/0.08317, allocations: 4 kB / 391.9 MB, free: 3.68 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001566/0.08333, allocations: 19.98 kB / 392 MB, free: 3.66 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.609e-05/0.08338, allocations: 15.98 kB / 392 MB, free: 3.645 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.199e-05/0.0834, allocations: 8 kB / 392 MB, free: 3.637 MB / 286.1 MB Notification: Performance of sorting global known variables: time 0.0001713/0.08357, allocations: 205.9 kB / 392.2 MB, free: 3.434 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.08358, allocations: 0 / 392.2 MB, free: 3.434 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0004051/0.08399, allocations: 120 kB / 392.3 MB, free: 3.316 MB / 286.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * 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 (26): * Single equations (assignments): 26 * 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.0007173/0.08471, allocations: 0.9698 MB / 393.3 MB, free: 2.305 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0004665/0.08519, allocations: 315.9 kB / 393.6 MB, free: 1.996 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 2.255e-06/0.0852, allocations: 0 / 393.6 MB, free: 1.996 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001394/0.08535, allocations: 103.8 kB / 393.7 MB, free: 1.895 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003856/0.08574, allocations: 45.27 kB / 393.7 MB, free: 1.852 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002486/0.08824, allocations: 1.985 MB / 395.7 MB, free: 15.79 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002819/0.08853, allocations: 0.7719 MB / 396.5 MB, free: 15 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0001283/0.08867, allocations: 30.27 kB / 396.5 MB, free: 14.97 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001273/0.0888, allocations: 103.3 kB / 396.6 MB, free: 14.87 MB / 302.1 MB Notification: Performance of SimCode: time 2.2e-07/0.08881, allocations: 4 kB / 396.6 MB, free: 14.86 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01388/0.1027, allocations: 5.429 MB / 402.1 MB, free: 9.434 MB / 302.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001636/0.1029, allocations: 148.7 kB / 402.2 MB, free: 9.191 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.517/1.62, allocations: 0 / 402.2 MB, free: 9.191 MB / 302.1 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) Environment - environmentSimulation: