Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr MEV_MEV.Test.TestCylinderUnitLinearize.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/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/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: translateModel(MEV.Test.TestCylinderUnitLinearize,tolerance=1e-06,outputFormat="empty",numberOfIntervals=4000,variableFilter="",fileNamePrefix="MEV_MEV.Test.TestCylinderUnitLinearize") translateModel(MEV.Test.TestCylinderUnitLinearize,tolerance=1e-06,outputFormat="empty",numberOfIntervals=4000,variableFilter="",fileNamePrefix="MEV_MEV.Test.TestCylinderUnitLinearize") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001144/0.001144, allocations: 175.2 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/package.mo): time 0.007298/0.007298, 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.328/1.328, allocations: 205.2 MB / 221.4 MB, free: 7.34 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.001064/0.001064, allocations: 82.83 kB / 270.1 MB, free: 7.148 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 2.757e-05/2.759e-05, allocations: 4 kB / 326 MB, free: 15.11 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2843/0.2844, allocations: 48.08 MB / 374.1 MB, free: 44.29 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1029/0.3873, allocations: 78.88 MB / 453 MB, free: 4 kB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002638/0.3876, allocations: 72.05 kB / 453 MB, free: 15.93 MB / 346.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/MEV 1.1.1/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.016/0.4037, allocations: 5.782 MB / 458.8 MB, free: 10.15 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.703e-06/0.4037, allocations: 0 / 458.8 MB, free: 10.15 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.815e-05/0.4037, allocations: 4 kB / 458.8 MB, free: 10.15 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.0007553/0.4045, allocations: 0.5263 MB / 459.3 MB, free: 9.574 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.771e-05/0.4045, allocations: 8.031 kB / 459.3 MB, free: 9.566 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.473e-05/0.4046, allocations: 39.61 kB / 459.4 MB, free: 9.527 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003587/0.405, allocations: 277.6 kB / 459.7 MB, free: 9.219 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.388e-05/0.405, allocations: 16.56 kB / 459.7 MB, free: 9.203 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.975e-05/0.4051, allocations: 28 kB / 459.7 MB, free: 9.176 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004113/0.4055, allocations: 228.9 kB / 459.9 MB, free: 8.945 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.578e-05/0.4055, allocations: 0 / 459.9 MB, free: 8.945 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.229e-05/0.4056, allocations: 12 kB / 459.9 MB, free: 8.934 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.135e-06/0.4056, allocations: 8 kB / 459.9 MB, free: 8.926 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002914/0.4059, allocations: 166.2 kB / 460.1 MB, free: 8.766 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001311/0.4072, allocations: 0.8116 MB / 460.9 MB, free: 7.902 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005213/0.4077, allocations: 190.5 kB / 461.1 MB, free: 7.707 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001185/0.4079, allocations: 64.86 kB / 461.2 MB, free: 7.641 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.683e-05/0.4079, allocations: 12 kB / 461.2 MB, free: 7.629 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.478e-05/0.408, allocations: 34.56 kB / 461.2 MB, free: 7.586 MB / 346.7 MB Notification: Performance of pre-optimization done (n=20): time 1.493e-06/0.408, allocations: 0 / 461.2 MB, free: 7.586 MB / 346.7 MB Notification: Performance of matching and sorting (n=25): time 0.001511/0.4095, allocations: 0.8759 MB / 462.1 MB, free: 6.625 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.689e-05/0.4095, allocations: 55.41 kB / 462.1 MB, free: 6.559 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002553/0.4098, allocations: 239.5 kB / 462.4 MB, free: 6.316 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.681e-05/0.4098, allocations: 29.7 kB / 462.4 MB, free: 6.281 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001131/0.41, allocations: 185.7 kB / 462.6 MB, free: 6.098 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.837e-05/0.41, allocations: 86.89 kB / 462.7 MB, free: 6.012 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.216e-05/0.4101, allocations: 8 kB / 462.7 MB, free: 6.004 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001352/0.4102, allocations: 334.9 kB / 463 MB, free: 5.668 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001196/0.4103, allocations: 68.56 kB / 463.1 MB, free: 5.598 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001312/0.4105, allocations: 101.4 kB / 463.2 MB, free: 5.484 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001324/0.4106, allocations: 80.41 kB / 463.2 MB, free: 5.406 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.102e-06/0.4106, allocations: 2.531 kB / 463.3 MB, free: 5.406 MB / 346.7 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0003531/0.411, allocations: 245.2 kB / 463.5 MB, free: 5.16 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001724/0.4112, allocations: 449.1 kB / 463.9 MB, free: 4.688 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.577e-06/0.4112, allocations: 0 / 463.9 MB, free: 4.688 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.069e-05/0.4112, allocations: 4 kB / 463.9 MB, free: 4.684 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002357/0.4114, allocations: 55.91 kB / 464 MB, free: 4.629 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.508e-05/0.4115, allocations: 7.938 kB / 464 MB, free: 4.621 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001312/0.4116, allocations: 15.95 kB / 464 MB, free: 4.605 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.742e-05/0.4116, allocations: 8.219 kB / 464 MB, free: 4.598 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.428e-06/0.4116, allocations: 4 kB / 464 MB, free: 4.594 MB / 346.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0003126/0.412, allocations: 199.8 kB / 464.2 MB, free: 4.398 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.948e-06/0.412, allocations: 0 / 464.2 MB, free: 4.398 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.719e-06/0.412, allocations: 7.938 kB / 464.2 MB, free: 4.391 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002063/0.4122, allocations: 51.97 kB / 464.3 MB, free: 4.34 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.031e-06/0.4122, allocations: 7.938 kB / 464.3 MB, free: 4.332 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001028/0.4123, allocations: 8 kB / 464.3 MB, free: 4.324 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.423e-05/0.4123, allocations: 8 kB / 464.3 MB, free: 4.316 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 (34): * Single equations (assignments): 34 * 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.0001031/0.4124, allocations: 121 kB / 464.4 MB, free: 4.191 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.567e-05/0.4125, allocations: 31.67 kB / 464.4 MB, free: 4.16 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003822/0.4129, allocations: 221.4 kB / 464.7 MB, free: 3.941 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.418e-06/0.4129, allocations: 4 kB / 464.7 MB, free: 3.938 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.17e-06/0.4129, allocations: 0 / 464.7 MB, free: 3.938 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.378e-06/0.4129, allocations: 0 / 464.7 MB, free: 3.938 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009711/0.4139, allocations: 0.7238 MB / 465.4 MB, free: 3.148 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.425e-06/0.4139, allocations: 0 / 465.4 MB, free: 3.148 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000293/0.4142, allocations: 59.91 kB / 465.5 MB, free: 3.09 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.38e-06/0.4142, allocations: 4 kB / 465.5 MB, free: 3.086 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.905e-05/0.4143, allocations: 8.656 kB / 465.5 MB, free: 3.078 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.264e-06/0.4143, allocations: 0 / 465.5 MB, free: 3.078 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.345e-06/0.4143, allocations: 4 kB / 465.5 MB, free: 3.074 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005798/0.4149, allocations: 484.4 kB / 465.9 MB, free: 2.539 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000118/0.415, allocations: 124.8 kB / 466.1 MB, free: 2.398 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.137e-05/0.4151, allocations: 11.98 kB / 466.1 MB, free: 2.387 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001659/0.4152, allocations: 4 kB / 466.1 MB, free: 2.383 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.926e-05/0.4153, allocations: 24.91 kB / 466.1 MB, free: 2.359 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.381e-05/0.4153, allocations: 4 kB / 466.1 MB, free: 2.355 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0001958/0.4155, allocations: 199.1 kB / 466.3 MB, free: 2.16 MB / 346.7 MB Notification: Performance of sort global known variables: time 3.91e-07/0.4155, allocations: 0 / 466.3 MB, free: 2.16 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.000476/0.416, allocations: 120 kB / 466.4 MB, free: 2.043 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 (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.0001725/0.4162, allocations: 115.2 kB / 466.5 MB, free: 1.918 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0004425/0.4166, allocations: 286 kB / 466.8 MB, free: 1.641 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 3.115e-06/0.4166, allocations: 0.5 kB / 466.8 MB, free: 1.641 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001158/0.4168, allocations: 93.19 kB / 466.9 MB, free: 1.551 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003378/0.4171, allocations: 45.56 kB / 466.9 MB, free: 1.508 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001186/0.4183, allocations: 0.5816 MB / 467.5 MB, free: 0.8945 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003785/0.4187, allocations: 0.7876 MB / 468.3 MB, free: 84 kB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0001905/0.4189, allocations: 43.34 kB / 468.4 MB, free: 36 kB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.693e-05/0.419, allocations: 23.44 kB / 468.4 MB, free: 12 kB / 346.7 MB Notification: Performance of SimCode: time 2.81e-07/0.419, allocations: 0 / 468.4 MB, free: 12 kB / 346.7 MB Notification: Performance of Templates: time 0.006641/0.4256, allocations: 2.921 MB / 471.3 MB, free: 13.12 MB / 362.7 MB make -j1 -f MEV_MEV.Test.TestCylinderUnitLinearize.makefile (rm -f MEV_MEV.Test.TestCylinderUnitLinearize.pipe ; mkfifo MEV_MEV.Test.TestCylinderUnitLinearize.pipe ; head -c 1048576 < MEV_MEV.Test.TestCylinderUnitLinearize.pipe >> ../files/MEV_MEV.Test.TestCylinderUnitLinearize.sim & ./MEV_MEV.Test.TestCylinderUnitLinearize -abortSlowSimulation -alarm=480 -lv LOG_STATS > MEV_MEV.Test.TestCylinderUnitLinearize.pipe 2>&1)