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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001348/0.001348, allocations: 99.64 kB / 18.95 MB, free: 2.668 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001586/0.001586, allocations: 213.1 kB / 22.24 MB, free: 5.262 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.34/1.34, allocations: 207.7 MB / 233.1 MB, free: 9.773 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/MEV 1.1.1/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/MEV 1.1.1/package.mo): time 0.008942/0.008942, allocations: 1.973 MB / 287.3 MB, free: 3.648 MB / 222.1 MB " [Timeout remaining time 180] 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.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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"}) [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.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.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.00214/0.00214, allocations: 79.95 kB / 401.8 MB, free: 50.76 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07489/0.07703, allocations: 49.7 MB / 451.5 MB, free: 6.082 MB / 318.1 MB Notification: Performance of NFInst.instantiate(MEV.Test.TestBellJarOpenLoop): time 0.003672/0.0807, allocations: 2.941 MB / 454.4 MB, free: 3.121 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.00127/0.08197, allocations: 0.7681 MB / 455.2 MB, free: 2.348 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001565/0.08213, allocations: 7.938 kB / 455.2 MB, free: 2.34 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001533/0.08228, allocations: 47.5 kB / 455.2 MB, free: 2.293 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002007/0.08248, allocations: 130.9 kB / 455.4 MB, free: 2.164 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002438/0.08272, allocations: 95.84 kB / 455.5 MB, free: 2.07 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002893/0.08301, allocations: 430 kB / 455.9 MB, free: 1.648 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001733/0.08319, allocations: 84.67 kB / 456 MB, free: 1.559 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001285/0.08332, allocations: 155.4 kB / 456.1 MB, free: 1.406 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001737/0.08349, allocations: 151.2 kB / 456.3 MB, free: 1.258 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 3.768e-05/0.08353, allocations: 32 kB / 456.3 MB, free: 1.227 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.598e-05/0.08361, allocations: 40 kB / 456.3 MB, free: 1.188 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 4.087e-05/0.08365, allocations: 75.7 kB / 456.4 MB, free: 1.113 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 9.574e-05/0.08375, allocations: 159.3 kB / 456.6 MB, free: 0.957 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003179/0.08407, allocations: 398.4 kB / 456.9 MB, free: 0.5664 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.468e-06/0.08407, allocations: 3.984 kB / 456.9 MB, free: 0.5625 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.463e-06/0.08407, allocations: 0 / 456.9 MB, free: 0.5625 MB / 318.1 MB Notification: Performance of Transformations before backend: time 6.172e-06/0.08408, allocations: 4 kB / 457 MB, free: 0.5586 MB / 318.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.000812/0.08489, allocations: 0.5635 MB / 457.5 MB, free: 15.96 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.274e-05/0.08494, allocations: 11.98 kB / 457.5 MB, free: 15.95 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.957e-05/0.08501, allocations: 62.67 kB / 457.6 MB, free: 15.88 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.025e-05/0.08509, allocations: 40.7 kB / 457.6 MB, free: 15.84 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004224/0.08552, allocations: 233 kB / 457.9 MB, free: 15.59 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.307e-05/0.08554, allocations: 17.03 kB / 457.9 MB, free: 15.57 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.02e-05/0.0856, allocations: 39.88 kB / 457.9 MB, free: 15.53 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004746/0.08607, allocations: 285.5 kB / 458.2 MB, free: 15.23 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.527e-05/0.08609, allocations: 4 kB / 458.2 MB, free: 15.23 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.609e-05/0.08612, allocations: 11.94 kB / 458.2 MB, free: 15.21 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.146e-05/0.08613, allocations: 12 kB / 458.2 MB, free: 15.2 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003574/0.08649, allocations: 178.5 kB / 458.4 MB, free: 15.03 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001454/0.08794, allocations: 0.7874 MB / 459.2 MB, free: 14.19 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003988/0.08834, allocations: 174.5 kB / 459.4 MB, free: 14.01 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001487/0.08849, allocations: 76.88 kB / 459.4 MB, free: 13.93 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.463e-05/0.08851, allocations: 8.344 kB / 459.4 MB, free: 13.92 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.067e-05/0.08854, allocations: 34.56 kB / 459.5 MB, free: 13.88 MB / 334.1 MB Notification: Performance of pre-optimization done (n=20): time 1.283e-06/0.08854, allocations: 4 kB / 459.5 MB, free: 13.88 MB / 334.1 MB Notification: Performance of matching and sorting (n=25): time 0.001745/0.09029, allocations: 0.8176 MB / 460.3 MB, free: 13 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.36e-05/0.09033, allocations: 55.41 kB / 460.3 MB, free: 12.94 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003203/0.09065, allocations: 292.5 kB / 460.6 MB, free: 12.65 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.957e-05/0.09069, allocations: 33.69 kB / 460.7 MB, free: 12.61 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001432/0.09083, allocations: 188.5 kB / 460.8 MB, free: 12.42 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.193e-05/0.09092, allocations: 95.31 kB / 460.9 MB, free: 12.33 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.091e-05/0.09101, allocations: 57.66 kB / 461 MB, free: 12.27 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001647/0.09117, allocations: 338.8 kB / 461.3 MB, free: 11.93 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001675/0.09134, allocations: 76.83 kB / 461.4 MB, free: 11.85 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001864/0.09153, allocations: 120.1 kB / 461.5 MB, free: 11.71 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003435/0.09187, allocations: 208.1 kB / 461.7 MB, free: 11.5 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.272e-06/0.09187, allocations: 0 / 461.7 MB, free: 11.5 MB / 334.1 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0004672/0.09234, allocations: 269.4 kB / 462 MB, free: 11.23 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.389e-05/0.09235, allocations: 4 kB / 462 MB, free: 11.22 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.104e-05/0.09236, allocations: 7.938 kB / 462 MB, free: 11.21 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.714e-05/0.09238, allocations: 0 / 462 MB, free: 11.21 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002554/0.09264, allocations: 68.03 kB / 462.1 MB, free: 11.15 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.038e-05/0.09265, allocations: 4 kB / 462.1 MB, free: 11.14 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001468/0.09279, allocations: 8 kB / 462.1 MB, free: 11.14 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.03e-05/0.09281, allocations: 15.94 kB / 462.1 MB, free: 11.12 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002499/0.09306, allocations: 184.3 kB / 462.3 MB, free: 10.94 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001702/0.09323, allocations: 116.1 kB / 462.4 MB, free: 10.81 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0003144/0.09355, allocations: 208.3 kB / 462.6 MB, free: 10.59 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.253e-06/0.09355, allocations: 0 / 462.6 MB, free: 10.59 MB / 334.1 MB Notification: Performance of matching and sorting (n=35) (initialization_lambda0): time 0.0004219/0.09397, allocations: 265.3 kB / 462.8 MB, free: 10.32 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.847e-05/0.09399, allocations: 8 kB / 462.9 MB, free: 10.32 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.934e-06/0.09399, allocations: 0 / 462.9 MB, free: 10.32 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.448e-06/0.094, allocations: 3.938 kB / 462.9 MB, free: 10.31 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000225/0.09422, allocations: 63.91 kB / 462.9 MB, free: 10.25 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.706e-06/0.09422, allocations: 4 kB / 462.9 MB, free: 10.25 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000125/0.09435, allocations: 12.12 kB / 462.9 MB, free: 10.23 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.415e-05/0.09436, allocations: 8 kB / 462.9 MB, free: 10.23 MB / 334.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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000138/0.0945, allocations: 196.1 kB / 463.1 MB, free: 10.03 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.746e-05/0.09456, allocations: 35.8 kB / 463.2 MB, free: 9.992 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004341/0.09499, allocations: 235.9 kB / 463.4 MB, free: 9.75 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.698e-06/0.095, allocations: 4 kB / 463.4 MB, free: 9.746 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.607e-06/0.095, allocations: 0 / 463.4 MB, free: 9.746 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.907e-06/0.095, allocations: 0 / 463.4 MB, free: 9.746 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000971/0.09598, allocations: 0.6532 MB / 464.1 MB, free: 9.031 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.144e-06/0.09598, allocations: 0 / 464.1 MB, free: 9.031 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002998/0.09628, allocations: 63.91 kB / 464.1 MB, free: 8.969 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.139e-06/0.09628, allocations: 4 kB / 464.1 MB, free: 8.965 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.852e-05/0.0963, allocations: 8 kB / 464.1 MB, free: 8.957 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.623e-06/0.09631, allocations: 4 kB / 464.1 MB, free: 8.953 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.09631, allocations: 0 / 464.1 MB, free: 8.953 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006366/0.09695, allocations: 447.3 kB / 464.6 MB, free: 8.488 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001195/0.09706, allocations: 47.83 kB / 464.6 MB, free: 8.441 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.179e-05/0.09711, allocations: 15.92 kB / 464.6 MB, free: 8.426 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001613/0.09727, allocations: 8 kB / 464.6 MB, free: 8.418 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.184e-05/0.09732, allocations: 15.97 kB / 464.7 MB, free: 8.402 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.898e-05/0.09734, allocations: 15.94 kB / 464.7 MB, free: 8.387 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.000215/0.09755, allocations: 207.1 kB / 464.9 MB, free: 8.184 MB / 334.1 MB Notification: Performance of sort global known variables: time 7e-08/0.09755, allocations: 0 / 464.9 MB, free: 8.184 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0004336/0.09799, allocations: 119.9 kB / 465 MB, free: 8.066 MB / 334.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 (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.0009509/0.09894, allocations: 0.962 MB / 466 MB, free: 7.066 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0005637/0.0995, allocations: 295.8 kB / 466.2 MB, free: 6.777 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.855e-06/0.0995, allocations: 0 / 466.2 MB, free: 6.777 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001609/0.09967, allocations: 96.53 kB / 466.3 MB, free: 6.684 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004238/0.1001, allocations: 44.64 kB / 466.4 MB, free: 6.641 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004063/0.1042, allocations: 3.111 MB / 469.5 MB, free: 3.395 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001689/0.1043, allocations: 169.2 kB / 469.7 MB, free: 3.211 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0001445/0.1045, allocations: 34.27 kB / 469.7 MB, free: 3.176 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001593/0.1046, allocations: 95.41 kB / 469.8 MB, free: 3.082 MB / 334.1 MB Notification: Performance of SimCode: time 3.91e-07/0.1046, allocations: 0 / 469.8 MB, free: 3.082 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03406/0.1387, allocations: 6.783 MB / 476.6 MB, free: 12.24 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.62/10.76, allocations: 7.844 kB / 476.6 MB, free: 12.23 MB / 350.1 MB " [Timeout remaining time 649] (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/bin/OMSimulator --tempDir=temp_MEV_MEV_Test_TestBellJarOpenLoop_fmu --startTime=0 --stopTime=10 --stepSize=0.005 --timeout=50 --tolerance=1e-06 MEV_MEV_Test_TestBellJarOpenLoop.fmu > MEV_MEV.Test.TestBellJarOpenLoop.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 13.22551649203524] Failed to read output from testmodel.py, exit status != 0: 10.869500953704119 10.89181103 10.803744995 Calling exit ...