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.001079/0.001079, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001135/0.001135, allocations: 189 kB / 16.13 MB, free: 6.652 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.267/1.267, allocations: 205.1 MB / 222 MB, free: 4.746 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/MEV 1.1.1/package.mo): time 0.008106/0.008106, allocations: 1.931 MB / 271.3 MB, free: 3.523 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.001242/0.001242, allocations: 67.89 kB / 329.1 MB, free: 33.25 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08621/0.08747, allocations: 47.14 MB / 376.3 MB, free: 2.082 MB / 270.1 MB Notification: Performance of NFInst.instantiate(MEV.Test.TestSupplyValve): time 0.003164/0.09068, allocations: 2.267 MB / 378.6 MB, free: 15.79 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009819/0.09169, allocations: 0.6089 MB / 379.2 MB, free: 15.18 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.361e-05/0.09176, allocations: 0 / 379.2 MB, free: 15.18 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 6.728e-05/0.09183, allocations: 11.91 kB / 379.2 MB, free: 15.16 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001132/0.09198, allocations: 43.7 kB / 379.2 MB, free: 15.12 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001772/0.09216, allocations: 27.91 kB / 379.2 MB, free: 15.09 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001461/0.09232, allocations: 131.3 kB / 379.4 MB, free: 14.96 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001612/0.09248, allocations: 32.81 kB / 379.4 MB, free: 14.93 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.269e-05/0.09256, allocations: 51.73 kB / 379.5 MB, free: 14.88 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.829e-05/0.09265, allocations: 47.78 kB / 379.5 MB, free: 14.84 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 1.901e-05/0.09267, allocations: 4 kB / 379.5 MB, free: 14.83 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.12e-05/0.09274, allocations: 12 kB / 379.5 MB, free: 14.82 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 2.488e-05/0.09277, allocations: 19.86 kB / 379.5 MB, free: 14.8 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 6.137e-05/0.09284, allocations: 59.67 kB / 379.6 MB, free: 14.74 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001692/0.09301, allocations: 119.5 kB / 379.7 MB, free: 14.62 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.3e-06/0.09303, allocations: 0 / 379.7 MB, free: 14.62 MB / 286.1 MB Notification: Performance of FrontEnd: time 8.11e-07/0.09304, allocations: 0 / 379.7 MB, free: 14.62 MB / 286.1 MB Notification: Performance of Transformations before backend: time 6.182e-06/0.09305, allocations: 0 / 379.7 MB, free: 14.62 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.0006305/0.09368, allocations: 423 kB / 380.1 MB, free: 14.16 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.416e-05/0.09374, allocations: 8.031 kB / 380.1 MB, free: 14.16 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.378e-05/0.09379, allocations: 16.75 kB / 380.1 MB, free: 14.14 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000172/0.09396, allocations: 200 kB / 380.3 MB, free: 13.91 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.309e-05/0.09398, allocations: 8.375 kB / 380.4 MB, free: 13.9 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.715e-05/0.09401, allocations: 12.36 kB / 380.4 MB, free: 13.89 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001884/0.0942, allocations: 93.91 kB / 380.5 MB, free: 13.79 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.807e-06/0.09422, allocations: 0 / 380.5 MB, free: 13.79 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.48e-05/0.09424, allocations: 8 kB / 380.5 MB, free: 13.78 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.103e-06/0.09425, allocations: 4 kB / 380.5 MB, free: 13.78 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001403/0.0944, allocations: 51.97 kB / 380.5 MB, free: 13.73 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000612/0.09502, allocations: 392.3 kB / 380.9 MB, free: 13.29 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004644/0.0955, allocations: 66.53 kB / 381 MB, free: 13.22 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.781e-05/0.09557, allocations: 20.86 kB / 381 MB, free: 13.2 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.673e-05/0.09559, allocations: 0 / 381 MB, free: 13.2 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.168e-05/0.09562, allocations: 34.64 kB / 381 MB, free: 13.15 MB / 286.1 MB Notification: Performance of pre-optimization done (n=4): time 2.214e-06/0.09563, allocations: 0 / 381 MB, free: 13.15 MB / 286.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002832/0.09591, allocations: 89.61 kB / 381.1 MB, free: 13.06 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.813e-05/0.09596, allocations: 59.41 kB / 381.2 MB, free: 12.99 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001471/0.09612, allocations: 186.6 kB / 381.3 MB, free: 12.8 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 1.284e-05/0.09614, allocations: 25.7 kB / 381.4 MB, free: 12.77 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.737e-05/0.09621, allocations: 104 kB / 381.5 MB, free: 12.66 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.687e-05/0.09623, allocations: 19.75 kB / 381.5 MB, free: 12.64 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.771e-05/0.09628, allocations: 17.72 kB / 381.5 MB, free: 12.62 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001113/0.09639, allocations: 322.8 kB / 381.8 MB, free: 12.29 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.292e-05/0.09646, allocations: 28.78 kB / 381.9 MB, free: 12.26 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.195e-05/0.09652, allocations: 23.98 kB / 381.9 MB, free: 12.24 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001046/0.09663, allocations: 44.78 kB / 381.9 MB, free: 12.19 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.483e-06/0.09664, allocations: 0 / 381.9 MB, free: 12.19 MB / 286.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002058/0.09685, allocations: 89.58 kB / 382 MB, free: 12.1 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.833e-05/0.09689, allocations: 4 kB / 382 MB, free: 12.09 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.831e-06/0.0969, allocations: 3.938 kB / 382 MB, free: 12.09 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.12e-05/0.09692, allocations: 0 / 382 MB, free: 12.09 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001062/0.09703, allocations: 12 kB / 382 MB, free: 12.08 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.024e-06/0.09705, allocations: 4 kB / 382 MB, free: 12.07 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.565e-05/0.09712, allocations: 7.891 kB / 382 MB, free: 12.07 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.979e-06/0.09714, allocations: 8 kB / 382 MB, free: 12.06 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 9.505e-05/0.09724, allocations: 104.1 kB / 382.1 MB, free: 11.95 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 3.906e-05/0.09729, allocations: 19.88 kB / 382.2 MB, free: 11.93 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 9.711e-05/0.09739, allocations: 45.16 kB / 382.2 MB, free: 11.89 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 9.02e-07/0.0974, allocations: 0 / 382.2 MB, free: 11.89 MB / 286.1 MB Notification: Performance of matching and sorting (n=6) (initialization_lambda0): time 0.000138/0.09755, allocations: 81.58 kB / 382.3 MB, free: 11.8 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.646e-06/0.09756, allocations: 11.12 kB / 382.3 MB, free: 11.79 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.051e-06/0.09757, allocations: 0 / 382.3 MB, free: 11.79 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.056e-06/0.09758, allocations: 3.938 kB / 382.3 MB, free: 11.79 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.657e-05/0.09764, allocations: 8 kB / 382.3 MB, free: 11.78 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.363e-06/0.09765, allocations: 0 / 382.3 MB, free: 11.78 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.283e-05/0.09771, allocations: 7.984 kB / 382.3 MB, free: 11.77 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.002e-06/0.09772, allocations: 4 kB / 382.3 MB, free: 11.77 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.727e-05/0.09782, allocations: 189.1 kB / 382.5 MB, free: 11.58 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.222e-05/0.09786, allocations: 11.81 kB / 382.5 MB, free: 11.57 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000186/0.09805, allocations: 86.47 kB / 382.6 MB, free: 11.47 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.325e-06/0.09806, allocations: 0 / 382.6 MB, free: 11.47 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.359e-06/0.09807, allocations: 0 / 382.6 MB, free: 11.47 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.665e-06/0.09808, allocations: 0 / 382.6 MB, free: 11.47 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003684/0.09845, allocations: 351.3 kB / 382.9 MB, free: 11.07 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.633e-06/0.09847, allocations: 4.031 kB / 383 MB, free: 11.07 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.345e-05/0.09852, allocations: 12.28 kB / 383 MB, free: 11.05 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.754e-06/0.09853, allocations: 0 / 383 MB, free: 11.05 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.033e-06/0.09855, allocations: 0 / 383 MB, free: 11.05 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.256e-06/0.09856, allocations: 4 kB / 383 MB, free: 11.05 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.09856, allocations: 3.938 kB / 383 MB, free: 11.05 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001877/0.09875, allocations: 180.1 kB / 383.1 MB, free: 10.85 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.98e-05/0.09884, allocations: 101 kB / 383.2 MB, free: 10.73 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.382e-05/0.09887, allocations: 0 / 383.2 MB, free: 10.73 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.355e-05/0.09896, allocations: 3.984 kB / 383.3 MB, free: 10.73 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.677e-05/0.099, allocations: 8 kB / 383.3 MB, free: 10.72 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.576e-06/0.09901, allocations: 64 / 383.3 MB, free: 10.72 MB / 286.1 MB Notification: Performance of sorting global known variables: time 0.0001368/0.09915, allocations: 140 kB / 383.4 MB, free: 10.59 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.51e-07/0.09916, allocations: 0 / 383.4 MB, free: 10.59 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0003108/0.09947, allocations: 43.91 kB / 383.4 MB, free: 10.54 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 (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.0001676/0.09965, allocations: 95.25 kB / 383.5 MB, free: 10.44 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0002295/0.09989, allocations: 67.91 kB / 383.6 MB, free: 10.38 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 1.643e-06/0.0999, allocations: 4 kB / 383.6 MB, free: 10.37 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 5.536e-05/0.09996, allocations: 19.92 kB / 383.6 MB, free: 10.35 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004219/0.1004, allocations: 19.88 kB / 383.6 MB, free: 10.33 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007051/0.1011, allocations: 298.7 kB / 383.9 MB, free: 10.01 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003409/0.1015, allocations: 0.7081 MB / 384.6 MB, free: 9.277 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 4.975e-05/0.1015, allocations: 4.438 kB / 384.6 MB, free: 9.273 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.336e-05/0.1016, allocations: 15.42 kB / 384.7 MB, free: 9.258 MB / 286.1 MB Notification: Performance of SimCode: time 1.663e-06/0.1016, allocations: 0 / 384.7 MB, free: 9.258 MB / 286.1 MB Notification: Performance of Templates: time 0.003825/0.1054, allocations: 0.9513 MB / 385.6 MB, free: 8.309 MB / 286.1 MB make -j1 -f MEV_MEV.Test.TestSupplyValve.makefile (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)