Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr MEV_MEV.Test.TestSupplyValve.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: translateModel(MEV.Test.TestSupplyValve,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="MEV_MEV.Test.TestSupplyValve") translateModel(MEV.Test.TestSupplyValve,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="MEV_MEV.Test.TestSupplyValve") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001014/0.001014, allocations: 84.38 kB / 15.06 MB, free: 1.09 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.001166/0.001166, allocations: 168.7 kB / 15.95 MB, free: 204 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.864/1.864, allocations: 205.4 MB / 222.1 MB, free: 5.641 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/MEV 1.1.1/package.mo): time 0.01389/0.01389, allocations: 1.928 MB / 272.3 MB, free: 3.379 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.000604/0.0006041, allocations: 12 kB / 330.9 MB, free: 33.35 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1142/0.1148, allocations: 48.1 MB / 379 MB, free: 1.195 MB / 270.1 MB Notification: Performance of NFInst.instantiate(MEV.Test.TestSupplyValve): time 0.002478/0.1173, allocations: 1.858 MB / 380.8 MB, free: 15.32 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009687/0.1183, allocations: 0.5819 MB / 381.4 MB, free: 14.73 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.534e-05/0.1184, allocations: 0 / 381.4 MB, free: 14.73 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 4.742e-05/0.1184, allocations: 23.83 kB / 381.4 MB, free: 14.71 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001687/0.1186, allocations: 63.47 kB / 381.5 MB, free: 14.64 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002085/0.1188, allocations: 27.97 kB / 381.5 MB, free: 14.62 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001873/0.119, allocations: 127.3 kB / 381.7 MB, free: 14.49 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001366/0.1192, allocations: 32.81 kB / 381.7 MB, free: 14.46 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.845e-05/0.1193, allocations: 39.8 kB / 381.7 MB, free: 14.42 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000156/0.1194, allocations: 43.78 kB / 381.8 MB, free: 14.38 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 2.85e-05/0.1195, allocations: 8 kB / 381.8 MB, free: 14.37 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.716e-05/0.1196, allocations: 16 kB / 381.8 MB, free: 14.36 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 2.444e-05/0.1196, allocations: 11.92 kB / 381.8 MB, free: 14.34 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 6.747e-05/0.1197, allocations: 49.64 kB / 381.9 MB, free: 14.29 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001661/0.1199, allocations: 79.8 kB / 381.9 MB, free: 14.21 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.165e-06/0.1199, allocations: 4 kB / 381.9 MB, free: 14.21 MB / 286.1 MB Notification: Performance of FrontEnd: time 2.334e-06/0.1199, allocations: 0 / 381.9 MB, free: 14.21 MB / 286.1 MB Notification: Performance of Transformations before backend: time 4.919e-06/0.1199, allocations: 0 / 381.9 MB, free: 14.21 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: 18 * Number of variables: 18 Notification: Performance of Generate backend data structure: time 0.0005919/0.1205, allocations: 404.5 kB / 382.3 MB, free: 13.77 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.259e-05/0.1206, allocations: 12.03 kB / 382.3 MB, free: 13.75 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.194e-05/0.1206, allocations: 7.906 kB / 382.4 MB, free: 13.75 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002121/0.1208, allocations: 201.2 kB / 382.6 MB, free: 13.51 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.787e-05/0.1209, allocations: 11.95 kB / 382.6 MB, free: 13.5 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.062e-05/0.1209, allocations: 7.984 kB / 382.6 MB, free: 13.49 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002041/0.1211, allocations: 85.67 kB / 382.7 MB, free: 13.4 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.495e-06/0.1211, allocations: 0 / 382.7 MB, free: 13.4 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.66e-05/0.1211, allocations: 7.984 kB / 382.7 MB, free: 13.39 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.45e-06/0.1211, allocations: 0 / 382.7 MB, free: 13.39 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001437/0.1213, allocations: 70.38 kB / 382.7 MB, free: 13.33 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005882/0.1219, allocations: 384.4 kB / 383.1 MB, free: 12.9 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004338/0.1223, allocations: 74.47 kB / 383.2 MB, free: 12.82 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.792e-05/0.1224, allocations: 16.86 kB / 383.2 MB, free: 12.8 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.202e-05/0.1224, allocations: 4 kB / 383.2 MB, free: 12.8 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.185e-05/0.1225, allocations: 30.56 kB / 383.2 MB, free: 12.76 MB / 286.1 MB Notification: Performance of pre-optimization done (n=4): time 1.252e-06/0.1225, allocations: 0 / 383.2 MB, free: 12.76 MB / 286.1 MB Notification: Performance of matching and sorting (n=4): time 0.0003081/0.1228, allocations: 101.7 kB / 383.3 MB, free: 12.65 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.113e-05/0.1229, allocations: 63.34 kB / 383.4 MB, free: 12.58 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001868/0.1231, allocations: 182.6 kB / 383.6 MB, free: 12.39 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 1.385e-05/0.1231, allocations: 29.64 kB / 383.6 MB, free: 12.35 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.19e-05/0.1232, allocations: 104 kB / 383.7 MB, free: 12.25 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.861e-05/0.1232, allocations: 19.75 kB / 383.7 MB, free: 12.23 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.42e-06/0.1232, allocations: 0 / 383.7 MB, free: 12.23 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001255/0.1233, allocations: 322.8 kB / 384 MB, free: 11.9 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.614e-05/0.1234, allocations: 16 kB / 384.1 MB, free: 11.89 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.507e-05/0.1235, allocations: 19.98 kB / 384.1 MB, free: 11.87 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.946e-05/0.1235, allocations: 23.98 kB / 384.1 MB, free: 11.84 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.014e-06/0.1236, allocations: 0 / 384.1 MB, free: 11.84 MB / 286.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001495/0.1237, allocations: 89.59 kB / 384.2 MB, free: 11.75 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.46e-05/0.1238, allocations: 92.95 kB / 384.3 MB, free: 11.65 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.845e-06/0.1238, allocations: 3.984 kB / 384.3 MB, free: 11.65 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.498e-05/0.1238, allocations: 0 / 384.3 MB, free: 11.65 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.839e-05/0.1239, allocations: 15.94 kB / 384.3 MB, free: 11.63 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.542e-06/0.1239, allocations: 0 / 384.3 MB, free: 11.63 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.757e-05/0.124, allocations: 7.906 kB / 384.3 MB, free: 11.62 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.245e-06/0.124, allocations: 7.984 kB / 384.3 MB, free: 11.62 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.989e-06/0.124, allocations: 4 kB / 384.3 MB, free: 11.61 MB / 286.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0001073/0.1241, allocations: 52.17 kB / 384.4 MB, free: 11.56 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.072e-06/0.1241, allocations: 0 / 384.4 MB, free: 11.56 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.035e-06/0.1241, allocations: 4 kB / 384.4 MB, free: 11.56 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.958e-05/0.1242, allocations: 8 kB / 384.4 MB, free: 11.55 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.869e-06/0.1242, allocations: 7.938 kB / 384.4 MB, free: 11.54 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.381e-05/0.1243, allocations: 7.938 kB / 384.4 MB, free: 11.54 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.775e-06/0.1243, allocations: 4 kB / 384.4 MB, free: 11.53 MB / 286.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * 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 (6): * Single equations (assignments): 6 * 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.0001287/0.1244, allocations: 197.1 kB / 384.6 MB, free: 11.33 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.105e-05/0.1244, allocations: 11.81 kB / 384.6 MB, free: 11.32 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000191/0.1246, allocations: 86.53 kB / 384.7 MB, free: 11.22 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.255e-06/0.1247, allocations: 4 kB / 384.7 MB, free: 11.22 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.652e-06/0.1247, allocations: 4.188 kB / 384.7 MB, free: 11.21 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.258e-06/0.1247, allocations: 4 kB / 384.7 MB, free: 11.21 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003824/0.1251, allocations: 359.3 kB / 385 MB, free: 10.8 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.453e-06/0.1251, allocations: 0 / 385 MB, free: 10.8 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.613e-05/0.1251, allocations: 8 kB / 385.1 MB, free: 10.79 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.354e-06/0.1251, allocations: 0 / 385.1 MB, free: 10.79 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.116e-05/0.1252, allocations: 3.953 kB / 385.1 MB, free: 10.79 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.282e-06/0.1252, allocations: 4 kB / 385.1 MB, free: 10.79 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.605e-06/0.1252, allocations: 8.016 kB / 385.1 MB, free: 10.78 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000185/0.1254, allocations: 176.2 kB / 385.2 MB, free: 10.59 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.817e-05/0.1255, allocations: 101 kB / 385.3 MB, free: 10.47 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.19e-05/0.1255, allocations: 0 / 385.3 MB, free: 10.47 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.155e-05/0.1256, allocations: 11.95 kB / 385.4 MB, free: 10.46 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.976e-05/0.1256, allocations: 3.938 kB / 385.4 MB, free: 10.45 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.086e-06/0.1256, allocations: 0 / 385.4 MB, free: 10.45 MB / 286.1 MB Notification: Performance of sorting global known variables: time 0.0001187/0.1258, allocations: 144 kB / 385.5 MB, free: 10.31 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.1258, allocations: 0 / 385.5 MB, free: 10.31 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0003106/0.1261, allocations: 39.91 kB / 385.5 MB, free: 10.27 MB / 286.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 simulation (4): * Single equations (assignments): 4 * 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.0001377/0.1262, allocations: 91.25 kB / 385.6 MB, free: 10.18 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0002289/0.1265, allocations: 75.89 kB / 385.7 MB, free: 10.1 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 2.345e-06/0.1265, allocations: 0 / 385.7 MB, free: 10.1 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 5.116e-05/0.1265, allocations: 23.94 kB / 385.7 MB, free: 10.08 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003611/0.1269, allocations: 16.11 kB / 385.7 MB, free: 10.06 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006152/0.1275, allocations: 308.5 kB / 386 MB, free: 9.734 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004578/0.128, allocations: 0.7081 MB / 386.7 MB, free: 9 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 4.941e-05/0.1281, allocations: 12.73 kB / 386.8 MB, free: 8.988 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.658e-05/0.1281, allocations: 11.44 kB / 386.8 MB, free: 8.977 MB / 286.1 MB Notification: Performance of SimCode: time 2.2e-07/0.1281, allocations: 0 / 386.8 MB, free: 8.977 MB / 286.1 MB Notification: Performance of Templates: time 0.003517/0.1316, allocations: 0.9239 MB / 387.7 MB, free: 8.055 MB / 286.1 MB make -j1 -f MEV_MEV.Test.TestSupplyValve.makefile Environment - environmentSimulation: (rm -f MEV_MEV.Test.TestSupplyValve.pipe ; mkfifo MEV_MEV.Test.TestSupplyValve.pipe ; head -c 1048576 < MEV_MEV.Test.TestSupplyValve.pipe >> ../files/MEV_MEV.Test.TestSupplyValve.sim & ./MEV_MEV.Test.TestSupplyValve -abortSlowSimulation -alarm=480 -lv LOG_STATS > MEV_MEV.Test.TestSupplyValve.pipe 2>&1) Environment - environmentSimulation: