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.00127/0.00127, allocations: 174.7 kB / 12.73 MB, free: 2.59 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/MEV 1.1.1-master/package.mo): time 0.01301/0.01301, allocations: 1.917 MB / 15.18 MB, free: 128 kB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.396/1.396, allocations: 205.2 MB / 221.4 MB, free: 7.273 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.0007881/0.0007881, allocations: 93.66 kB / 270.1 MB, free: 7.133 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 3.132e-05/3.146e-05, allocations: 4 kB / 326.1 MB, free: 14.99 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2325/0.2325, allocations: 48.06 MB / 374.2 MB, free: 44.18 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.0881/0.3207, allocations: 79.08 MB / 453.3 MB, free: 15.67 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001893/0.3209, allocations: 71.97 kB / 453.3 MB, free: 15.6 MB / 346.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.01577/0.3367, allocations: 5.912 MB / 459.2 MB, free: 9.688 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.172e-06/0.3367, allocations: 0 / 459.2 MB, free: 9.688 MB / 346.7 MB Notification: Performance of Transformations before backend: time 2.189e-05/0.3367, allocations: 8 kB / 459.2 MB, free: 9.68 MB / 346.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.0007861/0.3375, allocations: 0.5264 MB / 459.8 MB, free: 9.105 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.154e-05/0.3376, allocations: 8.031 kB / 459.8 MB, free: 9.098 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.379e-05/0.3377, allocations: 70.53 kB / 459.8 MB, free: 9.02 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.522e-05/0.3377, allocations: 31.62 kB / 459.9 MB, free: 8.988 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003492/0.3381, allocations: 281.5 kB / 460.2 MB, free: 8.676 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.217e-05/0.3381, allocations: 20.56 kB / 460.2 MB, free: 8.656 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.156e-05/0.3382, allocations: 27.91 kB / 460.2 MB, free: 8.629 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004321/0.3386, allocations: 228.9 kB / 460.4 MB, free: 8.398 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.418e-05/0.3387, allocations: 0 / 460.4 MB, free: 8.398 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.947e-05/0.3387, allocations: 12 kB / 460.4 MB, free: 8.387 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.406e-06/0.3387, allocations: 9.203 kB / 460.4 MB, free: 8.379 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000314/0.339, allocations: 166.2 kB / 460.6 MB, free: 8.219 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001369/0.3404, allocations: 0.83 MB / 461.4 MB, free: 7.336 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002819/0.3407, allocations: 175.5 kB / 461.6 MB, free: 7.16 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000129/0.3408, allocations: 73.22 kB / 461.7 MB, free: 7.086 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.716e-05/0.3409, allocations: 8.172 kB / 461.7 MB, free: 7.078 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.642e-05/0.3409, allocations: 38.75 kB / 461.7 MB, free: 7.031 MB / 346.7 MB Notification: Performance of pre-optimization done (n=21): time 1.823e-06/0.3409, allocations: 1.641 kB / 461.7 MB, free: 7.031 MB / 346.7 MB Notification: Performance of matching and sorting (n=26): time 0.001557/0.3425, allocations: 0.8975 MB / 462.6 MB, free: 6.047 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.671e-05/0.3425, allocations: 55.41 kB / 462.7 MB, free: 5.98 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002626/0.3428, allocations: 243.4 kB / 462.9 MB, free: 5.738 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.71e-05/0.3428, allocations: 29.7 kB / 462.9 MB, free: 5.703 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001025/0.3429, allocations: 176.2 kB / 463.1 MB, free: 5.527 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.323e-05/0.343, allocations: 94.59 kB / 463.2 MB, free: 5.434 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.296e-05/0.343, allocations: 8 kB / 463.2 MB, free: 5.426 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001131/0.3432, allocations: 342.8 kB / 463.6 MB, free: 5.082 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001267/0.3433, allocations: 64 kB / 463.6 MB, free: 5.02 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001468/0.3435, allocations: 108.1 kB / 463.7 MB, free: 4.898 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001486/0.3436, allocations: 83.89 kB / 463.8 MB, free: 4.816 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.252e-06/0.3436, allocations: 0 / 463.8 MB, free: 4.816 MB / 346.7 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0004193/0.344, allocations: 249.3 kB / 464 MB, free: 4.566 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001578/0.3442, allocations: 449.1 kB / 464.5 MB, free: 4.094 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.17e-05/0.3442, allocations: 4.219 kB / 464.5 MB, free: 4.09 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.439e-05/0.3443, allocations: 0 / 464.5 MB, free: 4.09 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002938/0.3446, allocations: 75.84 kB / 464.6 MB, free: 4.016 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.073e-05/0.3446, allocations: 3.938 kB / 464.6 MB, free: 4.012 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001514/0.3447, allocations: 11.98 kB / 464.6 MB, free: 4 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.731e-05/0.3448, allocations: 8 kB / 464.6 MB, free: 3.992 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.015e-06/0.3448, allocations: 8 kB / 464.6 MB, free: 3.984 MB / 346.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0003194/0.3451, allocations: 200.1 kB / 464.8 MB, free: 3.789 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.264e-06/0.3451, allocations: 0 / 464.8 MB, free: 3.789 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.235e-06/0.3451, allocations: 7.953 kB / 464.8 MB, free: 3.781 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002444/0.3454, allocations: 63.91 kB / 464.9 MB, free: 3.719 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.003e-06/0.3454, allocations: 7.938 kB / 464.9 MB, free: 3.711 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001285/0.3455, allocations: 8 kB / 464.9 MB, free: 3.703 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.525e-05/0.3455, allocations: 8 kB / 464.9 MB, free: 3.695 MB / 346.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.567e-05/0.3456, allocations: 117 kB / 465 MB, free: 3.574 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.552e-05/0.3457, allocations: 31.62 kB / 465 MB, free: 3.543 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00039/0.3461, allocations: 227.6 kB / 465.3 MB, free: 3.316 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.057e-06/0.3461, allocations: 7.953 kB / 465.3 MB, free: 3.309 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.757e-06/0.3461, allocations: 0.5625 kB / 465.3 MB, free: 3.309 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.458e-06/0.3461, allocations: 0 / 465.3 MB, free: 3.309 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009793/0.3471, allocations: 0.7343 MB / 466 MB, free: 2.504 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.755e-06/0.3471, allocations: 0 / 466 MB, free: 2.504 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003317/0.3475, allocations: 63.91 kB / 466.1 MB, free: 2.441 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.68e-06/0.3475, allocations: 4 kB / 466.1 MB, free: 2.438 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.939e-05/0.3475, allocations: 5.031 kB / 466.1 MB, free: 2.434 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.23e-06/0.3475, allocations: 8.141 kB / 466.1 MB, free: 2.426 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.533e-06/0.3475, allocations: 4 kB / 466.1 MB, free: 2.422 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005668/0.3481, allocations: 480.5 kB / 466.5 MB, free: 1.891 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001266/0.3482, allocations: 136.6 kB / 466.7 MB, free: 1.738 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.976e-05/0.3483, allocations: 8 kB / 466.7 MB, free: 1.73 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001813/0.3485, allocations: 11.98 kB / 466.7 MB, free: 1.719 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.466e-05/0.3485, allocations: 23.98 kB / 466.7 MB, free: 1.695 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.639e-05/0.3486, allocations: 8 kB / 466.7 MB, free: 1.688 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0001816/0.3488, allocations: 195.1 kB / 466.9 MB, free: 1.496 MB / 346.7 MB Notification: Performance of sort global known variables: time 2.3e-07/0.3488, allocations: 0 / 466.9 MB, free: 1.496 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0004461/0.3492, allocations: 122.4 kB / 467 MB, free: 1.379 MB / 346.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.0009546/0.3502, allocations: 1.378 MB / 468.4 MB, free: 15.94 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0005027/0.3507, allocations: 293.1 kB / 468.7 MB, free: 15.66 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.575e-06/0.3507, allocations: 7.938 kB / 468.7 MB, free: 15.65 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001454/0.3509, allocations: 95.98 kB / 468.8 MB, free: 15.55 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003425/0.3512, allocations: 46.61 kB / 468.9 MB, free: 15.51 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001368/0.3526, allocations: 0.6616 MB / 469.5 MB, free: 14.79 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000293/0.3529, allocations: 0.7804 MB / 470.3 MB, free: 13.98 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0002048/0.3531, allocations: 51.27 kB / 470.3 MB, free: 13.93 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001402/0.3533, allocations: 95.41 kB / 470.4 MB, free: 13.84 MB / 362.7 MB Notification: Performance of SimCode: time 3.51e-07/0.3533, allocations: 4 kB / 470.4 MB, free: 13.84 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01703/0.3703, allocations: 5.659 MB / 476.1 MB, free: 8.258 MB / 362.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001459/0.3705, allocations: 119.1 kB / 476.2 MB, free: 8.055 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.885/2.255, allocations: 0 / 476.2 MB, free: 8.055 MB / 362.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)