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-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.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.0007329/0.0007329, allocations: 91.77 kB / 15.06 MB, free: 1.098 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.0007406/0.0007405, allocations: 172.7 kB / 15.95 MB, free: 208 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.174/1.174, allocations: 205.4 MB / 222.1 MB, free: 5.625 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/MEV 1.1.1-master/package.mo): time 0.006959/0.006959, allocations: 1.92 MB / 272.3 MB, free: 3.367 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.000454/0.000454, allocations: 16 kB / 331 MB, free: 33.23 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06511/0.06557, allocations: 48.09 MB / 379.1 MB, free: 1.086 MB / 270.1 MB Notification: Performance of NFInst.instantiate(MEV.Test.TestBellJarLinearControl): time 0.003272/0.06888, allocations: 3.697 MB / 382.8 MB, free: 13.37 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.001275/0.07017, allocations: 0.936 MB / 383.7 MB, free: 12.43 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001659/0.07035, allocations: 8 kB / 383.7 MB, free: 12.42 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001354/0.07049, allocations: 63.45 kB / 383.8 MB, free: 12.36 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002682/0.07076, allocations: 182.5 kB / 384 MB, free: 12.18 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002405/0.07101, allocations: 83.89 kB / 384 MB, free: 12.09 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003887/0.07141, allocations: 0.5016 MB / 384.5 MB, free: 11.59 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002143/0.07163, allocations: 136.2 kB / 384.7 MB, free: 11.45 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001584/0.0718, allocations: 167.2 kB / 384.8 MB, free: 11.28 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001845/0.07199, allocations: 183.1 kB / 385 MB, free: 11.1 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 3.695e-05/0.07203, allocations: 20 kB / 385 MB, free: 11.08 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.349e-05/0.07211, allocations: 20 kB / 385.1 MB, free: 11.06 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 5.669e-05/0.07218, allocations: 75.61 kB / 385.1 MB, free: 10.99 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 8.426e-05/0.07227, allocations: 105.5 kB / 385.2 MB, free: 10.88 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002886/0.07256, allocations: 371 kB / 385.6 MB, free: 10.52 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.509e-06/0.07257, allocations: 0 / 385.6 MB, free: 10.52 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.603e-06/0.07258, allocations: 0 / 385.6 MB, free: 10.52 MB / 286.1 MB Notification: Performance of Transformations before backend: time 5.61e-06/0.07259, allocations: 0 / 385.6 MB, free: 10.52 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.0009995/0.0736, allocations: 0.6966 MB / 386.3 MB, free: 9.766 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.327e-05/0.07364, allocations: 12.03 kB / 386.3 MB, free: 9.754 MB / 286.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.887e-05/0.07371, allocations: 78.53 kB / 386.4 MB, free: 9.668 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.747e-05/0.07379, allocations: 47.44 kB / 386.4 MB, free: 9.621 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000331/0.07412, allocations: 322.2 kB / 386.7 MB, free: 9.266 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.542e-05/0.07416, allocations: 29 kB / 386.8 MB, free: 9.238 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.37e-05/0.07422, allocations: 39.91 kB / 386.8 MB, free: 9.199 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005587/0.07478, allocations: 330.5 kB / 387.1 MB, free: 8.871 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.535e-05/0.07481, allocations: 3.938 kB / 387.1 MB, free: 8.867 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.955e-05/0.07484, allocations: 16 kB / 387.2 MB, free: 8.852 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.746e-06/0.07486, allocations: 8 kB / 387.2 MB, free: 8.844 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004979/0.07536, allocations: 271.8 kB / 387.4 MB, free: 8.578 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001505/0.07688, allocations: 1.124 MB / 388.6 MB, free: 7.398 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004911/0.07738, allocations: 287.4 kB / 388.8 MB, free: 7.109 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002168/0.07761, allocations: 117.3 kB / 388.9 MB, free: 6.992 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.614e-05/0.07764, allocations: 8.234 kB / 389 MB, free: 6.984 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003518/0.078, allocations: 175.7 kB / 389.1 MB, free: 6.801 MB / 286.1 MB Notification: Performance of pre-optimization done (n=29): time 1.603e-06/0.07802, allocations: 3.938 kB / 389.1 MB, free: 6.797 MB / 286.1 MB Notification: Performance of matching and sorting (n=34): time 0.00205/0.08007, allocations: 1.247 MB / 390.4 MB, free: 5.461 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.617e-05/0.08012, allocations: 59.41 kB / 390.4 MB, free: 5.391 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002942/0.08042, allocations: 345.5 kB / 390.8 MB, free: 5.047 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 2.61e-05/0.08045, allocations: 37.7 kB / 390.8 MB, free: 5.004 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001171/0.08058, allocations: 208.5 kB / 391 MB, free: 4.797 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.477e-05/0.08066, allocations: 114.3 kB / 391.1 MB, free: 4.684 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.947e-05/0.08068, allocations: 12 kB / 391.1 MB, free: 4.672 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001009/0.08079, allocations: 346.8 kB / 391.5 MB, free: 4.324 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002243/0.08102, allocations: 116.8 kB / 391.6 MB, free: 4.211 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002443/0.08127, allocations: 154.7 kB / 391.7 MB, free: 4.047 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002486/0.08153, allocations: 157.6 kB / 391.9 MB, free: 3.887 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.273e-06/0.08154, allocations: 0 / 391.9 MB, free: 3.887 MB / 286.1 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0006191/0.08216, allocations: 398.8 kB / 392.3 MB, free: 3.484 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.004e-05/0.08224, allocations: 141.7 kB / 392.4 MB, free: 3.324 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.28e-06/0.08226, allocations: 0 / 392.4 MB, free: 3.324 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.499e-05/0.08228, allocations: 4 kB / 392.4 MB, free: 3.32 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003447/0.08263, allocations: 87.89 kB / 392.5 MB, free: 3.234 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.304e-06/0.08264, allocations: 7.953 kB / 392.5 MB, free: 3.227 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001968/0.08285, allocations: 19.98 kB / 392.5 MB, free: 3.207 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.507e-05/0.08288, allocations: 12 kB / 392.6 MB, free: 3.195 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.71e-06/0.08289, allocations: 4 kB / 392.6 MB, free: 3.191 MB / 286.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0005624/0.08346, allocations: 361.4 kB / 392.9 MB, free: 2.832 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.164e-06/0.08347, allocations: 0 / 392.9 MB, free: 2.832 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.378e-06/0.08348, allocations: 4 kB / 392.9 MB, free: 2.828 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002997/0.08379, allocations: 79.89 kB / 393 MB, free: 2.75 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.14e-06/0.0838, allocations: 4 kB / 393 MB, free: 2.746 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001837/0.08399, allocations: 23.98 kB / 393 MB, free: 2.723 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.051e-05/0.08402, allocations: 15.98 kB / 393 MB, free: 2.707 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 ($whenCondition1,$PRE.opening.T_start,opening.T_start,$PRE.opening.count,opening.count) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001662/0.08419, allocations: 248.9 kB / 393.3 MB, free: 2.453 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.478e-05/0.08424, allocations: 39.53 kB / 393.3 MB, free: 2.414 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005684/0.08481, allocations: 329.3 kB / 393.6 MB, free: 2.086 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.926e-06/0.08483, allocations: 4 kB / 393.6 MB, free: 2.082 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.877e-06/0.08484, allocations: 4 kB / 393.6 MB, free: 2.078 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.192e-06/0.08485, allocations: 3.984 kB / 393.6 MB, free: 2.074 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001068/0.08592, allocations: 0.8959 MB / 394.5 MB, free: 1.109 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.557e-06/0.08594, allocations: 7.922 kB / 394.6 MB, free: 1.102 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003384/0.08629, allocations: 75.89 kB / 394.6 MB, free: 1.027 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.649e-06/0.0863, allocations: 4 kB / 394.6 MB, free: 1.023 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.021e-05/0.08633, allocations: 8 kB / 394.6 MB, free: 1.016 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.364e-06/0.08634, allocations: 4.125 kB / 394.6 MB, free: 1.012 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.045e-06/0.08634, allocations: 4 kB / 394.6 MB, free: 1.008 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007741/0.08712, allocations: 0.5732 MB / 395.2 MB, free: 412 kB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001228/0.08726, allocations: 144.7 kB / 395.4 MB, free: 248 kB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.755e-05/0.08731, allocations: 8 kB / 395.4 MB, free: 240 kB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002211/0.08754, allocations: 31.97 kB / 395.4 MB, free: 208 kB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.829e-05/0.08761, allocations: 31.91 kB / 395.4 MB, free: 176 kB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.112e-05/0.08764, allocations: 12 kB / 395.4 MB, free: 164 kB / 286.1 MB Notification: Performance of sorting global known variables: time 0.0002146/0.08786, allocations: 239.2 kB / 395.7 MB, free: 15.93 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.08787, allocations: 0 / 395.7 MB, free: 15.93 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0004532/0.08833, allocations: 156 kB / 395.8 MB, free: 15.77 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 (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.001027/0.08936, allocations: 1.118 MB / 396.9 MB, free: 14.61 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0008556/0.09023, allocations: 0.5503 MB / 397.5 MB, free: 14.04 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.595e-06/0.09024, allocations: 0 / 397.5 MB, free: 14.04 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002615/0.09051, allocations: 156.4 kB / 397.7 MB, free: 13.89 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004557/0.09097, allocations: 65.36 kB / 397.7 MB, free: 13.82 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003157/0.09414, allocations: 2.468 MB / 400.2 MB, free: 11.28 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002687/0.09442, allocations: 0.8079 MB / 401 MB, free: 10.45 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0001875/0.09462, allocations: 46.92 kB / 401 MB, free: 10.4 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001665/0.09479, allocations: 127.4 kB / 401.2 MB, free: 10.28 MB / 302.1 MB Notification: Performance of SimCode: time 3.4e-07/0.0948, allocations: 8 kB / 401.2 MB, free: 10.27 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01668/0.1115, allocations: 7.176 MB / 408.3 MB, free: 3.098 MB / 302.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001422/0.1117, allocations: 163.2 kB / 408.5 MB, free: 2.844 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.55/1.662, allocations: 0 / 408.5 MB, free: 2.844 MB / 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/linux/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) Environment - environmentSimulation: