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.00558/0.00558, allocations: 102.8 kB / 15.73 MB, free: 5.984 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.00127/0.00127, allocations: 195.2 kB / 16.67 MB, free: 5.91 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.302/1.302, allocations: 205.1 MB / 222.5 MB, free: 4.492 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/MEV 1.1.1/package.mo): time 0.008479/0.008479, allocations: 1.932 MB / 271.8 MB, free: 3.227 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.001516/0.001516, allocations: 67.91 kB / 377.7 MB, free: 0.9297 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07198/0.07351, allocations: 47.12 MB / 424.9 MB, free: 1.711 MB / 318.1 MB Notification: Performance of NFInst.instantiate(MEV.Test.TestCylinder): time 0.1503/0.2238, allocations: 2.381 MB / 427.2 MB, free: 10.49 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008816/0.2247, allocations: 0.5801 MB / 427.8 MB, free: 10.31 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001247/0.2249, allocations: 2.562 kB / 427.8 MB, free: 10.31 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001141/0.225, allocations: 28.38 kB / 427.9 MB, free: 10.29 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001715/0.2252, allocations: 73.33 kB / 427.9 MB, free: 10.25 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001577/0.2254, allocations: 42.98 kB / 428 MB, free: 10.25 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002387/0.2256, allocations: 240.3 kB / 428.2 MB, free: 10.18 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001313/0.2258, allocations: 57.42 kB / 428.3 MB, free: 10.16 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001146/0.2259, allocations: 88.38 kB / 428.3 MB, free: 10.14 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001462/0.226, allocations: 87.86 kB / 428.4 MB, free: 10.12 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 3.602e-05/0.2261, allocations: 14.38 kB / 428.4 MB, free: 10.12 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.695e-05/0.2261, allocations: 15.5 kB / 428.5 MB, free: 10.12 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 3.161e-05/0.2262, allocations: 39.91 kB / 428.5 MB, free: 10.11 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 8.37e-05/0.2262, allocations: 101.9 kB / 428.6 MB, free: 10.08 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002105/0.2265, allocations: 194.9 kB / 428.8 MB, free: 10.04 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.126e-06/0.2265, allocations: 0 / 428.8 MB, free: 10.04 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.373e-06/0.2265, allocations: 3.344 kB / 428.8 MB, free: 10.04 MB / 318.1 MB Notification: Performance of Transformations before backend: time 6.752e-06/0.2265, allocations: 1.594 kB / 428.8 MB, free: 10.04 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.0006292/0.2271, allocations: 0.4914 MB / 429.3 MB, free: 9.621 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.312e-05/0.2272, allocations: 13.17 kB / 429.3 MB, free: 9.617 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.132e-05/0.2272, allocations: 52.61 kB / 429.3 MB, free: 9.578 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.679e-05/0.2273, allocations: 25.3 kB / 429.4 MB, free: 9.566 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002305/0.2275, allocations: 223.4 kB / 429.6 MB, free: 9.344 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.436e-05/0.2275, allocations: 13.27 kB / 429.6 MB, free: 9.344 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.931e-05/0.2276, allocations: 17.28 kB / 429.6 MB, free: 9.34 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002984/0.2279, allocations: 151.7 kB / 429.8 MB, free: 9.305 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.005e-05/0.2279, allocations: 1.781 kB / 429.8 MB, free: 9.305 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.641e-05/0.2279, allocations: 14.56 kB / 429.8 MB, free: 9.301 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.192e-06/0.2279, allocations: 4.406 kB / 429.8 MB, free: 9.301 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002607/0.2282, allocations: 117.6 kB / 429.9 MB, free: 9.293 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008966/0.2291, allocations: 0.5523 MB / 430.5 MB, free: 8.977 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002091/0.2293, allocations: 100.7 kB / 430.6 MB, free: 8.949 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00011/0.2294, allocations: 52.22 kB / 430.6 MB, free: 8.941 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.341e-05/0.2295, allocations: 1.062 kB / 430.6 MB, free: 8.941 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.791e-05/0.2295, allocations: 37.7 kB / 430.6 MB, free: 8.902 MB / 318.1 MB Notification: Performance of pre-optimization done (n=13): time 1.413e-06/0.2295, allocations: 0 / 430.6 MB, free: 8.902 MB / 318.1 MB Notification: Performance of matching and sorting (n=17): time 0.001616/0.2311, allocations: 0.6224 MB / 431.3 MB, free: 8.531 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.012e-05/0.2311, allocations: 54.33 kB / 431.3 MB, free: 8.469 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001543/0.2313, allocations: 203.9 kB / 431.5 MB, free: 8.332 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.273e-05/0.2313, allocations: 26.89 kB / 431.5 MB, free: 8.301 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.318e-05/0.2314, allocations: 130.4 kB / 431.7 MB, free: 8.184 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.044e-05/0.2314, allocations: 50.47 kB / 431.7 MB, free: 8.145 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.734e-05/0.2315, allocations: 41.22 kB / 431.8 MB, free: 8.113 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 4.198e-05/0.2315, allocations: 327.8 kB / 432.1 MB, free: 7.793 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000117/0.2316, allocations: 48.05 kB / 432.1 MB, free: 7.777 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001228/0.2318, allocations: 69.22 kB / 432.2 MB, free: 7.742 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002197/0.232, allocations: 134 kB / 432.3 MB, free: 7.672 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.32e-07/0.232, allocations: 0 / 432.3 MB, free: 7.672 MB / 318.1 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0002976/0.2323, allocations: 169.4 kB / 432.5 MB, free: 7.594 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.369e-05/0.2323, allocations: 9.484 kB / 432.5 MB, free: 7.59 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.46e-06/0.2324, allocations: 1.156 kB / 432.5 MB, free: 7.59 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.485e-05/0.2324, allocations: 5.031 kB / 432.5 MB, free: 7.586 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000196/0.2326, allocations: 46.31 kB / 432.6 MB, free: 7.578 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.803e-06/0.2326, allocations: 1.656 kB / 432.6 MB, free: 7.578 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001044/0.2327, allocations: 6.375 kB / 432.6 MB, free: 7.578 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.199e-05/0.2327, allocations: 7.625 kB / 432.6 MB, free: 7.574 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.528e-05/0.2328, allocations: 131.3 kB / 432.7 MB, free: 7.445 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.064e-05/0.2328, allocations: 20.5 kB / 432.7 MB, free: 7.434 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.756e-05/0.2329, allocations: 35.86 kB / 432.7 MB, free: 7.406 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.066e-06/0.2329, allocations: 2.312 kB / 432.8 MB, free: 7.406 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.2e-06/0.2329, allocations: 0 / 432.8 MB, free: 7.406 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.368e-06/0.2329, allocations: 2.125 kB / 432.8 MB, free: 7.406 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007083/0.2336, allocations: 0.5859 MB / 433.3 MB, free: 6.93 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.717e-06/0.2337, allocations: 2.312 kB / 433.3 MB, free: 6.93 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001849/0.2338, allocations: 44.41 kB / 433.4 MB, free: 6.922 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.249e-06/0.2339, allocations: 7.891 kB / 433.4 MB, free: 6.918 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.311e-05/0.2339, allocations: 3.5 kB / 433.4 MB, free: 6.918 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.358e-06/0.2339, allocations: 3.578 kB / 433.4 MB, free: 6.918 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.116e-06/0.2339, allocations: 11.19 kB / 433.4 MB, free: 6.91 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004302/0.2343, allocations: 373.6 kB / 433.8 MB, free: 6.629 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.024e-05/0.2344, allocations: 111.6 kB / 433.9 MB, free: 6.52 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.847e-05/0.2345, allocations: 4.703 kB / 433.9 MB, free: 6.52 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001639/0.2346, allocations: 14.92 kB / 433.9 MB, free: 6.516 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.661e-05/0.2347, allocations: 23.25 kB / 433.9 MB, free: 6.504 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.283e-05/0.2347, allocations: 7.594 kB / 433.9 MB, free: 6.504 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0001025/0.2348, allocations: 147.4 kB / 434.1 MB, free: 6.406 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.2348, allocations: 0 / 434.1 MB, free: 6.406 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0002947/0.2351, allocations: 40.09 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.000551/0.2357, allocations: 0.8973 MB / 435 MB, free: 5.59 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0002858/0.236, allocations: 130.9 kB / 435.1 MB, free: 5.547 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.545e-06/0.236, allocations: 1.406 kB / 435.1 MB, free: 5.547 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001344/0.2361, allocations: 68.39 kB / 435.2 MB, free: 5.527 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003566/0.2365, allocations: 38.27 kB / 435.2 MB, free: 5.508 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002113/0.2386, allocations: 2.222 MB / 437.5 MB, free: 3.781 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00016/0.2388, allocations: 0.7334 MB / 438.2 MB, free: 3.082 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 8.547e-05/0.2389, allocations: 16.05 kB / 438.2 MB, free: 3.082 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.943e-05/0.239, allocations: 53.3 kB / 438.3 MB, free: 3.043 MB / 318.1 MB Notification: Performance of SimCode: time 3.21e-07/0.239, allocations: 0 / 438.3 MB, free: 3.043 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02013/0.2591, allocations: 3.552 MB / 441.8 MB, free: 2.43 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.389/7.648, allocations: 9.391 kB / 441.8 MB, free: 2.422 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)