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/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.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.002304/0.002304, 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.002471/0.002471, allocations: 194 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.358/2.358, allocations: 205.1 MB / 222.4 MB, free: 4.574 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/MEV 1.1.1/package.mo): time 0.01747/0.01747, allocations: 1.928 MB / 271.7 MB, free: 3.363 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.002334/0.002335, allocations: 64.12 kB / 329.9 MB, free: 32.75 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1812/0.1835, allocations: 47.13 MB / 377.1 MB, free: 1.566 MB / 270.1 MB Notification: Performance of NFInst.instantiate(MEV.Test.TestBellJarOpenLoop): time 0.008991/0.1926, allocations: 3.172 MB / 380.2 MB, free: 14.37 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.002936/0.1957, allocations: 0.7879 MB / 381 MB, free: 13.57 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002642/0.196, allocations: 7.938 kB / 381 MB, free: 13.57 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002582/0.1963, allocations: 51.48 kB / 381.1 MB, free: 13.52 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007084/0.197, allocations: 126.9 kB / 381.2 MB, free: 13.39 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004598/0.1975, allocations: 91.84 kB / 381.3 MB, free: 13.3 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005369/0.1981, allocations: 426 kB / 381.7 MB, free: 12.88 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004394/0.1985, allocations: 116.3 kB / 381.8 MB, free: 12.77 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003729/0.199, allocations: 155.4 kB / 382 MB, free: 12.62 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003276/0.1993, allocations: 163.2 kB / 382.1 MB, free: 12.46 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 7.05e-05/0.1994, allocations: 36 kB / 382.2 MB, free: 12.42 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001421/0.1995, allocations: 40 kB / 382.2 MB, free: 12.38 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 7.764e-05/0.1996, allocations: 67.77 kB / 382.3 MB, free: 12.32 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002416/0.1999, allocations: 191.1 kB / 382.5 MB, free: 12.13 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008485/0.2007, allocations: 394.7 kB / 382.9 MB, free: 11.74 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.146e-05/0.2007, allocations: 3.938 kB / 382.9 MB, free: 11.74 MB / 286.1 MB Notification: Performance of FrontEnd: time 4.068e-06/0.2008, allocations: 0 / 382.9 MB, free: 11.74 MB / 286.1 MB Notification: Performance of Transformations before backend: time 1.382e-05/0.2008, allocations: 0 / 382.9 MB, free: 11.74 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.002067/0.2029, allocations: 0.6234 MB / 383.5 MB, free: 11.07 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 8.585e-05/0.203, allocations: 15.89 kB / 383.5 MB, free: 11.05 MB / 286.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001092/0.2031, allocations: 62.72 kB / 383.6 MB, free: 10.98 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001241/0.2032, allocations: 40.45 kB / 383.6 MB, free: 10.94 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005401/0.2038, allocations: 294.6 kB / 383.9 MB, free: 10.61 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.686e-05/0.2038, allocations: 24.94 kB / 383.9 MB, free: 10.59 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.751e-05/0.2039, allocations: 27.94 kB / 383.9 MB, free: 10.56 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008027/0.2047, allocations: 244.8 kB / 384.2 MB, free: 10.32 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.339e-05/0.2047, allocations: 3.906 kB / 384.2 MB, free: 10.31 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.803e-05/0.2048, allocations: 12 kB / 384.2 MB, free: 10.3 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.335e-05/0.2048, allocations: 4 kB / 384.2 MB, free: 10.3 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003958/0.2052, allocations: 178.2 kB / 384.4 MB, free: 10.12 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002059/0.2073, allocations: 0.9147 MB / 385.3 MB, free: 9.152 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005438/0.2078, allocations: 178.5 kB / 385.5 MB, free: 8.969 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001869/0.208, allocations: 80.88 kB / 385.5 MB, free: 8.887 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001195/0.2082, allocations: 4 kB / 385.5 MB, free: 8.883 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000124/0.2084, allocations: 34.56 kB / 385.6 MB, free: 8.84 MB / 286.1 MB Notification: Performance of pre-optimization done (n=20): time 8.316e-06/0.2084, allocations: 4 kB / 385.6 MB, free: 8.836 MB / 286.1 MB Notification: Performance of matching and sorting (n=25): time 0.002731/0.2112, allocations: 0.968 MB / 386.5 MB, free: 7.781 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.229e-05/0.2112, allocations: 59.39 kB / 386.6 MB, free: 7.711 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000386/0.2116, allocations: 287.4 kB / 386.9 MB, free: 7.422 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 2.787e-05/0.2117, allocations: 25.7 kB / 386.9 MB, free: 7.391 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002109/0.2119, allocations: 192.4 kB / 387.1 MB, free: 7.199 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.038e-05/0.212, allocations: 86.75 kB / 387.2 MB, free: 7.113 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001083/0.2121, allocations: 57.61 kB / 387.2 MB, free: 7.051 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0003848/0.2125, allocations: 334.8 kB / 387.6 MB, free: 6.715 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002578/0.2128, allocations: 84.77 kB / 387.6 MB, free: 6.629 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001995/0.213, allocations: 120.1 kB / 387.8 MB, free: 6.496 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003694/0.2134, allocations: 204.2 kB / 388 MB, free: 6.281 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.429e-06/0.2134, allocations: 4 kB / 388 MB, free: 6.277 MB / 286.1 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0005186/0.214, allocations: 265.2 kB / 388.2 MB, free: 6.012 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.963e-05/0.214, allocations: 4 kB / 388.2 MB, free: 6.008 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.686e-05/0.214, allocations: 7.938 kB / 388.2 MB, free: 6 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.361e-05/0.2141, allocations: 0 / 388.2 MB, free: 6 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002965/0.2144, allocations: 59.91 kB / 388.3 MB, free: 5.941 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.014e-05/0.2144, allocations: 8.125 kB / 388.3 MB, free: 5.934 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002458/0.2147, allocations: 11.98 kB / 388.3 MB, free: 5.922 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.974e-05/0.2148, allocations: 12 kB / 388.3 MB, free: 5.91 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0003375/0.2152, allocations: 188 kB / 388.5 MB, free: 5.723 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001721/0.2153, allocations: 108.2 kB / 388.6 MB, free: 5.602 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0003853/0.2157, allocations: 208.4 kB / 388.8 MB, free: 5.383 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.343e-06/0.2158, allocations: 0 / 388.8 MB, free: 5.383 MB / 286.1 MB Notification: Performance of matching and sorting (n=35) (initialization_lambda0): time 0.0004788/0.2162, allocations: 261.1 kB / 389.1 MB, free: 5.121 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.361e-05/0.2163, allocations: 4.75 kB / 389.1 MB, free: 5.117 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.505e-06/0.2163, allocations: 4 kB / 389.1 MB, free: 5.113 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.636e-06/0.2163, allocations: 7.938 kB / 389.1 MB, free: 5.105 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000324/0.2166, allocations: 63.91 kB / 389.2 MB, free: 5.043 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.157e-05/0.2167, allocations: 4 kB / 389.2 MB, free: 5.039 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001779/0.2169, allocations: 8 kB / 389.2 MB, free: 5.031 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.105e-05/0.2169, allocations: 11.98 kB / 389.2 MB, free: 5.02 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001872/0.2171, allocations: 192.2 kB / 389.4 MB, free: 4.824 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.508e-05/0.2172, allocations: 31.62 kB / 389.4 MB, free: 4.793 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005296/0.2177, allocations: 239.7 kB / 389.6 MB, free: 4.551 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.027e-06/0.2177, allocations: 0 / 389.6 MB, free: 4.551 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.085e-06/0.2178, allocations: 0 / 389.6 MB, free: 4.551 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.943e-06/0.2178, allocations: 0 / 389.6 MB, free: 4.551 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00164/0.2194, allocations: 0.724 MB / 390.4 MB, free: 3.758 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.051e-06/0.2194, allocations: 4 kB / 390.4 MB, free: 3.754 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003104/0.2197, allocations: 63.89 kB / 390.4 MB, free: 3.691 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.406e-06/0.2198, allocations: 0 / 390.4 MB, free: 3.691 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.456e-05/0.2198, allocations: 8 kB / 390.4 MB, free: 3.684 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.861e-06/0.2198, allocations: 4 kB / 390.4 MB, free: 3.68 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.603e-06/0.2198, allocations: 0 / 390.4 MB, free: 3.68 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008699/0.2207, allocations: 438.5 kB / 390.9 MB, free: 3.223 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003056/0.2211, allocations: 132.8 kB / 391 MB, free: 3.074 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.775e-05/0.2211, allocations: 12 kB / 391 MB, free: 3.062 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001592/0.2213, allocations: 8 kB / 391 MB, free: 3.055 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.742e-05/0.2214, allocations: 31.91 kB / 391 MB, free: 3.023 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.303e-05/0.2214, allocations: 4 kB / 391 MB, free: 3.02 MB / 286.1 MB Notification: Performance of sorting global known variables: time 0.0002004/0.2216, allocations: 202 kB / 391.2 MB, free: 2.824 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.2216, allocations: 0 / 391.2 MB, free: 2.824 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.000471/0.2221, allocations: 120 kB / 391.4 MB, free: 2.707 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 (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.001648/0.2238, allocations: 0.9778 MB / 392.3 MB, free: 1.688 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0008131/0.2246, allocations: 331.9 kB / 392.7 MB, free: 1.363 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 1.535e-05/0.2247, allocations: 0 / 392.7 MB, free: 1.363 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003641/0.2251, allocations: 95.84 kB / 392.8 MB, free: 1.27 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006484/0.2257, allocations: 40.58 kB / 392.8 MB, free: 1.23 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005242/0.231, allocations: 3.116 MB / 395.9 MB, free: 13.99 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005466/0.2316, allocations: 0.7717 MB / 396.7 MB, free: 13.19 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0001749/0.2318, allocations: 38.25 kB / 396.7 MB, free: 13.15 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001675/0.2319, allocations: 99.41 kB / 396.8 MB, free: 13.05 MB / 302.1 MB Notification: Performance of SimCode: time 1.162e-06/0.2319, allocations: 0 / 396.8 MB, free: 13.05 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05314/0.2851, allocations: 5.891 MB / 402.7 MB, free: 7.098 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 16.88/17.17, allocations: 3.984 kB / 402.7 MB, free: 7.094 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/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)