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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001284/0.001284, allocations: 99.64 kB / 18.95 MB, free: 2.668 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001412/0.001412, allocations: 211 kB / 22.24 MB, free: 5.262 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.367/1.367, allocations: 207.7 MB / 233.1 MB, free: 9.781 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/MEV 1.1.1/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/MEV 1.1.1/package.mo): time 0.008827/0.008827, allocations: 1.962 MB / 287.3 MB, free: 3.668 MB / 222.1 MB " [Timeout remaining time 180] 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.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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"}) [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.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.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002164/0.002164, allocations: 74.77 kB / 401.8 MB, free: 50.77 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07904/0.0812, allocations: 49.69 MB / 451.5 MB, free: 6.09 MB / 318.1 MB Notification: Performance of NFInst.instantiate(MEV.Test.TestBellJarLinearControl): time 0.003542/0.08474, allocations: 3.395 MB / 454.9 MB, free: 2.672 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.00126/0.08601, allocations: 0.8732 MB / 455.7 MB, free: 1.793 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001793/0.08618, allocations: 8 kB / 455.7 MB, free: 1.785 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001564/0.08634, allocations: 71.28 kB / 455.8 MB, free: 1.715 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002244/0.08657, allocations: 158.7 kB / 456 MB, free: 1.559 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002997/0.08686, allocations: 131.8 kB / 456.1 MB, free: 1.43 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003716/0.08724, allocations: 0.5484 MB / 456.6 MB, free: 0.8789 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001951/0.08743, allocations: 118.3 kB / 456.8 MB, free: 0.7578 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001622/0.08759, allocations: 211.2 kB / 457 MB, free: 0.5508 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001761/0.08777, allocations: 195 kB / 457.2 MB, free: 368 kB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 4.995e-05/0.08782, allocations: 48 kB / 457.2 MB, free: 320 kB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.425e-05/0.08791, allocations: 56 kB / 457.3 MB, free: 264 kB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 5.794e-05/0.08797, allocations: 99.61 kB / 457.4 MB, free: 164 kB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001526/0.08812, allocations: 191.2 kB / 457.5 MB, free: 15.97 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006104/0.08873, allocations: 0.5251 MB / 458.1 MB, free: 15.44 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.188e-06/0.08874, allocations: 0 / 458.1 MB, free: 15.44 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.543e-06/0.08874, allocations: 4 kB / 458.1 MB, free: 15.44 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.093e-05/0.08875, allocations: 0 / 458.1 MB, free: 15.44 MB / 334.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.001379/0.09013, allocations: 0.6912 MB / 458.8 MB, free: 14.71 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.563e-05/0.09018, allocations: 15.98 kB / 458.8 MB, free: 14.69 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.198e-05/0.09027, allocations: 74.72 kB / 458.9 MB, free: 14.61 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.992e-05/0.09036, allocations: 52.61 kB / 458.9 MB, free: 14.56 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005176/0.09088, allocations: 286.2 kB / 459.2 MB, free: 14.25 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.389e-05/0.09091, allocations: 29.38 kB / 459.2 MB, free: 14.23 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.292e-05/0.09099, allocations: 43.92 kB / 459.3 MB, free: 14.18 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006763/0.09167, allocations: 373.9 kB / 459.6 MB, free: 13.8 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.879e-05/0.09169, allocations: 4 kB / 459.6 MB, free: 13.8 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.364e-05/0.09172, allocations: 12 kB / 459.6 MB, free: 13.79 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.212e-05/0.09173, allocations: 15.98 kB / 459.7 MB, free: 13.77 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005951/0.09233, allocations: 251.9 kB / 459.9 MB, free: 13.52 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001916/0.09424, allocations: 0.9845 MB / 460.9 MB, free: 12.49 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006223/0.09487, allocations: 263.1 kB / 461.1 MB, free: 12.22 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002671/0.09513, allocations: 110.9 kB / 461.2 MB, free: 12.11 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.326e-05/0.09517, allocations: 8.234 kB / 461.3 MB, free: 12.11 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004221/0.09559, allocations: 218.9 kB / 461.5 MB, free: 11.87 MB / 334.1 MB Notification: Performance of pre-optimization done (n=29): time 2.435e-06/0.09559, allocations: 0 / 461.5 MB, free: 11.87 MB / 334.1 MB Notification: Performance of matching and sorting (n=34): time 0.002534/0.09813, allocations: 1.078 MB / 462.5 MB, free: 10.74 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.774e-05/0.09817, allocations: 55.41 kB / 462.6 MB, free: 10.67 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004135/0.09859, allocations: 349.5 kB / 462.9 MB, free: 10.32 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 8.305e-05/0.09867, allocations: 37.64 kB / 463 MB, free: 10.28 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000184/0.09885, allocations: 220.7 kB / 463.2 MB, free: 10.06 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001025/0.09896, allocations: 119 kB / 463.3 MB, free: 9.941 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001251/0.09908, allocations: 82.02 kB / 463.4 MB, free: 9.852 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001824/0.09926, allocations: 342.8 kB / 463.7 MB, free: 9.508 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003002/0.09956, allocations: 144.1 kB / 463.9 MB, free: 9.355 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003316/0.0999, allocations: 188.4 kB / 464.1 MB, free: 9.152 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005843/0.1005, allocations: 285 kB / 464.3 MB, free: 8.855 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.543e-06/0.1005, allocations: 0 / 464.3 MB, free: 8.855 MB / 334.1 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.00079/0.1013, allocations: 432.5 kB / 464.8 MB, free: 8.414 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.895e-05/0.1013, allocations: 37.7 kB / 464.8 MB, free: 8.371 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.603e-06/0.1013, allocations: 3.938 kB / 464.8 MB, free: 8.367 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.733e-05/0.1013, allocations: 0 / 464.8 MB, free: 8.367 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003966/0.1017, allocations: 83.89 kB / 464.9 MB, free: 8.285 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.309e-05/0.1018, allocations: 7.875 kB / 464.9 MB, free: 8.277 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002307/0.102, allocations: 19.98 kB / 464.9 MB, free: 8.258 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.977e-05/0.102, allocations: 19.98 kB / 464.9 MB, free: 8.238 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0004094/0.1024, allocations: 254.7 kB / 465.2 MB, free: 7.98 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002961/0.1027, allocations: 176.4 kB / 465.3 MB, free: 7.793 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0005204/0.1032, allocations: 285.3 kB / 465.6 MB, free: 7.496 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.553e-06/0.1032, allocations: 0 / 465.6 MB, free: 7.496 MB / 334.1 MB Notification: Performance of matching and sorting (n=47) (initialization_lambda0): time 0.0007308/0.104, allocations: 420.6 kB / 466 MB, free: 7.066 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.869e-05/0.104, allocations: 33.69 kB / 466.1 MB, free: 7.027 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.849e-06/0.104, allocations: 4 kB / 466.1 MB, free: 7.023 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.726e-06/0.104, allocations: 3.938 kB / 466.1 MB, free: 7.02 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003399/0.1043, allocations: 83.89 kB / 466.2 MB, free: 6.938 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.74e-06/0.1044, allocations: 4 kB / 466.2 MB, free: 6.934 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002179/0.1046, allocations: 23.92 kB / 466.2 MB, free: 6.91 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.172e-05/0.1046, allocations: 12.03 kB / 466.2 MB, free: 6.898 MB / 334.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.0001696/0.1048, allocations: 212.1 kB / 466.4 MB, free: 6.684 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.441e-05/0.1048, allocations: 35.77 kB / 466.4 MB, free: 6.648 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006998/0.1055, allocations: 325.3 kB / 466.8 MB, free: 6.324 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.422e-06/0.1055, allocations: 4 kB / 466.8 MB, free: 6.32 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.043e-06/0.1055, allocations: 3.938 kB / 466.8 MB, free: 6.316 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.57e-06/0.1055, allocations: 0 / 466.8 MB, free: 6.316 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00139/0.1069, allocations: 0.8058 MB / 467.6 MB, free: 5.449 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.595e-06/0.1069, allocations: 0 / 467.6 MB, free: 5.449 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003799/0.1073, allocations: 75.89 kB / 467.6 MB, free: 5.375 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.724e-06/0.1073, allocations: 4 kB / 467.6 MB, free: 5.371 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.851e-05/0.1073, allocations: 12 kB / 467.7 MB, free: 5.359 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.455e-06/0.1073, allocations: 0 / 467.7 MB, free: 5.359 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.566e-06/0.1074, allocations: 4 kB / 467.7 MB, free: 5.355 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001028/0.1084, allocations: 0.5663 MB / 468.2 MB, free: 4.758 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000156/0.1085, allocations: 71.75 kB / 468.3 MB, free: 4.688 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.414e-05/0.1086, allocations: 8 kB / 468.3 MB, free: 4.68 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002504/0.1088, allocations: 23.97 kB / 468.3 MB, free: 4.656 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.733e-05/0.1089, allocations: 27.95 kB / 468.4 MB, free: 4.629 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.192e-05/0.109, allocations: 8 kB / 468.4 MB, free: 4.621 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0002861/0.1092, allocations: 243.2 kB / 468.6 MB, free: 4.387 MB / 334.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1092, allocations: 4 kB / 468.6 MB, free: 4.383 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0005229/0.1098, allocations: 152 kB / 468.8 MB, free: 4.234 MB / 334.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.001362/0.1111, allocations: 1.118 MB / 469.9 MB, free: 3.078 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.001042/0.1122, allocations: 0.5842 MB / 470.5 MB, free: 2.457 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.575e-06/0.1122, allocations: 0 / 470.5 MB, free: 2.457 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003166/0.1125, allocations: 135.8 kB / 470.6 MB, free: 2.324 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005187/0.113, allocations: 61.39 kB / 470.6 MB, free: 2.266 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005756/0.1188, allocations: 3.859 MB / 474.5 MB, free: 14.24 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002174/0.119, allocations: 200.2 kB / 474.7 MB, free: 14.03 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0002047/0.1192, allocations: 50.94 kB / 474.8 MB, free: 13.98 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000209/0.1194, allocations: 127.4 kB / 474.9 MB, free: 13.86 MB / 350.1 MB Notification: Performance of SimCode: time 5.91e-07/0.1194, allocations: 0 / 474.9 MB, free: 13.86 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03738/0.1568, allocations: 8.864 MB / 483.7 MB, free: 4.926 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.75/10.91, allocations: 7.953 kB / 483.7 MB, free: 4.918 MB / 350.1 MB " [Timeout remaining time 649] (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 --stepSize=0.2 --timeout=50 --tolerance=1e-06 MEV_MEV_Test_TestBellJarLinearControl.fmu > MEV_MEV.Test.TestBellJarLinearControl.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 13.408230938017368] Failed to read output from testmodel.py, exit status != 0: 11.012772728689015 11.028587288 10.936686562 Calling exit ...