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.005648/0.005648, allocations: 100.1 kB / 15.73 MB, free: 6.047 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.00144/0.00144, allocations: 187.6 kB / 16.67 MB, free: 5.977 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.306/1.306, allocations: 205.1 MB / 222.6 MB, free: 4.531 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/MEV 1.1.1/package.mo): time 0.009352/0.009352, allocations: 1.928 MB / 271.8 MB, free: 3.262 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.001514/0.001514, allocations: 67.91 kB / 377.7 MB, free: 0.9375 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07481/0.07633, allocations: 47.12 MB / 424.9 MB, free: 1.719 MB / 318.1 MB Notification: Performance of NFInst.instantiate(MEV.Test.TestCylinder): time 0.1529/0.2293, allocations: 2.375 MB / 427.2 MB, free: 10.52 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007779/0.2301, allocations: 0.5767 MB / 427.8 MB, free: 10.34 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.951e-05/0.2302, allocations: 6.5 kB / 427.8 MB, free: 10.33 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001147/0.2304, allocations: 28.09 kB / 427.8 MB, free: 10.32 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001309/0.2305, allocations: 72.8 kB / 427.9 MB, free: 10.27 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000137/0.2307, allocations: 47.86 kB / 428 MB, free: 10.27 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002127/0.2309, allocations: 236.1 kB / 428.2 MB, free: 10.2 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001319/0.231, allocations: 50.98 kB / 428.2 MB, free: 10.19 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.491e-05/0.2311, allocations: 90.44 kB / 428.3 MB, free: 10.17 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001414/0.2313, allocations: 92.41 kB / 428.4 MB, free: 10.14 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2.887e-05/0.2313, allocations: 15.34 kB / 428.4 MB, free: 10.14 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.299e-05/0.2314, allocations: 15 kB / 428.5 MB, free: 10.14 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 3.502e-05/0.2314, allocations: 37.22 kB / 428.5 MB, free: 10.14 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 8.351e-05/0.2315, allocations: 103.4 kB / 428.6 MB, free: 10.11 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000207/0.2317, allocations: 196.1 kB / 428.8 MB, free: 10.06 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.677e-06/0.2317, allocations: 0 / 428.8 MB, free: 10.06 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.152e-06/0.2317, allocations: 0.5625 kB / 428.8 MB, free: 10.06 MB / 318.1 MB Notification: Performance of Transformations before backend: time 5.53e-06/0.2317, allocations: 1.469 kB / 428.8 MB, free: 10.06 MB / 318.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.0005942/0.2323, allocations: 0.4963 MB / 429.3 MB, free: 9.637 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.431e-05/0.2324, allocations: 13.36 kB / 429.3 MB, free: 9.633 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.752e-05/0.2324, allocations: 50.55 kB / 429.3 MB, free: 9.594 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.491e-05/0.2325, allocations: 25.16 kB / 429.4 MB, free: 9.582 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002105/0.2327, allocations: 216.9 kB / 429.6 MB, free: 9.363 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.45e-05/0.2327, allocations: 14 kB / 429.6 MB, free: 9.363 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.273e-05/0.2328, allocations: 22.06 kB / 429.6 MB, free: 9.355 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002783/0.233, allocations: 150.4 kB / 429.8 MB, free: 9.324 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.347e-06/0.2331, allocations: 2.906 kB / 429.8 MB, free: 9.324 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.744e-05/0.2331, allocations: 7 kB / 429.8 MB, free: 9.324 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.981e-06/0.2331, allocations: 3.578 kB / 429.8 MB, free: 9.324 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002363/0.2333, allocations: 122.2 kB / 429.9 MB, free: 9.312 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008028/0.2341, allocations: 0.5503 MB / 430.4 MB, free: 8.996 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001837/0.2343, allocations: 100.9 kB / 430.5 MB, free: 8.969 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001076/0.2345, allocations: 55.69 kB / 430.6 MB, free: 8.961 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.362e-05/0.2345, allocations: 1.281 kB / 430.6 MB, free: 8.961 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.329e-05/0.2345, allocations: 36.8 kB / 430.6 MB, free: 8.918 MB / 318.1 MB Notification: Performance of pre-optimization done (n=13): time 1.493e-06/0.2345, allocations: 0 / 430.6 MB, free: 8.918 MB / 318.1 MB Notification: Performance of matching and sorting (n=17): time 0.001618/0.2361, allocations: 0.63 MB / 431.3 MB, free: 8.527 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.77e-05/0.2362, allocations: 53.62 kB / 431.3 MB, free: 8.465 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001491/0.2363, allocations: 195.7 kB / 431.5 MB, free: 8.336 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.349e-05/0.2363, allocations: 35.58 kB / 431.5 MB, free: 8.297 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.19e-05/0.2364, allocations: 126.3 kB / 431.7 MB, free: 8.184 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.272e-05/0.2364, allocations: 55.41 kB / 431.7 MB, free: 8.141 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.469e-05/0.2365, allocations: 43.83 kB / 431.8 MB, free: 8.105 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 4.189e-05/0.2365, allocations: 323.9 kB / 432.1 MB, free: 7.789 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001112/0.2367, allocations: 48.31 kB / 432.1 MB, free: 7.773 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001139/0.2368, allocations: 65.91 kB / 432.2 MB, free: 7.742 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002098/0.237, allocations: 134 kB / 432.3 MB, free: 7.672 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.012e-06/0.237, allocations: 0 / 432.3 MB, free: 7.672 MB / 318.1 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0002828/0.2373, allocations: 175.9 kB / 432.5 MB, free: 7.586 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.337e-05/0.2373, allocations: 6.531 kB / 432.5 MB, free: 7.586 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.129e-06/0.2373, allocations: 0.875 kB / 432.5 MB, free: 7.586 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.394e-05/0.2373, allocations: 5.094 kB / 432.5 MB, free: 7.582 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002036/0.2375, allocations: 42.86 kB / 432.5 MB, free: 7.578 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.522e-06/0.2376, allocations: 1.969 kB / 432.6 MB, free: 7.578 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001042/0.2377, allocations: 12.92 kB / 432.6 MB, free: 7.57 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.084e-05/0.2377, allocations: 5.484 kB / 432.6 MB, free: 7.57 MB / 318.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 7.441e-05/0.2378, allocations: 126.2 kB / 432.7 MB, free: 7.445 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.007e-05/0.2378, allocations: 17.28 kB / 432.7 MB, free: 7.438 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.796e-05/0.2379, allocations: 31.98 kB / 432.7 MB, free: 7.41 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.737e-06/0.2379, allocations: 7.328 kB / 432.7 MB, free: 7.41 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.799e-06/0.2379, allocations: 3.188 kB / 432.8 MB, free: 7.41 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.687e-06/0.2379, allocations: 0.75 kB / 432.8 MB, free: 7.41 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007089/0.2386, allocations: 0.59 MB / 433.3 MB, free: 6.93 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.938e-06/0.2386, allocations: 6.344 kB / 433.3 MB, free: 6.926 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001966/0.2388, allocations: 40.86 kB / 433.4 MB, free: 6.922 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.519e-06/0.2388, allocations: 7.25 kB / 433.4 MB, free: 6.918 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.41e-05/0.2389, allocations: 7.844 kB / 433.4 MB, free: 6.914 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.649e-06/0.2389, allocations: 3.031 kB / 433.4 MB, free: 6.914 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.856e-06/0.2389, allocations: 3.031 kB / 433.4 MB, free: 6.914 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004395/0.2393, allocations: 371.6 kB / 433.8 MB, free: 6.637 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.129e-05/0.2394, allocations: 114.4 kB / 433.9 MB, free: 6.523 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.244e-05/0.2394, allocations: 8.219 kB / 433.9 MB, free: 6.52 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001611/0.2396, allocations: 11.67 kB / 433.9 MB, free: 6.52 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.975e-05/0.2397, allocations: 23.5 kB / 433.9 MB, free: 6.508 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.151e-05/0.2397, allocations: 5.688 kB / 433.9 MB, free: 6.508 MB / 318.1 MB Notification: Performance of sorting global known variables: time 9.936e-05/0.2398, allocations: 148.9 kB / 434.1 MB, free: 6.41 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.2398, allocations: 0 / 434.1 MB, free: 6.41 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0003107/0.2401, allocations: 43.66 kB / 434.1 MB, free: 6.402 MB / 318.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.0005364/0.2407, allocations: 0.8927 MB / 435 MB, free: 5.594 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0002755/0.2409, allocations: 132.3 kB / 435.1 MB, free: 5.551 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.241, allocations: 1.281 kB / 435.1 MB, free: 5.551 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001237/0.2411, allocations: 67.45 kB / 435.2 MB, free: 5.531 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003572/0.2414, allocations: 32.09 kB / 435.2 MB, free: 5.516 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002049/0.2435, allocations: 2.228 MB / 437.5 MB, free: 3.785 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001446/0.2437, allocations: 0.7324 MB / 438.2 MB, free: 3.086 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 8.337e-05/0.2438, allocations: 14 kB / 438.2 MB, free: 3.086 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.73e-05/0.2438, allocations: 57.28 kB / 438.3 MB, free: 3.043 MB / 318.1 MB Notification: Performance of SimCode: time 4.1e-07/0.2439, allocations: 0 / 438.3 MB, free: 3.043 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02206/0.2659, allocations: 3.547 MB / 441.8 MB, free: 2.434 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.311/7.577, allocations: 9.797 kB / 441.8 MB, free: 2.426 MB / 318.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)