Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr MEV_MEV.Test.TestCylinder.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) 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/Modelica 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) Using package MEV with version 1.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/MEV 1.1.1/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 Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(MEV.Test.TestCylinder,fileNamePrefix="MEV_MEV_Test_TestCylinder",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(MEV.Test.TestCylinder,fileNamePrefix="MEV_MEV_Test_TestCylinder",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00145/0.00145, allocations: 111.3 kB / 15.23 MB, free: 0.6367 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001984/0.001984, allocations: 197.2 kB / 16.14 MB, free: 6.734 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.602/1.602, allocations: 205.1 MB / 222 MB, free: 4.945 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/MEV 1.1.1/package.mo): time 0.009398/0.009397, allocations: 1.935 MB / 271.3 MB, free: 3.777 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.001432/0.001432, allocations: 67.89 kB / 329.3 MB, free: 33.18 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09039/0.09183, allocations: 47.14 MB / 376.4 MB, free: 2.004 MB / 270.1 MB Notification: Performance of NFInst.instantiate(MEV.Test.TestCylinder): time 0.003551/0.09542, allocations: 2.808 MB / 379.2 MB, free: 15.17 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008237/0.09626, allocations: 0.6243 MB / 379.8 MB, free: 14.54 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001052/0.09638, allocations: 8 kB / 379.8 MB, free: 14.53 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001172/0.0965, allocations: 19.83 kB / 379.9 MB, free: 14.51 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000125/0.09664, allocations: 59.47 kB / 379.9 MB, free: 14.45 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001367/0.09679, allocations: 35.97 kB / 380 MB, free: 14.42 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002162/0.09701, allocations: 234.8 kB / 380.2 MB, free: 14.19 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001297/0.09715, allocations: 52.78 kB / 380.2 MB, free: 14.14 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.789e-05/0.09724, allocations: 79.66 kB / 380.3 MB, free: 14.06 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001347/0.09738, allocations: 87.5 kB / 380.4 MB, free: 13.98 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 2.703e-05/0.09742, allocations: 12 kB / 380.4 MB, free: 13.96 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.093e-05/0.09745, allocations: 8 kB / 380.4 MB, free: 13.96 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 3.93e-05/0.0975, allocations: 27.86 kB / 380.4 MB, free: 13.93 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 9.864e-05/0.0976, allocations: 95.53 kB / 380.5 MB, free: 13.84 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001812/0.09779, allocations: 187.3 kB / 380.7 MB, free: 13.65 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.767e-06/0.0978, allocations: 0 / 380.7 MB, free: 13.65 MB / 286.1 MB Notification: Performance of FrontEnd: time 8.21e-07/0.09781, allocations: 4 kB / 380.7 MB, free: 13.65 MB / 286.1 MB Notification: Performance of Transformations before backend: time 4.709e-06/0.09781, allocations: 0 / 380.7 MB, free: 13.65 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: 39 * Number of variables: 39 Notification: Performance of Generate backend data structure: time 0.0007123/0.09853, allocations: 0.4989 MB / 381.2 MB, free: 13.1 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.918e-05/0.09858, allocations: 8.031 kB / 381.2 MB, free: 13.09 MB / 286.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.02e-05/0.09863, allocations: 50.73 kB / 381.3 MB, free: 13.04 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.165e-05/0.09868, allocations: 20.75 kB / 381.3 MB, free: 13.02 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002156/0.0989, allocations: 219.9 kB / 381.5 MB, free: 12.76 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.358e-05/0.09892, allocations: 16.64 kB / 381.5 MB, free: 12.75 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.271e-05/0.09897, allocations: 19.94 kB / 381.5 MB, free: 12.73 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002951/0.09927, allocations: 152.2 kB / 381.7 MB, free: 12.57 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.079e-05/0.09929, allocations: 0 / 381.7 MB, free: 12.57 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.013e-05/0.09932, allocations: 15.94 kB / 381.7 MB, free: 12.56 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.282e-06/0.09933, allocations: 4 kB / 381.7 MB, free: 12.55 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002464/0.09958, allocations: 112.2 kB / 381.8 MB, free: 12.45 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008611/0.1004, allocations: 0.5467 MB / 382.4 MB, free: 11.85 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001909/0.1007, allocations: 94.55 kB / 382.5 MB, free: 11.75 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000114/0.1008, allocations: 60.81 kB / 382.5 MB, free: 11.68 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.782e-05/0.1008, allocations: 4 kB / 382.5 MB, free: 11.68 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.501e-05/0.1008, allocations: 38.5 kB / 382.6 MB, free: 11.63 MB / 286.1 MB Notification: Performance of pre-optimization done (n=13): time 1.102e-06/0.1008, allocations: 0 / 382.6 MB, free: 11.63 MB / 286.1 MB Notification: Performance of matching and sorting (n=17): time 0.001677/0.1025, allocations: 0.6198 MB / 383.2 MB, free: 10.96 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.285e-05/0.1026, allocations: 59.39 kB / 383.2 MB, free: 10.89 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001708/0.1027, allocations: 198.8 kB / 383.4 MB, free: 10.69 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 2.266e-05/0.1028, allocations: 29.7 kB / 383.5 MB, free: 10.65 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.171e-05/0.1028, allocations: 124.4 kB / 383.6 MB, free: 10.53 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.086e-05/0.1029, allocations: 59.11 kB / 383.6 MB, free: 10.47 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.542e-05/0.103, allocations: 37.7 kB / 383.7 MB, free: 10.43 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001113/0.1031, allocations: 326.8 kB / 384 MB, free: 10.1 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001098/0.1032, allocations: 43.97 kB / 384 MB, free: 10.05 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001191/0.1033, allocations: 73.69 kB / 384.1 MB, free: 9.977 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002255/0.1035, allocations: 133.8 kB / 384.2 MB, free: 9.84 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.42e-07/0.1036, allocations: 0 / 384.2 MB, free: 9.84 MB / 286.1 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0002925/0.1038, allocations: 169.4 kB / 384.4 MB, free: 9.668 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.352e-05/0.1039, allocations: 10.5 kB / 384.4 MB, free: 9.66 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.338e-06/0.1039, allocations: 3.938 kB / 384.4 MB, free: 9.656 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.357e-05/0.1039, allocations: 7.938 kB / 384.4 MB, free: 9.648 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001894/0.1041, allocations: 43.97 kB / 384.5 MB, free: 9.605 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.801e-06/0.1041, allocations: 0 / 384.5 MB, free: 9.605 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.668e-05/0.1042, allocations: 11.98 kB / 384.5 MB, free: 9.594 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.032e-05/0.1042, allocations: 4 kB / 384.5 MB, free: 9.59 MB / 286.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (20): * Single equations (assignments): 20 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001052/0.1043, allocations: 133.8 kB / 384.6 MB, free: 9.449 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.961e-05/0.1044, allocations: 15.81 kB / 384.6 MB, free: 9.434 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.942e-05/0.1044, allocations: 33.81 kB / 384.7 MB, free: 9.398 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.877e-06/0.1044, allocations: 3.984 kB / 384.7 MB, free: 9.395 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.801e-06/0.1045, allocations: 0 / 384.7 MB, free: 9.395 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.156e-06/0.1045, allocations: 3.938 kB / 384.7 MB, free: 9.391 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007425/0.1052, allocations: 0.5868 MB / 385.3 MB, free: 8.723 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.868e-06/0.1052, allocations: 4 kB / 385.3 MB, free: 8.719 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001763/0.1054, allocations: 31.98 kB / 385.3 MB, free: 8.688 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.348e-06/0.1054, allocations: 4 kB / 385.3 MB, free: 8.684 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.378e-05/0.1054, allocations: 8.25 kB / 385.3 MB, free: 8.676 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.651e-06/0.1055, allocations: 15.92 kB / 385.3 MB, free: 8.66 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.402e-06/0.1055, allocations: 0 / 385.3 MB, free: 8.66 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004624/0.1059, allocations: 370 kB / 385.7 MB, free: 8.258 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.996e-05/0.106, allocations: 112.8 kB / 385.8 MB, free: 8.129 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.092e-05/0.106, allocations: 8 kB / 385.8 MB, free: 8.121 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001516/0.1062, allocations: 15.98 kB / 385.8 MB, free: 8.105 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.065e-05/0.1063, allocations: 19.98 kB / 385.8 MB, free: 8.086 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.019e-05/0.1063, allocations: 4 kB / 385.8 MB, free: 8.082 MB / 286.1 MB Notification: Performance of sorting global known variables: time 0.0001024/0.1064, allocations: 144.6 kB / 386 MB, free: 7.941 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.1064, allocations: 0 / 386 MB, free: 7.941 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0002719/0.1067, allocations: 44 kB / 386 MB, free: 7.898 MB / 286.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * Number of states: 1 (cylinder.y) * 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 (17): * Single equations (assignments): 17 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0007143/0.1074, allocations: 0.9012 MB / 386.9 MB, free: 6.949 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0002723/0.1077, allocations: 135.8 kB / 387.1 MB, free: 6.816 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.1077, allocations: 0 / 387.1 MB, free: 6.816 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001289/0.1078, allocations: 68.47 kB / 387.1 MB, free: 6.75 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004057/0.1083, allocations: 35.98 kB / 387.2 MB, free: 6.715 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002346/0.1106, allocations: 2.275 MB / 389.4 MB, free: 4.309 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002665/0.1109, allocations: 0.7361 MB / 390.2 MB, free: 3.547 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 8.734e-05/0.111, allocations: 17.41 kB / 390.2 MB, free: 3.527 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.974e-05/0.1111, allocations: 51.42 kB / 390.2 MB, free: 3.48 MB / 286.1 MB Notification: Performance of SimCode: time 4.21e-07/0.1111, allocations: 0 / 390.2 MB, free: 3.48 MB / 286.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2359/0.347, allocations: 3.219 MB / 393.5 MB, free: 232 kB / 286.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001922/0.3472, allocations: 151.7 kB / 393.6 MB, free: 15.97 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.131/2.478, allocations: 0 / 393.6 MB, free: 15.97 MB / 302.1 MB (rm -f MEV_MEV.Test.TestCylinder.pipe ; mkfifo MEV_MEV.Test.TestCylinder.pipe ; head -c 1048576 < MEV_MEV.Test.TestCylinder.pipe >> ../files/MEV_MEV.Test.TestCylinder.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_MEV_MEV_Test_TestCylinder_fmu --startTime=0 --stopTime=5 --timeout=50 --tolerance=1e-06 MEV_MEV_Test_TestCylinder.fmu > MEV_MEV.Test.TestCylinder.pipe 2>&1)