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 4.0.0+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 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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 4.0.0+maint.om/package.mo): time 0.001362/0.001362, allocations: 180.2 kB / 15.15 MB, free: 1.012 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/MEV 1.1.1-master/package.mo): time 0.01607/0.01607, allocations: 1.92 MB / 17.8 MB, free: 5.016 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.47/1.47, allocations: 205.4 MB / 224.5 MB, free: 3.789 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008819/0.0008818, allocations: 99.7 kB / 273.3 MB, free: 2.926 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.0004994/0.0004996, allocations: 19.94 kB / 332 MB, free: 33.19 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08025/0.08076, allocations: 48.09 MB / 380.1 MB, free: 1.047 MB / 270.1 MB Notification: Performance of NFInst.instantiate(MEV.Test.TestCylinderUnitLinearize): time 0.003683/0.08449, allocations: 3.017 MB / 383.1 MB, free: 14.01 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.001749/0.08627, allocations: 0.7959 MB / 383.9 MB, free: 13.21 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003639/0.08666, allocations: 7.938 kB / 383.9 MB, free: 13.2 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000189/0.08687, allocations: 43.67 kB / 383.9 MB, free: 13.16 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003964/0.08727, allocations: 142.8 kB / 384.1 MB, free: 13.02 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002937/0.08758, allocations: 55.95 kB / 384.1 MB, free: 12.96 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005146/0.0881, allocations: 386.1 kB / 384.5 MB, free: 12.58 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000245/0.08836, allocations: 101.9 kB / 384.6 MB, free: 12.49 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002021/0.08857, allocations: 127.4 kB / 384.7 MB, free: 12.36 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002216/0.0888, allocations: 135.3 kB / 384.9 MB, free: 12.23 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 3.552e-05/0.08884, allocations: 12 kB / 384.9 MB, free: 12.22 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.695e-05/0.08894, allocations: 23.98 kB / 384.9 MB, free: 12.2 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 6.382e-05/0.08901, allocations: 47.72 kB / 384.9 MB, free: 12.15 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 9.359e-05/0.08911, allocations: 93.52 kB / 385 MB, free: 12.05 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002971/0.08942, allocations: 279.3 kB / 385.3 MB, free: 11.78 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.44e-06/0.08943, allocations: 4 kB / 385.3 MB, free: 11.77 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.673e-06/0.08944, allocations: 0 / 385.3 MB, free: 11.77 MB / 286.1 MB Notification: Performance of Transformations before backend: time 1.155e-05/0.08946, allocations: 0 / 385.3 MB, free: 11.77 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.000932/0.0904, allocations: 0.5726 MB / 385.9 MB, free: 11.15 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.983e-05/0.09045, allocations: 12.03 kB / 385.9 MB, free: 11.14 MB / 286.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001292/0.09058, allocations: 63.09 kB / 386 MB, free: 11.07 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.051e-05/0.09067, allocations: 39.53 kB / 386 MB, free: 11.03 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003699/0.09105, allocations: 285.4 kB / 386.3 MB, free: 10.71 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.367e-05/0.09108, allocations: 20.56 kB / 386.3 MB, free: 10.69 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.676e-05/0.09113, allocations: 28 kB / 386.3 MB, free: 10.66 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004066/0.09155, allocations: 224.9 kB / 386.5 MB, free: 10.43 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.426e-05/0.09157, allocations: 4 kB / 386.5 MB, free: 10.43 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.481e-05/0.0916, allocations: 8 kB / 386.6 MB, free: 10.42 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.427e-06/0.09162, allocations: 8 kB / 386.6 MB, free: 10.41 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002975/0.09192, allocations: 174.2 kB / 386.7 MB, free: 10.25 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001405/0.09333, allocations: 0.8106 MB / 387.5 MB, free: 9.383 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006092/0.09395, allocations: 186.5 kB / 387.7 MB, free: 9.191 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001247/0.09409, allocations: 80.77 kB / 387.8 MB, free: 9.109 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.131e-05/0.09412, allocations: 0 / 387.8 MB, free: 9.109 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.359e-05/0.09415, allocations: 38.56 kB / 387.8 MB, free: 9.062 MB / 286.1 MB Notification: Performance of pre-optimization done (n=20): time 9.42e-07/0.09416, allocations: 0 / 387.8 MB, free: 9.062 MB / 286.1 MB Notification: Performance of matching and sorting (n=25): time 0.001675/0.09584, allocations: 0.9414 MB / 388.8 MB, free: 8.031 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.331e-05/0.0959, allocations: 59.41 kB / 388.8 MB, free: 7.961 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002826/0.09619, allocations: 279 kB / 389.1 MB, free: 7.68 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 2.289e-05/0.09622, allocations: 29.7 kB / 389.1 MB, free: 7.645 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000147/0.09637, allocations: 192.3 kB / 389.3 MB, free: 7.449 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.729e-05/0.09644, allocations: 90.59 kB / 389.4 MB, free: 7.359 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.106e-05/0.09646, allocations: 8 kB / 389.4 MB, free: 7.352 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001108/0.09657, allocations: 334.8 kB / 389.8 MB, free: 7.016 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001113/0.09669, allocations: 64.53 kB / 389.8 MB, free: 6.953 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001268/0.09682, allocations: 105.4 kB / 389.9 MB, free: 6.836 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001321/0.09696, allocations: 76 kB / 390 MB, free: 6.762 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.342e-06/0.09697, allocations: 0 / 390 MB, free: 6.762 MB / 286.1 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0003946/0.09737, allocations: 257.7 kB / 390.2 MB, free: 6.504 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.855e-05/0.09745, allocations: 116.4 kB / 390.4 MB, free: 6.371 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.869e-06/0.09747, allocations: 4 kB / 390.4 MB, free: 6.367 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.069e-05/0.09748, allocations: 0 / 390.4 MB, free: 6.367 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000228/0.09772, allocations: 68 kB / 390.4 MB, free: 6.301 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.083e-06/0.09773, allocations: 0 / 390.4 MB, free: 6.301 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001183/0.09786, allocations: 8 kB / 390.4 MB, free: 6.293 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.714e-05/0.09788, allocations: 8 kB / 390.4 MB, free: 6.285 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.973e-06/0.0979, allocations: 4 kB / 390.5 MB, free: 6.281 MB / 286.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0002816/0.09818, allocations: 191.8 kB / 390.6 MB, free: 6.094 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.999e-06/0.09819, allocations: 3.984 kB / 390.6 MB, free: 6.09 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.106e-06/0.09821, allocations: 4 kB / 390.6 MB, free: 6.086 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001998/0.09841, allocations: 64 kB / 390.7 MB, free: 6.023 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.216e-06/0.09842, allocations: 4 kB / 390.7 MB, free: 6.02 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001133/0.09854, allocations: 11.98 kB / 390.7 MB, free: 6.008 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.52e-05/0.09856, allocations: 16 kB / 390.7 MB, free: 5.992 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 (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.0001508/0.09872, allocations: 217.1 kB / 391 MB, free: 5.77 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.212e-05/0.09878, allocations: 31.62 kB / 391 MB, free: 5.738 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003415/0.09912, allocations: 219.8 kB / 391.2 MB, free: 5.52 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.879e-06/0.09914, allocations: 3.953 kB / 391.2 MB, free: 5.516 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.569e-06/0.09915, allocations: 0 / 391.2 MB, free: 5.516 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.72e-06/0.09916, allocations: 7.984 kB / 391.2 MB, free: 5.508 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008753/0.1, allocations: 0.7118 MB / 391.9 MB, free: 4.727 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.308e-06/0.1001, allocations: 0 / 391.9 MB, free: 4.727 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002682/0.1003, allocations: 64.06 kB / 392 MB, free: 4.664 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.049e-06/0.1003, allocations: 4 kB / 392 MB, free: 4.66 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.601e-05/0.1004, allocations: 11.94 kB / 392 MB, free: 4.648 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.392e-06/0.1004, allocations: 0 / 392 MB, free: 4.648 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.055e-06/0.1004, allocations: 11.88 kB / 392 MB, free: 4.637 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005094/0.1009, allocations: 427.3 kB / 392.4 MB, free: 4.188 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000116/0.101, allocations: 128.8 kB / 392.6 MB, free: 4.043 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.891e-05/0.1011, allocations: 8 kB / 392.6 MB, free: 4.035 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001597/0.1012, allocations: 15.98 kB / 392.6 MB, free: 4.02 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.367e-05/0.1013, allocations: 23.91 kB / 392.6 MB, free: 3.996 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.386e-05/0.1013, allocations: 12 kB / 392.6 MB, free: 3.984 MB / 286.1 MB Notification: Performance of sorting global known variables: time 0.0001836/0.1015, allocations: 198 kB / 392.8 MB, free: 3.789 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1015, allocations: 0 / 392.8 MB, free: 3.789 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0004305/0.1019, allocations: 112 kB / 392.9 MB, free: 3.68 MB / 286.1 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.0007852/0.1027, allocations: 0.9589 MB / 393.9 MB, free: 2.676 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.000475/0.1032, allocations: 284.4 kB / 394.2 MB, free: 2.398 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 3.617e-06/0.1032, allocations: 4.5 kB / 394.2 MB, free: 2.395 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001344/0.1034, allocations: 91.8 kB / 394.2 MB, free: 2.305 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004529/0.1038, allocations: 44.86 kB / 394.3 MB, free: 2.258 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002941/0.1068, allocations: 1.942 MB / 396.2 MB, free: 252 kB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003769/0.1072, allocations: 0.7717 MB / 397 MB, free: 15.45 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0001545/0.1073, allocations: 38.25 kB / 397 MB, free: 15.41 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001458/0.1075, allocations: 95.41 kB / 397.1 MB, free: 15.32 MB / 302.1 MB Notification: Performance of SimCode: time 1.483e-06/0.1075, allocations: 0 / 397.1 MB, free: 15.32 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01609/0.1236, allocations: 5.405 MB / 402.5 MB, free: 9.914 MB / 302.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001668/0.1238, allocations: 155.8 kB / 402.7 MB, free: 9.672 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.793/1.917, allocations: 0 / 402.7 MB, free: 9.672 MB / 302.1 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)