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.0009639/0.0009641, allocations: 91.84 kB / 15.36 MB, free: 0.7383 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.006612/0.006612, allocations: 169.6 kB / 16.26 MB, free: 6.613 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.474/1.474, allocations: 205.4 MB / 222.4 MB, free: 5.555 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/MEV 1.1.1/package.mo): time 0.008414/0.008414, allocations: 1.928 MB / 272.7 MB, free: 3.277 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.0004971/0.000497, allocations: 16 kB / 331.6 MB, free: 32.87 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07289/0.07339, allocations: 48.09 MB / 379.7 MB, free: 0.7266 MB / 270.1 MB Notification: Performance of NFInst.instantiate(MEV.Test.TestBellJarLinearControl): time 0.003584/0.077, allocations: 3.889 MB / 383.6 MB, free: 12.81 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.001311/0.07833, allocations: 0.9592 MB / 384.5 MB, free: 11.85 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001562/0.0785, allocations: 8 kB / 384.6 MB, free: 11.84 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001212/0.07863, allocations: 47.59 kB / 384.6 MB, free: 11.79 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000235/0.07888, allocations: 131 kB / 384.7 MB, free: 11.66 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002755/0.07916, allocations: 119.8 kB / 384.8 MB, free: 11.55 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004216/0.07959, allocations: 0.5094 MB / 385.4 MB, free: 11.04 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002365/0.07983, allocations: 157.5 kB / 385.5 MB, free: 10.88 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001718/0.08001, allocations: 163.2 kB / 385.7 MB, free: 10.71 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000195/0.08021, allocations: 187 kB / 385.8 MB, free: 10.53 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 3.703e-05/0.08026, allocations: 16 kB / 385.9 MB, free: 10.52 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.751e-05/0.08035, allocations: 31.98 kB / 385.9 MB, free: 10.48 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 5.637e-05/0.08042, allocations: 67.62 kB / 386 MB, free: 10.42 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001899/0.08061, allocations: 232.6 kB / 386.2 MB, free: 10.18 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003862/0.08101, allocations: 474.1 kB / 386.7 MB, free: 9.719 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.155e-06/0.08102, allocations: 4 kB / 386.7 MB, free: 9.715 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.212e-06/0.08103, allocations: 0 / 386.7 MB, free: 9.715 MB / 286.1 MB Notification: Performance of Transformations before backend: time 8.476e-06/0.08104, allocations: 0 / 386.7 MB, free: 9.715 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.001056/0.0821, allocations: 0.6968 MB / 387.4 MB, free: 8.965 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.671e-05/0.08215, allocations: 8.031 kB / 387.4 MB, free: 8.957 MB / 286.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.77e-05/0.08223, allocations: 74.66 kB / 387.4 MB, free: 8.875 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.174e-05/0.08231, allocations: 48.38 kB / 387.5 MB, free: 8.828 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003297/0.08264, allocations: 327.3 kB / 387.8 MB, free: 8.469 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.863e-05/0.08268, allocations: 33.36 kB / 387.8 MB, free: 8.438 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.719e-05/0.08275, allocations: 43.88 kB / 387.9 MB, free: 8.395 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005827/0.08334, allocations: 338.4 kB / 388.2 MB, free: 8.059 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.625e-05/0.08337, allocations: 4 kB / 388.2 MB, free: 8.055 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.268e-05/0.08341, allocations: 16 kB / 388.2 MB, free: 8.039 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.097e-06/0.08342, allocations: 8 kB / 388.2 MB, free: 8.031 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005389/0.08397, allocations: 271.9 kB / 388.5 MB, free: 7.766 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001652/0.08563, allocations: 1.132 MB / 389.6 MB, free: 6.574 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005526/0.0862, allocations: 283.3 kB / 389.9 MB, free: 6.289 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002407/0.08645, allocations: 133.4 kB / 390 MB, free: 6.156 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.328e-05/0.08648, allocations: 4.234 kB / 390 MB, free: 6.152 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003678/0.08686, allocations: 175.4 kB / 390.2 MB, free: 5.969 MB / 286.1 MB Notification: Performance of pre-optimization done (n=29): time 1.744e-06/0.08687, allocations: 0 / 390.2 MB, free: 5.969 MB / 286.1 MB Notification: Performance of matching and sorting (n=34): time 0.002204/0.08908, allocations: 1.255 MB / 391.5 MB, free: 4.625 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.463e-05/0.08912, allocations: 59.41 kB / 391.5 MB, free: 4.555 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002971/0.08943, allocations: 345.6 kB / 391.9 MB, free: 4.211 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 2.602e-05/0.08946, allocations: 29.7 kB / 391.9 MB, free: 4.176 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001149/0.08958, allocations: 208.5 kB / 392.1 MB, free: 3.969 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.908e-05/0.08967, allocations: 126.3 kB / 392.2 MB, free: 3.844 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.008e-05/0.08972, allocations: 37.7 kB / 392.3 MB, free: 3.801 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 9.578e-05/0.08982, allocations: 342.8 kB / 392.6 MB, free: 3.457 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002471/0.09007, allocations: 116.8 kB / 392.7 MB, free: 3.34 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002592/0.09034, allocations: 162.5 kB / 392.9 MB, free: 3.168 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004916/0.09084, allocations: 305 kB / 393.2 MB, free: 2.852 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.452e-06/0.09085, allocations: 0 / 393.2 MB, free: 2.852 MB / 286.1 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0006593/0.09152, allocations: 414.6 kB / 393.6 MB, free: 2.434 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.323e-05/0.09159, allocations: 141.2 kB / 393.7 MB, free: 2.273 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.011e-06/0.09161, allocations: 8.031 kB / 393.7 MB, free: 2.266 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.345e-05/0.09162, allocations: 7.984 kB / 393.7 MB, free: 2.258 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003564/0.09198, allocations: 87.89 kB / 393.8 MB, free: 2.172 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.56e-06/0.092, allocations: 0 / 393.8 MB, free: 2.172 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002198/0.09222, allocations: 19.98 kB / 393.8 MB, free: 2.152 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.496e-05/0.09226, allocations: 12 kB / 393.8 MB, free: 2.141 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.151e-06/0.09227, allocations: 6.969 kB / 393.8 MB, free: 2.137 MB / 286.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.000608/0.09288, allocations: 357.4 kB / 394.2 MB, free: 1.781 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.388e-06/0.0929, allocations: 4 kB / 394.2 MB, free: 1.777 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.555e-06/0.09291, allocations: 0 / 394.2 MB, free: 1.777 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003208/0.09323, allocations: 87.92 kB / 394.3 MB, free: 1.691 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.989e-06/0.09325, allocations: 8 kB / 394.3 MB, free: 1.684 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001968/0.09345, allocations: 19.98 kB / 394.3 MB, free: 1.664 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.924e-05/0.09348, allocations: 16 kB / 394.3 MB, free: 1.648 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.0001635/0.09365, allocations: 237 kB / 394.6 MB, free: 1.406 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.381e-05/0.0937, allocations: 35.53 kB / 394.6 MB, free: 1.371 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006189/0.09432, allocations: 345.3 kB / 394.9 MB, free: 1.027 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.769e-06/0.09434, allocations: 4 kB / 394.9 MB, free: 1.023 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.797e-06/0.09435, allocations: 0 / 394.9 MB, free: 1.023 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.449e-06/0.09435, allocations: 0 / 394.9 MB, free: 1.023 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001102/0.09546, allocations: 0.892 MB / 395.8 MB, free: 64 kB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.344e-06/0.09547, allocations: 0 / 395.8 MB, free: 64 kB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003588/0.09584, allocations: 88 kB / 395.9 MB, free: 15.97 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.765e-06/0.09585, allocations: 0 / 395.9 MB, free: 15.97 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.296e-05/0.09588, allocations: 15.94 kB / 395.9 MB, free: 15.96 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.36e-06/0.09589, allocations: 7.938 kB / 395.9 MB, free: 15.95 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.263e-06/0.0959, allocations: 0 / 395.9 MB, free: 15.95 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009443/0.09684, allocations: 0.5617 MB / 396.5 MB, free: 15.36 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001797/0.09704, allocations: 156.6 kB / 396.6 MB, free: 15.19 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.815e-05/0.0971, allocations: 4 kB / 396.7 MB, free: 15.18 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002442/0.09735, allocations: 23.98 kB / 396.7 MB, free: 15.16 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.577e-05/0.09744, allocations: 31.89 kB / 396.7 MB, free: 15.13 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.061e-05/0.09746, allocations: 16 kB / 396.7 MB, free: 15.11 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.000239/0.09771, allocations: 243.2 kB / 397 MB, free: 14.88 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.283e-06/0.09772, allocations: 0 / 397 MB, free: 14.88 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.000488/0.09821, allocations: 163.9 kB / 397.1 MB, free: 14.71 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.001182/0.0994, allocations: 1.122 MB / 398.2 MB, free: 13.55 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0009536/0.1004, allocations: 0.5578 MB / 398.8 MB, free: 12.97 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 4.018e-06/0.1004, allocations: 4 kB / 398.8 MB, free: 12.96 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003059/0.1007, allocations: 152.2 kB / 399 MB, free: 12.82 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005553/0.1013, allocations: 65.52 kB / 399 MB, free: 12.75 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004961/0.1062, allocations: 4.065 MB / 403.1 MB, free: 8.559 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003419/0.1066, allocations: 0.8118 MB / 403.9 MB, free: 7.723 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0001997/0.1068, allocations: 42.94 kB / 403.9 MB, free: 7.68 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001746/0.107, allocations: 131.4 kB / 404.1 MB, free: 7.551 MB / 302.1 MB Notification: Performance of SimCode: time 5.11e-07/0.107, allocations: 3.938 kB / 404.1 MB, free: 7.547 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6087/0.7157, allocations: 7.334 MB / 411.4 MB, free: 212 kB / 302.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002803/0.716, allocations: 166.3 kB / 411.6 MB, free: 15.95 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.061/2.777, allocations: 0 / 411.6 MB, free: 15.95 MB / 318.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)