Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr MEV_MEV.Test.TestBellJarLinearControl.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.TestBellJarLinearControl,fileNamePrefix="MEV_MEV_Test_TestBellJarLinearControl",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(MEV.Test.TestBellJarLinearControl,fileNamePrefix="MEV_MEV_Test_TestBellJarLinearControl",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.001182/0.001182, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001687/0.001687, allocations: 195.7 kB / 16.14 MB, free: 6.688 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.536/1.536, allocations: 205.1 MB / 222 MB, free: 4.785 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/MEV 1.1.1/package.mo): time 0.01057/0.01057, allocations: 1.928 MB / 271.3 MB, free: 3.562 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.001569/0.001569, allocations: 67.91 kB / 329.3 MB, free: 33.15 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07515/0.07673, allocations: 47.13 MB / 376.4 MB, free: 1.98 MB / 270.1 MB Notification: Performance of NFInst.instantiate(MEV.Test.TestBellJarLinearControl): time 0.005353/0.08212, allocations: 4.274 MB / 380.7 MB, free: 13.68 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.001816/0.08396, allocations: 0.9747 MB / 381.6 MB, free: 12.7 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000379/0.08436, allocations: 8 kB / 381.7 MB, free: 12.69 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002412/0.08465, allocations: 47.59 kB / 381.7 MB, free: 12.64 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003883/0.08505, allocations: 127 kB / 381.8 MB, free: 12.52 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003451/0.08541, allocations: 119.8 kB / 381.9 MB, free: 12.4 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005663/0.08598, allocations: 0.5133 MB / 382.5 MB, free: 11.88 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000265/0.08626, allocations: 157.5 kB / 382.6 MB, free: 11.72 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002573/0.08652, allocations: 179.2 kB / 382.8 MB, free: 11.55 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002632/0.0868, allocations: 203 kB / 383 MB, free: 11.35 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 6.708e-05/0.08687, allocations: 24 kB / 383 MB, free: 11.32 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001142/0.08699, allocations: 39.92 kB / 383 MB, free: 11.29 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 7.834e-05/0.08708, allocations: 83.55 kB / 383.1 MB, free: 11.2 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002171/0.0873, allocations: 222.8 kB / 383.3 MB, free: 10.98 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004204/0.08773, allocations: 486.3 kB / 383.8 MB, free: 10.51 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.697e-06/0.08774, allocations: 0 / 383.8 MB, free: 10.51 MB / 286.1 MB Notification: Performance of FrontEnd: time 9.12e-07/0.08775, allocations: 0 / 383.8 MB, free: 10.51 MB / 286.1 MB Notification: Performance of Transformations before backend: time 1.362e-05/0.08777, allocations: 0 / 383.8 MB, free: 10.51 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: 89 * Number of variables: 89 Notification: Performance of Generate backend data structure: time 0.0013/0.08907, allocations: 0.763 MB / 384.6 MB, free: 9.691 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.769e-05/0.08912, allocations: 12.03 kB / 384.6 MB, free: 9.68 MB / 286.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.39e-05/0.08921, allocations: 82.7 kB / 384.7 MB, free: 9.59 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.794e-05/0.0893, allocations: 48.38 kB / 384.7 MB, free: 9.543 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003587/0.08967, allocations: 327.2 kB / 385 MB, free: 9.184 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.666e-05/0.08971, allocations: 29.38 kB / 385.1 MB, free: 9.156 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.808e-05/0.08978, allocations: 43.88 kB / 385.1 MB, free: 9.113 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006099/0.0904, allocations: 322.5 kB / 385.4 MB, free: 8.793 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.671e-05/0.09042, allocations: 4 kB / 385.4 MB, free: 8.789 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.272e-05/0.09046, allocations: 12 kB / 385.4 MB, free: 8.777 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.869e-06/0.09048, allocations: 12 kB / 385.5 MB, free: 8.766 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005422/0.09102, allocations: 259.8 kB / 385.7 MB, free: 8.512 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001708/0.09274, allocations: 1.136 MB / 386.8 MB, free: 7.316 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005392/0.09329, allocations: 271.4 kB / 387.1 MB, free: 7.043 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002335/0.09354, allocations: 121.3 kB / 387.2 MB, free: 6.922 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.643e-05/0.09357, allocations: 4.234 kB / 387.2 MB, free: 6.918 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003883/0.09397, allocations: 163.5 kB / 387.4 MB, free: 6.746 MB / 286.1 MB Notification: Performance of pre-optimization done (n=29): time 1.803e-06/0.09398, allocations: 0 / 387.4 MB, free: 6.746 MB / 286.1 MB Notification: Performance of matching and sorting (n=34): time 0.002273/0.09626, allocations: 1.227 MB / 388.6 MB, free: 5.43 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.438e-05/0.0963, allocations: 59.34 kB / 388.7 MB, free: 5.359 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000321/0.09663, allocations: 337.6 kB / 389 MB, free: 5.023 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 3.594e-05/0.09668, allocations: 37.69 kB / 389 MB, free: 4.98 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001296/0.09681, allocations: 212.5 kB / 389.3 MB, free: 4.77 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.957e-05/0.0969, allocations: 118.3 kB / 389.4 MB, free: 4.652 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001056/0.09701, allocations: 73.97 kB / 389.4 MB, free: 4.57 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001193/0.09713, allocations: 342.8 kB / 389.8 MB, free: 4.227 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002559/0.0974, allocations: 122.4 kB / 389.9 MB, free: 4.105 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002699/0.09767, allocations: 158.4 kB / 390 MB, free: 3.938 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005031/0.09819, allocations: 289 kB / 390.3 MB, free: 3.637 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.686e-06/0.0982, allocations: 11.88 kB / 390.3 MB, free: 3.625 MB / 286.1 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0006666/0.09887, allocations: 394.7 kB / 390.7 MB, free: 3.227 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.131e-05/0.09891, allocations: 33.7 kB / 390.8 MB, free: 3.188 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.12e-06/0.09892, allocations: 0 / 390.8 MB, free: 3.188 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.307e-05/0.09894, allocations: 8.094 kB / 390.8 MB, free: 3.18 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003731/0.09932, allocations: 83.89 kB / 390.9 MB, free: 3.098 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.119e-05/0.09934, allocations: 11.92 kB / 390.9 MB, free: 3.086 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000231/0.09958, allocations: 15.98 kB / 390.9 MB, free: 3.07 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.636e-05/0.09961, allocations: 12 kB / 390.9 MB, free: 3.059 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0003324/0.09995, allocations: 228.9 kB / 391.1 MB, free: 2.832 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002523/0.1002, allocations: 154.7 kB / 391.3 MB, free: 2.668 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0004546/0.1007, allocations: 281.4 kB / 391.5 MB, free: 2.375 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.743e-06/0.1007, allocations: 0 / 391.5 MB, free: 2.375 MB / 286.1 MB Notification: Performance of matching and sorting (n=47) (initialization_lambda0): time 0.000624/0.1013, allocations: 398.6 kB / 391.9 MB, free: 1.973 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.1e-05/0.1013, allocations: 29.7 kB / 392 MB, free: 1.938 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.435e-06/0.1013, allocations: 0 / 392 MB, free: 1.938 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.879e-06/0.1014, allocations: 4 kB / 392 MB, free: 1.934 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003257/0.1017, allocations: 83.89 kB / 392 MB, free: 1.852 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.049e-06/0.1017, allocations: 4 kB / 392 MB, free: 1.848 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000223/0.1019, allocations: 19.92 kB / 392.1 MB, free: 1.828 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.1e-05/0.102, allocations: 12.09 kB / 392.1 MB, free: 1.816 MB / 286.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 5 (opening.count,$PRE.opening.count,opening.T_start,$PRE.opening.T_start,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (46): * Single equations (assignments): 45 * Array equations: 0 * Algorithm blocks: 1 * 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.0001109/0.1021, allocations: 209.1 kB / 392.3 MB, free: 1.605 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.521e-05/0.1021, allocations: 35.53 kB / 392.3 MB, free: 1.57 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005962/0.1027, allocations: 325.3 kB / 392.6 MB, free: 1.246 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.589e-06/0.1027, allocations: 4 kB / 392.6 MB, free: 1.242 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.643e-06/0.1028, allocations: 3.938 kB / 392.6 MB, free: 1.238 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.891e-06/0.1028, allocations: 7.922 kB / 392.6 MB, free: 1.23 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001116/0.1039, allocations: 0.8841 MB / 393.5 MB, free: 284 kB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.525e-06/0.1039, allocations: 0 / 393.5 MB, free: 284 kB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003623/0.1043, allocations: 80.06 kB / 393.6 MB, free: 204 kB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.931e-06/0.1043, allocations: 8 kB / 393.6 MB, free: 196 kB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.275e-05/0.1043, allocations: 11.94 kB / 393.6 MB, free: 184 kB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.524e-06/0.1043, allocations: 0 / 393.6 MB, free: 184 kB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.576e-06/0.1043, allocations: 4 kB / 393.6 MB, free: 180 kB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008448/0.1052, allocations: 0.5538 MB / 394.2 MB, free: 15.59 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001355/0.1053, allocations: 144.6 kB / 394.3 MB, free: 15.43 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.002e-05/0.1054, allocations: 12 kB / 394.3 MB, free: 15.42 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002464/0.1056, allocations: 19.97 kB / 394.4 MB, free: 15.4 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.166e-05/0.1057, allocations: 31.97 kB / 394.4 MB, free: 15.37 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.072e-05/0.1058, allocations: 12 kB / 394.4 MB, free: 15.36 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0002311/0.106, allocations: 243.2 kB / 394.6 MB, free: 15.12 MB / 302.1 MB Notification: Performance of sort global known variables: time 1e-07/0.106, allocations: 0 / 394.6 MB, free: 15.12 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0004764/0.1065, allocations: 159.9 kB / 394.8 MB, free: 14.96 MB / 302.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 4 (controller.firstOrder.y,bellJar.cylinder.M,bellJar.damper.s_rel,bellJar.damper.v_rel) * Number of discrete variables: 3 ($whenCondition1,opening.T_start,opening.count) * Number of discrete states: 1 (opening.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (35): * Single equations (assignments): 33 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.001098/0.1076, allocations: 1.114 MB / 395.9 MB, free: 13.81 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0008851/0.1085, allocations: 0.5465 MB / 396.5 MB, free: 13.24 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.425e-06/0.1085, allocations: 0 / 396.5 MB, free: 13.24 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002802/0.1088, allocations: 143.8 kB / 396.6 MB, free: 13.1 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004842/0.1093, allocations: 65.83 kB / 396.7 MB, free: 13.04 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004948/0.1142, allocations: 3.942 MB / 400.6 MB, free: 8.973 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002955/0.1145, allocations: 0.8078 MB / 401.4 MB, free: 8.141 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0002152/0.1148, allocations: 50.92 kB / 401.5 MB, free: 8.09 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001748/0.1149, allocations: 131.4 kB / 401.6 MB, free: 7.961 MB / 302.1 MB Notification: Performance of SimCode: time 4.1e-07/0.115, allocations: 0 / 401.6 MB, free: 7.961 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3481/0.4631, allocations: 7.449 MB / 409 MB, free: 484 kB / 302.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003152/0.4634, allocations: 178.7 kB / 409.2 MB, free: 208 kB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.162/2.625, allocations: 0 / 409.2 MB, free: 208 kB / 302.1 MB (rm -f MEV_MEV.Test.TestBellJarLinearControl.pipe ; mkfifo MEV_MEV.Test.TestBellJarLinearControl.pipe ; head -c 1048576 < MEV_MEV.Test.TestBellJarLinearControl.pipe >> ../files/MEV_MEV.Test.TestBellJarLinearControl.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_MEV_MEV_Test_TestBellJarLinearControl_fmu --startTime=0 --stopTime=100 --timeout=50 --tolerance=1e-06 MEV_MEV_Test_TestBellJarLinearControl.fmu > MEV_MEV.Test.TestBellJarLinearControl.pipe 2>&1)