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-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.TestCylinderUnitLinearize,fileNamePrefix="MEV_MEV_Test_TestCylinderUnitLinearize",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(MEV.Test.TestCylinderUnitLinearize,fileNamePrefix="MEV_MEV_Test_TestCylinderUnitLinearize",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.006576/0.006576, allocations: 170.5 kB / 15.11 MB, free: 5.969 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/MEV 1.1.1-master/package.mo): time 0.01006/0.01006, allocations: 1.932 MB / 17.78 MB, free: 4.168 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.594/1.594, allocations: 205.4 MB / 224.4 MB, free: 11.9 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.0008338/0.0008338, allocations: 90.14 kB / 273.3 MB, free: 10.93 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.00034/0.0003401, allocations: 12.22 kB / 331.9 MB, free: 10.79 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1037/0.104, allocations: 48.08 MB / 380 MB, free: 10.62 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3568/0.4609, allocations: 78.97 MB / 459 MB, free: 8.508 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002751/0.4612, allocations: 71.97 kB / 459.1 MB, free: 8.438 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.0157/0.4769, allocations: 5.778 MB / 464.8 MB, free: 2.656 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.445e-06/0.477, allocations: 0 / 464.8 MB, free: 2.656 MB / 330.7 MB Notification: Performance of Transformations before backend: time 2.286e-05/0.477, allocations: 12 kB / 464.9 MB, free: 2.645 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.0008977/0.4779, allocations: 0.5582 MB / 465.4 MB, free: 2.035 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.211e-05/0.478, allocations: 12.03 kB / 465.4 MB, free: 2.023 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001076/0.4781, allocations: 67 kB / 465.5 MB, free: 1.949 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.092e-05/0.4781, allocations: 31.62 kB / 465.5 MB, free: 1.918 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003991/0.4786, allocations: 281.5 kB / 465.8 MB, free: 1.605 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.427e-05/0.4786, allocations: 28.56 kB / 465.8 MB, free: 1.578 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.123e-05/0.4786, allocations: 27.98 kB / 465.8 MB, free: 1.551 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004304/0.4791, allocations: 224.9 kB / 466.1 MB, free: 1.324 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.364e-05/0.4791, allocations: 0 / 466.1 MB, free: 1.324 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.891e-05/0.4791, allocations: 12 kB / 466.1 MB, free: 1.312 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.599e-05/0.4792, allocations: 11.98 kB / 466.1 MB, free: 1.301 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003128/0.4795, allocations: 170.1 kB / 466.3 MB, free: 1.137 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001387/0.4809, allocations: 0.8183 MB / 467.1 MB, free: 272 kB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005395/0.4814, allocations: 186.6 kB / 467.3 MB, free: 76 kB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.268e-05/0.4815, allocations: 0.7656 kB / 467.3 MB, free: 76 kB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.895e-05/0.4815, allocations: 42.5 kB / 467.3 MB, free: 24 kB / 330.7 MB Notification: Performance of pre-optimization done (n=20): time 1.372e-06/0.4815, allocations: 0 / 467.3 MB, free: 24 kB / 330.7 MB Notification: Performance of matching and sorting (n=25): time 0.001715/0.4832, allocations: 0.9365 MB / 468.2 MB, free: 15 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.392e-05/0.4833, allocations: 51.41 kB / 468.3 MB, free: 14.93 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002739/0.4836, allocations: 238.2 kB / 468.5 MB, free: 14.7 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 3.111e-05/0.4836, allocations: 29.7 kB / 468.5 MB, free: 14.66 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001266/0.4838, allocations: 192.4 kB / 468.7 MB, free: 14.47 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.664e-05/0.4838, allocations: 90.67 kB / 468.8 MB, free: 14.38 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.225e-05/0.4839, allocations: 7.938 kB / 468.8 MB, free: 14.38 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001565/0.484, allocations: 342.8 kB / 469.2 MB, free: 14.03 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001217/0.4842, allocations: 64.48 kB / 469.2 MB, free: 13.96 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001603/0.4843, allocations: 105.4 kB / 469.3 MB, free: 13.85 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001396/0.4845, allocations: 76 kB / 469.4 MB, free: 13.77 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.685e-06/0.4845, allocations: 4 kB / 469.4 MB, free: 13.77 MB / 346.7 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0003978/0.4849, allocations: 246.2 kB / 469.7 MB, free: 13.52 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.000238/0.4851, allocations: 449.1 kB / 470.1 MB, free: 13.05 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.112e-05/0.4851, allocations: 3.984 kB / 470.1 MB, free: 13.05 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.79e-05/0.4852, allocations: 4 kB / 470.1 MB, free: 13.04 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002521/0.4854, allocations: 51.92 kB / 470.1 MB, free: 12.99 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.274e-05/0.4855, allocations: 11.95 kB / 470.2 MB, free: 12.98 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001244/0.4856, allocations: 8 kB / 470.2 MB, free: 12.97 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.065e-05/0.4856, allocations: 11.98 kB / 470.2 MB, free: 12.96 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.167e-06/0.4856, allocations: 7.125 kB / 470.2 MB, free: 12.96 MB / 346.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0003036/0.4859, allocations: 195.8 kB / 470.4 MB, free: 12.77 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.743e-06/0.4859, allocations: 0 / 470.4 MB, free: 12.77 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.132e-06/0.486, allocations: 7.984 kB / 470.4 MB, free: 12.76 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002098/0.4862, allocations: 51.92 kB / 470.4 MB, free: 12.71 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.541e-05/0.4862, allocations: 0 / 470.4 MB, free: 12.71 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001056/0.4863, allocations: 16.12 kB / 470.5 MB, free: 12.69 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.71e-05/0.4863, allocations: 12 kB / 470.5 MB, free: 12.68 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 () * Number of clocked 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.0002094/0.4866, allocations: 233 kB / 470.7 MB, free: 12.44 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.458e-05/0.4866, allocations: 27.62 kB / 470.7 MB, free: 12.41 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003959/0.487, allocations: 223.7 kB / 470.9 MB, free: 12.18 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.444e-06/0.487, allocations: 0 / 470.9 MB, free: 12.18 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.09e-06/0.487, allocations: 0 / 470.9 MB, free: 12.18 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.382e-06/0.4871, allocations: 7.984 kB / 470.9 MB, free: 12.18 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009856/0.488, allocations: 0.7099 MB / 471.7 MB, free: 11.4 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.124e-06/0.4881, allocations: 0 / 471.7 MB, free: 11.4 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003019/0.4884, allocations: 59.95 kB / 471.7 MB, free: 11.34 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.949e-06/0.4884, allocations: 12.09 kB / 471.7 MB, free: 11.33 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.107e-05/0.4884, allocations: 4 kB / 471.7 MB, free: 11.32 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.291e-06/0.4884, allocations: 4 kB / 471.7 MB, free: 11.32 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.897e-06/0.4884, allocations: 3.953 kB / 471.7 MB, free: 11.32 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005785/0.489, allocations: 484.2 kB / 472.2 MB, free: 10.78 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001417/0.4892, allocations: 132.7 kB / 472.3 MB, free: 10.63 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.429e-05/0.4892, allocations: 7.984 kB / 472.3 MB, free: 10.62 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001712/0.4894, allocations: 16 kB / 472.4 MB, free: 10.61 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.449e-05/0.4895, allocations: 19.94 kB / 472.4 MB, free: 10.59 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.555e-05/0.4895, allocations: 7.984 kB / 472.4 MB, free: 10.58 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.000203/0.4897, allocations: 194 kB / 472.6 MB, free: 10.39 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.4897, allocations: 0 / 472.6 MB, free: 10.39 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0004646/0.4902, allocations: 127.9 kB / 472.7 MB, free: 10.27 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 () * 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 (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.001148/0.4913, allocations: 1.37 MB / 474.1 MB, free: 8.84 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0005012/0.4918, allocations: 276.8 kB / 474.3 MB, free: 8.57 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 3.126e-06/0.4918, allocations: 0 / 474.3 MB, free: 8.57 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001233/0.492, allocations: 88.48 kB / 474.4 MB, free: 8.484 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000393/0.4924, allocations: 50.34 kB / 474.5 MB, free: 8.434 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003148/0.4955, allocations: 2.523 MB / 477 MB, free: 5.824 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004399/0.496, allocations: 0.7797 MB / 477.8 MB, free: 5.02 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.000161/0.4962, allocations: 42.25 kB / 477.8 MB, free: 4.977 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001442/0.4963, allocations: 95.41 kB / 477.9 MB, free: 4.883 MB / 346.7 MB Notification: Performance of SimCode: time 6.62e-07/0.4963, allocations: 0 / 477.9 MB, free: 4.883 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01989/0.5162, allocations: 5.364 MB / 483.3 MB, free: 15.52 MB / 362.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002062/0.5165, allocations: 153.4 kB / 483.4 MB, free: 15.27 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.062/2.578, allocations: 3.984 kB / 483.4 MB, free: 15.27 MB / 362.7 MB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_MEV_MEV_Test_TestCylinderUnitLinearize_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 MEV_MEV_Test_TestCylinderUnitLinearize.fmu > MEV_MEV.Test.TestCylinderUnitLinearize.pipe 2>&1)