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.001461/0.001461, allocations: 180.9 kB / 7.651 MB, free: 1.422 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/MEV 1.1.1-master/package.mo): time 0.01848/0.01848, allocations: 1.926 MB / 9.995 MB, free: 0.5977 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.371/1.371, allocations: 205.3 MB / 216.2 MB, free: 15.91 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.0008356/0.0008356, allocations: 94.48 kB / 264.8 MB, free: 15.33 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 1.166e-05/1.16e-05, allocations: 0 / 319.1 MB, free: 19.67 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07828/0.07831, allocations: 48.09 MB / 367.2 MB, free: 3.508 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.278/0.3563, allocations: 78.41 MB / 445.6 MB, free: 15.63 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001928/0.3565, allocations: 74.45 kB / 445.7 MB, free: 15.59 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.01575/0.3723, allocations: 5.852 MB / 451.6 MB, free: 10.79 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.413e-06/0.3724, allocations: 0 / 451.6 MB, free: 10.79 MB / 330.7 MB Notification: Performance of Transformations before backend: time 2.593e-05/0.3724, allocations: 8 kB / 451.6 MB, free: 10.78 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.0008819/0.3733, allocations: 0.5297 MB / 452.1 MB, free: 10.22 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 9.087e-05/0.3734, allocations: 12.03 kB / 452.1 MB, free: 10.21 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001201/0.3735, allocations: 35.56 kB / 452.1 MB, free: 10.18 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004259/0.3739, allocations: 287.7 kB / 452.4 MB, free: 9.883 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.864e-05/0.374, allocations: 8 kB / 452.4 MB, free: 9.875 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.973e-05/0.374, allocations: 19.91 kB / 452.5 MB, free: 9.855 MB / 330.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003117/0.3744, allocations: 152.7 kB / 452.6 MB, free: 9.766 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000355/0.3747, allocations: 189.6 kB / 452.8 MB, free: 9.621 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.52e-05/0.3747, allocations: 10.06 kB / 452.8 MB, free: 9.613 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.235e-05/0.3748, allocations: 0 / 452.8 MB, free: 9.613 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.577e-06/0.3748, allocations: 8 kB / 452.8 MB, free: 9.605 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001224/0.376, allocations: 0.7517 MB / 453.6 MB, free: 8.988 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002336/0.3763, allocations: 153.8 kB / 453.7 MB, free: 8.883 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000107/0.3764, allocations: 76.09 kB / 453.8 MB, free: 8.832 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.616e-05/0.3764, allocations: 8.172 kB / 453.8 MB, free: 8.824 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.735e-05/0.3764, allocations: 34.56 kB / 453.8 MB, free: 8.785 MB / 330.7 MB Notification: Performance of pre-optimization done (n=21): time 1.633e-06/0.3765, allocations: 0 / 453.8 MB, free: 8.785 MB / 330.7 MB Notification: Performance of matching and sorting (n=26): time 0.00142/0.3779, allocations: 0.825 MB / 454.6 MB, free: 7.988 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.695e-05/0.3779, allocations: 55.41 kB / 454.7 MB, free: 7.922 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002077/0.3781, allocations: 204.1 kB / 454.9 MB, free: 7.746 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 2.141e-05/0.3782, allocations: 25.7 kB / 454.9 MB, free: 7.715 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000105/0.3783, allocations: 191.3 kB / 455.1 MB, free: 7.555 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.161e-05/0.3783, allocations: 90.09 kB / 455.2 MB, free: 7.477 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.068e-05/0.3784, allocations: 0.7656 kB / 455.2 MB, free: 7.477 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.00012/0.3785, allocations: 338.3 kB / 455.5 MB, free: 7.148 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.945e-05/0.3786, allocations: 62.94 kB / 455.6 MB, free: 7.113 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001247/0.3787, allocations: 107 kB / 455.7 MB, free: 7.023 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001553/0.3789, allocations: 76.22 kB / 455.8 MB, free: 6.977 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.823e-06/0.3789, allocations: 0.8438 kB / 455.8 MB, free: 6.977 MB / 330.7 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0003642/0.3793, allocations: 232.6 kB / 456 MB, free: 6.793 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001612/0.3794, allocations: 451.3 kB / 456.4 MB, free: 6.328 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.015e-06/0.3795, allocations: 3.984 kB / 456.4 MB, free: 6.324 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.436e-05/0.3795, allocations: 7.938 kB / 456.5 MB, free: 6.316 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002779/0.3798, allocations: 59.91 kB / 456.5 MB, free: 6.258 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.673e-06/0.3798, allocations: 4 kB / 456.5 MB, free: 6.254 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000137/0.3799, allocations: 0 / 456.5 MB, free: 6.254 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.783e-05/0.38, allocations: 14.44 kB / 456.5 MB, free: 6.242 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.704e-06/0.38, allocations: 7.938 kB / 456.5 MB, free: 6.234 MB / 330.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0002534/0.3802, allocations: 172.9 kB / 456.7 MB, free: 6.113 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.007e-06/0.3802, allocations: 4 kB / 456.7 MB, free: 6.109 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.667e-06/0.3803, allocations: 0 / 456.7 MB, free: 6.109 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002392/0.3805, allocations: 63.03 kB / 456.8 MB, free: 6.051 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.128e-06/0.3805, allocations: 7.953 kB / 456.8 MB, free: 6.043 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001155/0.3806, allocations: 4 kB / 456.8 MB, free: 6.039 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.498e-05/0.3807, allocations: 8 kB / 456.8 MB, free: 6.031 MB / 330.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 () * 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 8.581e-05/0.3807, allocations: 112.3 kB / 456.9 MB, free: 5.918 MB / 330.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0003036/0.3811, allocations: 189.3 kB / 457.1 MB, free: 5.766 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.717e-05/0.3811, allocations: 23.72 kB / 457.1 MB, free: 5.742 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003616/0.3815, allocations: 215 kB / 457.3 MB, free: 5.582 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.755e-06/0.3815, allocations: 4 kB / 457.3 MB, free: 5.578 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.769e-06/0.3815, allocations: 4 kB / 457.3 MB, free: 5.574 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.248e-06/0.3815, allocations: 0 / 457.3 MB, free: 5.574 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008475/0.3824, allocations: 0.6521 MB / 458 MB, free: 4.992 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.595e-06/0.3824, allocations: 0 / 458 MB, free: 4.992 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003224/0.3827, allocations: 67.22 kB / 458 MB, free: 4.93 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.641e-06/0.3827, allocations: 4 kB / 458 MB, free: 4.926 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.675e-05/0.3828, allocations: 4.141 kB / 458.1 MB, free: 4.922 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.088e-06/0.3828, allocations: 8 kB / 458.1 MB, free: 4.914 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.727e-06/0.3828, allocations: 3.938 kB / 458.1 MB, free: 4.91 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005172/0.3833, allocations: 476.3 kB / 458.5 MB, free: 4.473 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001126/0.3834, allocations: 122.7 kB / 458.7 MB, free: 4.344 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.648e-05/0.3835, allocations: 96 / 458.7 MB, free: 4.344 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001734/0.3836, allocations: 11.98 kB / 458.7 MB, free: 4.332 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.488e-05/0.3837, allocations: 31.34 kB / 458.7 MB, free: 4.305 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.438e-05/0.3837, allocations: 6.75 kB / 458.7 MB, free: 4.301 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0001307/0.3839, allocations: 165 kB / 458.9 MB, free: 4.168 MB / 330.7 MB Notification: Performance of sort global known variables: time 1.7e-07/0.3839, allocations: 0 / 458.9 MB, free: 4.168 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0004566/0.3843, allocations: 111.9 kB / 459 MB, free: 4.059 MB / 330.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 () * 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.000876/0.3852, allocations: 1.354 MB / 460.3 MB, free: 2.738 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0004311/0.3857, allocations: 265.6 kB / 460.6 MB, free: 2.559 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.325e-06/0.3857, allocations: 0 / 460.6 MB, free: 2.559 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001266/0.3858, allocations: 93.73 kB / 460.7 MB, free: 2.492 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003156/0.3861, allocations: 31.98 kB / 460.7 MB, free: 2.469 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00127/0.3874, allocations: 0.644 MB / 461.4 MB, free: 1.816 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003643/0.3878, allocations: 0.7877 MB / 462.1 MB, free: 1.004 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0001939/0.388, allocations: 43.34 kB / 462.2 MB, free: 0.9648 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001188/0.3881, allocations: 93.28 kB / 462.3 MB, free: 0.9375 MB / 330.7 MB Notification: Performance of SimCode: time 4e-07/0.3881, allocations: 0 / 462.3 MB, free: 0.9375 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02139/0.4095, allocations: 4.884 MB / 467.2 MB, free: 12.05 MB / 346.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001225/0.4097, allocations: 102.9 kB / 467.3 MB, free: 11.95 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.778/2.187, allocations: 4.031 kB / 467.3 MB, free: 11.95 MB / 346.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)