Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr MEV_MEV.Test.TestBellJarOpenLoop.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-master/package.mo", uses=false) Using package MEV with version 1.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/MEV 1.1.1-master/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.TestBellJarOpenLoop,fileNamePrefix="MEV_MEV_Test_TestBellJarOpenLoop",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(MEV.Test.TestBellJarOpenLoop,fileNamePrefix="MEV_MEV_Test_TestBellJarOpenLoop",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.0009412/0.0009413, allocations: 100.1 kB / 15.05 MB, free: 1.105 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.0009013/0.0009013, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.752/1.752, allocations: 205.4 MB / 222.1 MB, free: 5.668 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/MEV 1.1.1-master/package.mo): time 0.01057/0.01057, allocations: 1.92 MB / 272.3 MB, free: 3.414 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.0005514/0.0005517, allocations: 12.22 kB / 331 MB, free: 33.27 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1114/0.1119, allocations: 48.09 MB / 379 MB, free: 1.137 MB / 270.1 MB Notification: Performance of NFInst.instantiate(MEV.Test.TestBellJarOpenLoop): time 0.003526/0.1155, allocations: 2.842 MB / 381.9 MB, free: 14.27 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.001555/0.1171, allocations: 0.843 MB / 382.7 MB, free: 13.43 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000171/0.1173, allocations: 7.938 kB / 382.7 MB, free: 13.42 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001005/0.1174, allocations: 47.59 kB / 382.8 MB, free: 13.37 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003586/0.1177, allocations: 171.5 kB / 383 MB, free: 13.2 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002426/0.118, allocations: 63.92 kB / 383 MB, free: 13.14 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003794/0.1184, allocations: 283.3 kB / 383.3 MB, free: 12.86 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002175/0.1186, allocations: 101.8 kB / 383.4 MB, free: 12.77 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001326/0.1187, allocations: 119.5 kB / 383.5 MB, free: 12.65 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002097/0.119, allocations: 139.4 kB / 383.6 MB, free: 12.52 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 3.295e-05/0.119, allocations: 12 kB / 383.7 MB, free: 12.5 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.929e-05/0.1191, allocations: 23.98 kB / 383.7 MB, free: 12.48 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 4.882e-05/0.1191, allocations: 51.77 kB / 383.7 MB, free: 12.43 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 7.695e-05/0.1192, allocations: 89.52 kB / 383.8 MB, free: 12.34 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002852/0.1195, allocations: 275.3 kB / 384.1 MB, free: 12.07 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.108e-06/0.1195, allocations: 0 / 384.1 MB, free: 12.07 MB / 286.1 MB Notification: Performance of FrontEnd: time 2.194e-06/0.1195, allocations: 0 / 384.1 MB, free: 12.07 MB / 286.1 MB Notification: Performance of Transformations before backend: time 7.615e-06/0.1196, allocations: 4 kB / 384.1 MB, free: 12.06 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.0009267/0.1205, allocations: 0.5804 MB / 384.7 MB, free: 11.43 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.201e-05/0.1206, allocations: 12.02 kB / 384.7 MB, free: 11.42 MB / 286.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.819e-05/0.1206, allocations: 70.48 kB / 384.8 MB, free: 11.34 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.039e-05/0.1207, allocations: 39.53 kB / 384.8 MB, free: 11.3 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003417/0.1211, allocations: 289.4 kB / 385.1 MB, free: 10.98 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.714e-05/0.1211, allocations: 16.56 kB / 385.1 MB, free: 10.96 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.06e-05/0.1212, allocations: 28 kB / 385.1 MB, free: 10.93 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004367/0.1216, allocations: 232.9 kB / 385.3 MB, free: 10.7 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.35e-05/0.1216, allocations: 0 / 385.3 MB, free: 10.7 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.755e-05/0.1217, allocations: 12 kB / 385.4 MB, free: 10.69 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.235e-05/0.1217, allocations: 4 kB / 385.4 MB, free: 10.68 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003443/0.122, allocations: 190.1 kB / 385.5 MB, free: 10.5 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001469/0.1235, allocations: 0.907 MB / 386.5 MB, free: 9.535 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000467/0.124, allocations: 190.4 kB / 386.6 MB, free: 9.34 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.179e-05/0.124, allocations: 7.969 kB / 386.6 MB, free: 9.332 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.124e-05/0.1241, allocations: 38.56 kB / 386.7 MB, free: 9.285 MB / 286.1 MB Notification: Performance of pre-optimization done (n=20): time 1.352e-06/0.1241, allocations: 0 / 386.7 MB, free: 9.285 MB / 286.1 MB Notification: Performance of matching and sorting (n=25): time 0.00246/0.1265, allocations: 0.9809 MB / 387.7 MB, free: 8.215 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.668e-05/0.1266, allocations: 55.41 kB / 387.7 MB, free: 8.148 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003242/0.1269, allocations: 287.4 kB / 388 MB, free: 7.855 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 2.544e-05/0.127, allocations: 25.7 kB / 388 MB, free: 7.824 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001514/0.1271, allocations: 188.5 kB / 388.2 MB, free: 7.637 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.914e-05/0.1272, allocations: 94.59 kB / 388.3 MB, free: 7.543 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.703e-05/0.1273, allocations: 4 kB / 388.3 MB, free: 7.539 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0002205/0.1275, allocations: 334.8 kB / 388.6 MB, free: 7.203 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002081/0.1277, allocations: 71.97 kB / 388.7 MB, free: 7.133 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003022/0.128, allocations: 120.1 kB / 388.8 MB, free: 7 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002196/0.1283, allocations: 95.95 kB / 388.9 MB, free: 6.906 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.913e-06/0.1283, allocations: 0 / 388.9 MB, free: 6.906 MB / 286.1 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0004746/0.1288, allocations: 269.1 kB / 389.2 MB, free: 6.637 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.000294/0.1291, allocations: 453.1 kB / 389.6 MB, free: 6.16 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.396e-05/0.1291, allocations: 3.984 kB / 389.6 MB, free: 6.156 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.57e-05/0.1291, allocations: 4 kB / 389.6 MB, free: 6.152 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002912/0.1294, allocations: 71.8 kB / 389.7 MB, free: 6.082 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.523e-05/0.1295, allocations: 4 kB / 389.7 MB, free: 6.078 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001806/0.1296, allocations: 8 kB / 389.7 MB, free: 6.07 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.6e-05/0.1297, allocations: 15.98 kB / 389.7 MB, free: 6.055 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.019e-05/0.1297, allocations: 6.812 kB / 389.7 MB, free: 6.051 MB / 286.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0003783/0.1301, allocations: 211.8 kB / 389.9 MB, free: 5.844 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.445e-06/0.1301, allocations: 0 / 389.9 MB, free: 5.844 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.959e-06/0.1301, allocations: 4 kB / 389.9 MB, free: 5.84 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002314/0.1303, allocations: 63.91 kB / 390 MB, free: 5.777 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.468e-06/0.1304, allocations: 8.125 kB / 390 MB, free: 5.77 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001167/0.1305, allocations: 8 kB / 390 MB, free: 5.762 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.821e-05/0.1305, allocations: 15.98 kB / 390 MB, free: 5.746 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 (35): * Single equations (assignments): 35 * 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.0002401/0.1308, allocations: 221.5 kB / 390.3 MB, free: 5.52 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.382e-05/0.1308, allocations: 27.72 kB / 390.3 MB, free: 5.492 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005471/0.1314, allocations: 235.8 kB / 390.5 MB, free: 5.258 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.638e-06/0.1314, allocations: 8 kB / 390.5 MB, free: 5.25 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.794e-06/0.1314, allocations: 0 / 390.5 MB, free: 5.25 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.171e-05/0.1314, allocations: 3.984 kB / 390.5 MB, free: 5.246 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001209/0.1327, allocations: 0.7304 MB / 391.3 MB, free: 4.449 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.801e-06/0.1327, allocations: 3.984 kB / 391.3 MB, free: 4.445 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000304/0.133, allocations: 63.91 kB / 391.3 MB, free: 4.383 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.001e-06/0.133, allocations: 4 kB / 391.3 MB, free: 4.379 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.068e-05/0.133, allocations: 8 kB / 391.3 MB, free: 4.371 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.234e-06/0.133, allocations: 3.938 kB / 391.3 MB, free: 4.367 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.208e-06/0.1331, allocations: 3.953 kB / 391.3 MB, free: 4.363 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007307/0.1338, allocations: 489.4 kB / 391.8 MB, free: 3.832 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000166/0.134, allocations: 132.7 kB / 391.9 MB, free: 3.684 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.955e-05/0.134, allocations: 8 kB / 392 MB, free: 3.676 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00018/0.1342, allocations: 15.98 kB / 392 MB, free: 3.66 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.569e-05/0.1343, allocations: 11.98 kB / 392 MB, free: 3.648 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.198e-05/0.1343, allocations: 8 kB / 392 MB, free: 3.641 MB / 286.1 MB Notification: Performance of sorting global known variables: time 0.0004147/0.1348, allocations: 209.9 kB / 392.2 MB, free: 3.434 MB / 286.1 MB Notification: Performance of sort global known variables: time 6.81e-07/0.1348, allocations: 0 / 392.2 MB, free: 3.434 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.001078/0.1359, allocations: 116 kB / 392.3 MB, free: 3.32 MB / 286.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * 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.00292/0.1388, allocations: 1.294 MB / 393.6 MB, free: 1.969 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.002296/0.1412, allocations: 319.7 kB / 393.9 MB, free: 1.656 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 2.018e-05/0.1412, allocations: 0 / 393.9 MB, free: 1.656 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000721/0.142, allocations: 100.5 kB / 394 MB, free: 1.559 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001205/0.1432, allocations: 36.64 kB / 394 MB, free: 1.523 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006094/0.1494, allocations: 2.574 MB / 396.6 MB, free: 14.87 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005874/0.15, allocations: 0.7873 MB / 397.4 MB, free: 14.06 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0002906/0.1503, allocations: 34.27 kB / 397.4 MB, free: 14.02 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002356/0.1506, allocations: 95.41 kB / 397.5 MB, free: 13.93 MB / 302.1 MB Notification: Performance of SimCode: time 2.194e-06/0.1506, allocations: 0 / 397.5 MB, free: 13.93 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03916/0.1897, allocations: 5.413 MB / 402.9 MB, free: 8.516 MB / 302.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000397/0.1903, allocations: 144.7 kB / 403.1 MB, free: 8.273 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.038/2.228, allocations: 0 / 403.1 MB, free: 8.273 MB / 302.1 MB (rm -f MEV_MEV.Test.TestBellJarOpenLoop.pipe ; mkfifo MEV_MEV.Test.TestBellJarOpenLoop.pipe ; head -c 1048576 < MEV_MEV.Test.TestBellJarOpenLoop.pipe >> ../files/MEV_MEV.Test.TestBellJarOpenLoop.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_MEV_MEV_Test_TestBellJarOpenLoop_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 MEV_MEV_Test_TestBellJarOpenLoop.fmu > MEV_MEV.Test.TestBellJarOpenLoop.pipe 2>&1) Environment - environmentSimulation: